Add emphatic color variable and set up scoped based overrides for core variables

This commit is contained in:
Carlos Fernandez 2026-05-26 02:18:34 -04:00
parent e529dd0f88
commit 475b8bd149
36 changed files with 86 additions and 71 deletions

View file

@ -83,8 +83,21 @@
--gradient-stress: linear-gradient(15deg, rgb(130, 59, 1) 0%, rgb(252, 142, 69) 65%, rgb(190, 0, 0) 100%);
--primary-color-fear: rgba(9, 71, 179, 0.75);
}
--dh-color-text-subtle: light-dark(#555, #a29086);
@scope (.theme-light) to (.themed) {
.dh-style,
.duality {
--color-text-emphatic: @dark-blue;
--color-text-subtle: #555;
}
}
@scope (.theme-dark) to (.themed) {
.dh-style,
.duality {
--color-text-emphatic: @golden;
--color-text-subtle: #a29086;
}
}
@primary-blue: var(--primary-blue, #1488cc);
@ -193,4 +206,7 @@
}
}
@color-text-subtle: var(--dh-color-text-subtle);
// LESS variable versions of core foundry color variables
@color-text-emphatic: var(--color-text-emphatic);
@color-text-primary: var(--color-text-primary);
@color-text-subtle: var(--color-text-subtle);