Skip to content

Conversation

@lokesh
Copy link
Collaborator

@lokesh lokesh commented Jan 12, 2026

Checks of an item from #11687

Technical

Added a build script (scripts/generate-css-custom-properties.js) that generates CSS custom properties from all LESS variables in static/css/less/ (e.g., @primary-blue--primary-blue).

This enables gradual migration from LESS variables to CSS custom properties.

Testing

  1. Run node scripts/generate-css-custom-properties.js or make css
  2. Verify static/css/less/generated-custom-properties.css is generated with all LESS variables as CSS custom properties

Screenshot

N/A (build tooling only)

Stakeholders

@cdrini @mekarpeles @jimchamp @RayBB

@lokesh lokesh requested a review from cdrini January 12, 2026 19:38
@lokesh lokesh self-assigned this Jan 12, 2026
@lokesh lokesh requested a review from RayBB January 14, 2026 00:05
Copy link
Collaborator

@RayBB RayBB left a comment

Choose a reason for hiding this comment

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

After reading the comment in the original issue I think this is good to go.

I thought we might want to add this to auto run in CI but I don't think that's needed as it's okay for it to be out of sync sometimes.

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.

2 participants