Commit Graph

207 Commits

Author SHA1 Message Date
Christophe Coevoet
71df892b8c
Remove duplicate section in proposal (#3857) 2024-05-02 20:26:34 +00:00
Natalie Weizenbaum
28b17d89de
[Interleaved Declarations] Add a proposal (#3848)
See #3846
2024-04-30 21:35:23 +00:00
Natalie Weizenbaum
d3ed8dfc72
[CSS Function/Mixin Prep] Mark as accepted and update spec (#3854) 2024-04-30 21:19:57 +00:00
Natalie Weizenbaum
b888b3be25 Add a proposal to make room for plain-CSS functions and mixins
See #3787
2024-04-26 16:06:10 -07:00
Natalie Weizenbaum
c0c25d5c28
[Color 4] Mark the proposals as accepted (#3833)
Although these are still in flux (largely due to CSS changing under
our feet to some degree), it's been almost two years since we put them
out for review initially so I think it's fair to say that the core
principles are solid.

See #2831
2024-04-11 22:14:15 +00:00
Christophe Coevoet
7641a7eccd
Mark the "Remove feature-exists" proposal as accepted (#3828) 2024-04-08 22:34:52 +00:00
Natalie Weizenbaum
b1bb270ede [Color 4] Convert negative s/c polar colors to positive equivalents 2024-03-27 13:23:19 -07:00
Natalie Weizenbaum
075c796c7b [Color 4] Allow more flexibility for out-of-bounds clamped channels 2024-03-27 13:23:19 -07:00
Natalie Weizenbaum
89b3581cf4 [Color 4] Clarify color.change/adjust/scale error behavior 2024-03-27 13:23:19 -07:00
Natalie Weizenbaum
d6c0135d0e [Color 4] Add channel clamping to color.adjust() 2024-03-27 13:23:19 -07:00
Natalie Weizenbaum
b8f3b7dd30 [Color 4] Remove outdated powerless definitions 2024-03-27 13:23:19 -07:00
Natalie Weizenbaum
042521d508
Update the changelog for #3741 (#3818) 2024-03-27 20:22:11 +00:00
Natalie Weizenbaum
e27547c846 Only clamp channels on color creation (#3741)
Closes #3737

Co-authored-by: Christophe Coevoet <stof@notk.org>
2024-03-27 11:43:25 -07:00
Natalie Weizenbaum
9343edb3df [Plain CSS Nesting] Mark as accepted (#3813)
This also updates the draft so that

```scss
a {
  @include meta.load-css("plain.css");
}
```

only generates plain CSS nesting if `plain.css` contained nesting.
2024-03-27 11:43:24 -07:00
James Stuckey Weber
336bfd69b2 [Package Importer] Add types and specs (#3728)
Co-authored-by: Jonny Gerig Meyer <jonny@oddbird.net>
2024-03-27 11:43:24 -07:00
James Stuckey Weber
fe089c37e1 [Package Importer] Draft 1.5 (#3777)
* Specify no throws for package importer misses

* Reject to throw error

* Specify throw if no entry point

* Fix whitespace
2024-03-27 11:43:24 -07:00
James Stuckey Weber
de2dc317c0 [Shared Resources] Add types and specs (#3744)
Co-authored-by: Jonny Gerig Meyer <jonny@oddbird.net>
2024-03-27 11:43:24 -07:00
Christophe Coevoet
327b995cae Improve markup for the feature-exists removal proposal (#3775) 2024-03-27 11:43:24 -07:00
Christophe Coevoet
0e70553972 Proposal: deprecate and remove feature-exists (#3749) 2024-03-27 11:43:24 -07:00
James Stuckey Weber
58983868f1 [Package Importer] Draft 1.4 changes (#3748) 2024-03-27 11:43:24 -07:00
James Stuckey Weber
d438364cd4 [Shared Resources] Draft 1.3 (#3766) 2024-03-27 11:43:24 -07:00
Ed Rivas
308fa12a8c [Shared Resources] Draft 1.2 (#3745) 2024-03-27 11:43:24 -07:00
Jonny Gerig Meyer
9a685ec506 [Color 4] Draft 1.6 changes for Color Spaces JS API (#3740) 2024-03-27 11:43:24 -07:00
Jonny Gerig Meyer
d9a2ff4713 Clarify that deprecated getters convert color to a legacy space before returning channel value. (#3736) 2024-03-27 11:43:24 -07:00
James Stuckey Weber
55969c0160 Handle empty subpath in exports (#3735) 2024-03-27 11:43:24 -07:00
James Stuckey Weber
1030e1cd86 Package importer draft 1.2 (#3729) 2024-03-27 11:43:24 -07:00
James Stuckey Weber
f54e4924e5 [Color 4] Draft 1.4 changes for Color Spaces JS API (#3723)
Co-authored-by: Jonny Gerig Meyer <jonny@oddbird.net>
2024-03-27 11:43:24 -07:00
James Stuckey Weber
f53e6f2273 Remove return value from dispose (#3725) 2024-03-27 11:43:23 -07:00
James Stuckey Weber
dab4a77e05 Proposal: Compiler interface for shared resources (#3719) 2024-03-27 11:43:23 -07:00
Jonny Gerig Meyer
a63a4ba9b4 [Color 4] Draft 1.3 changes for Color spaces JS API (#3721) 2024-03-27 11:43:23 -07:00
James Stuckey Weber
517a7b007b [Color 4] Draft 1.2 changes for Color spaces JS API (#3709) 2024-03-27 11:43:23 -07:00
James Stuckey Weber
50feffd28e
Draft 1.1 changes for Color spaces JS API (#3704)
Co-authored-by: Jonny Gerig Meyer <jonny@oddbird.net>
2023-10-03 22:34:22 +00:00
Christophe Coevoet
83a9b01364
Add support for the relative color syntax from CSS Color 5 (#3676)
When using the relative color syntax, the color function is emitted as a
CSS function (similar to cases using a CSS variable in arguments).
2023-09-29 20:29:19 +00:00
James Stuckey Weber
eb5117cf99
Package Importer updates (#3699) 2023-09-28 22:43:24 +00:00
Natalie Weizenbaum
8192ca4c1c
[Color 4] Properly scale % values for color.channel() (#3700) 2023-09-27 20:56:27 +00:00
Natalie Weizenbaum
0426b7069b
[Color 4] Explicitly define associated units for color channels (#3696)
"The associated unit" was referenced several times in the spec, most
notably for when to add a unit for `color.channel()`, but wasn't
explicitly defined anywhere. This is potentially ambiguous because any
linear channel can be defined using a percent or a unitless number,
but different ones are conventionally referred to as either one or the
other.
2023-09-26 20:58:24 +00:00
Jonny Gerig Meyer
aa02c37bf4
Fix broken/missing links in Color Level 4 JS and Package Importer specs. (#3698)
Co-authored-by: James Stuckey Weber <jamesnw@gmail.com>
2023-09-26 20:36:59 +00:00
James Stuckey Weber
d6c7d941d2
Proposal: Package Importer and built-in Node implementation (#3660)
Co-authored-by: Jonny Gerig Meyer <jonny@oddbird.net>
Co-authored-by: Ed Rivas <ed@oddbird.net>
Co-authored-by: Ed Rivas <ed@jerivas.com>
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2023-09-22 23:09:36 +00:00
Natalie Weizenbaum
32164e93b7
[Colors 4] Require quoted strings for color.is-missing() (#3695)
See #2831
2023-09-22 22:52:53 +00:00
James Stuckey Weber
be336c6291
Proposal: Add New Color Spaces to JS API (#3665) 2023-09-21 00:41:58 +00:00
Natalie Weizenbaum
76696f86b8
[First-Class Mixins] Mark as accepted (#3680)
See #626
2023-09-07 18:44:14 -07:00
Natalie Weizenbaum
1523bffb36
Add a Markdown linter (#3667) 2023-08-22 21:10:27 +00:00
Natalie Weizenbaum
d874ddbaf3
[Color 4] Resolve missing alpha channels after premultiplying colors (#3642) 2023-08-21 16:46:42 -07:00
Connor Skees
dbc41b62c9
[First-Class Mixins] Create a proposal (#3626)
See #626
2023-07-28 13:41:27 -07:00
Natalie Weizenbaum
165757795b
[Color 4] Clarify in Known Color Spaces that lightness is clamped (#3639) 2023-07-27 14:38:35 -07:00
Natalie Weizenbaum
f61b9165c3
[Containing URL] Mark as accepted (#3620)
See #3247
2023-06-21 20:31:20 +00:00
Natalie Weizenbaum
14590c7940
[Previous URL] Expand to embedded protocol and filesystem importers (#3609)
This updates the embedded protocol to support the proposal and adds
support for passing the previous URL to filesystem importers.
2023-06-20 15:57:35 -07:00
Natalie Weizenbaum
11cd902484
[Ordered Comments] Mark as accepted (#3604) 2023-06-06 17:01:54 -07:00
Natalie Weizenbaum
7ca570af93
[Embedded Protocol 2] Mark as accepted (#3598)
See #3579, #3575, #3577
2023-05-30 17:24:51 -07:00
なつき
db5931d915
Fix a typo (#3594) 2023-05-30 13:46:15 -07:00