Skip to content

Conversation

@RobinMalfait
Copy link
Member

@RobinMalfait RobinMalfait commented Jan 9, 2025

This PR makes sure that the --theme(…) CSS function can only be used with the modern syntax. For backwards compatibility, the theme(…) function must be used with the older dot notation.

@RobinMalfait RobinMalfait force-pushed the feat/improve-css-functions branch from 3b1284b to 29c4137 Compare January 9, 2025 16:16
@RobinMalfait RobinMalfait marked this pull request as ready for review January 9, 2025 16:19
@RobinMalfait RobinMalfait requested a review from a team as a code owner January 9, 2025 16:19
Let's not allow old dot-notation, `--theme(colors.red.500)` should
error. Even though we can make it works, we want to nudge people in
using the new/modern syntax.
@RobinMalfait RobinMalfait force-pushed the feat/improve-css-functions branch from 29c4137 to 3669437 Compare January 9, 2025 16:19
@RobinMalfait RobinMalfait enabled auto-merge (squash) January 9, 2025 16:20
@RobinMalfait RobinMalfait merged commit fa2c83e into next Jan 9, 2025
5 checks passed
@RobinMalfait RobinMalfait deleted the feat/improve-css-functions branch January 9, 2025 16:25
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