Commit Graph
7 Commits
Author SHA1 Message Date
Robin MalfaitandGitHub aa5bb3f406 Improve CSS output in tests to better reflect reality (#10454)
* drop empty lines when diffing output

* replace expected css with optimized lightningcss output

Lightning CSS generates a more optimal CSS output.

Right now the tests are setup in a way that both the generated css and
expected css are run through `lightningcss` to make sure that the output
is concistent for the `stable` and `oxide` engines. But this also means
that the expected output _could_ be larger (aka not optimized) and still
matches (after it runs through lightningcss).

By replacing this with the more optimal output we achieve a few things:

1. This better reflects reality since we will be using `lightningcss`.
2. This gets rid of unnecessary css.
3. Removed code!
2023-01-31 15:37:49 +01:00
Jordan PittmanandGitHub 2c906d6a20 Split ::backdrop into separate defaults group (#8567)
* Split `::backdrop` into separate defaults group

* Update tests

* Update changelog
2022-06-09 16:26:18 -04:00
Adam WathanandGitHub 248ac6f2bd Add ::backdrop to universal defaults (#8526)
* Add `::backdrop` to universal defaults

* Update changelog
2022-06-06 15:53:08 -04:00
Jordan Pittman cab10757f8 Re-enable new features
This reverts commits 346bcf26a3, 565e480bf6, and 11ff86b4e5.
2022-04-12 14:13:04 -04:00
Jordan PittmanandGitHub 11ff86b4e5 Prep for patch release (#8098)
* Disable backdrop variant

* Disable enabled variant

* Disable border spacing utilities

* Disable text-start/end utilities

* Disable poll option in CLI

* Disable ring color default fn

* Disable dark mode class name customization

* Disable support for `Document` node types

* Disable rgb/hsl fns

* Update tests

* Temporarily disable type generation

* Update changelog
2022-04-12 13:58:57 -04:00
b270278e2d Added border-spacing utility (#7102)
* Added `border-spacing` utility

* Update to base CSS variable approach

Co-authored-by: Jonathan Reinink <[email protected]>
2022-03-04 11:20:23 -05:00
8724eadce8 Change how we handle defaults (optimized or not) (#6926)
Co-authored-by: Adam Wathan <[email protected]>
2022-01-07 11:39:45 -05:00