Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS Fixes: light dark, color down-leveling bugs, implement minify for box-shadow #17055

Merged
merged 3 commits into from
Feb 5, 2025

Conversation

zackradisic
Copy link
Member

What does this PR do?

  • Fixes bugs related to light-dark and color-scheme
  • Fixes various bugs related to downleveling colors
  • Minify box-shadow
  • Add more tests

@robobun
Copy link

robobun commented Feb 5, 2025

Updated 4:58 PM PT - Feb 4th, 2025

@zackradisic, your commit aae39c0 has 4 failures in Build #11095:


🧪   try this PR locally:

bunx bun-pr 17055

@@ -171,7 +175,7 @@ pub const PropertyHandlerContext = struct {
.feature = MediaFeature{
.plain = .{
.name = .{ .standard = MediaFeatureId.@"prefers-color-scheme" },
.value = .{ .ident = .{ .v = "dark " } },
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol

@@ -6754,7 +6923,7 @@ describe("css tests", () => {
".foo{transform:matrix3d(1,0,0,0,0,1,6,0,0,0,1,0,50,100,0,1.1)}",
);
// TODO: Re-enable with a better solution
// See: https://github.com/parcel-bundler/lightningcss/issues/288
// See: https://github.com/parcel-bundler/buncss/issues/288
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol

Copy link
Collaborator

@Jarred-Sumner Jarred-Sumner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's merge after CI runs

@Jarred-Sumner Jarred-Sumner merged commit dcf0b71 into main Feb 5, 2025
65 of 69 checks passed
@Jarred-Sumner Jarred-Sumner deleted the zack/css-light-dark branch February 5, 2025 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants