Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

[Feat] Provide color values for deeply nested css variables #104

@phoenisx

Description

@phoenisx

Is your feature request related to a problem? Please describe.
Example CSS file:

* {
  --brand-hue: 0;

  --brand-dark1: hsl(var(--brand-hue), 0, 20%);
  --brand-dark2: hsl(var(--brand-hue), 0, 10%);

  --brand-light1: hsl(var(--brand-hue), 0, 90%);
  --brand-light2: hsl(var(--brand-hue), 0, 80%);
}

[color-scheme="light"] {
  --brand: var(--brand-light1);
  --brand-dark: var(--brand-light2);
}


[color-scheme="dark"] {
  --brand: var(--brand-dark1);
  --brand-dark: var(--brand-dark2);
}

Describe the solution you'd like
Color for --brand CSS property is not getting parsed.

Current Expected
image image

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions