We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bc956a commit c1bae43Copy full SHA for c1bae43
src/core/sass/brand.ts
@@ -422,8 +422,12 @@ const brandTypographyBundle = (
422
const source = variable[0];
423
const target = variable[1];
424
if (fontInformation[source]) {
425
+ let value = fontInformation[source];
426
+ if (["color", "background-color"].includes(source)) {
427
+ value = brand.getColor(value as string);
428
+ }
429
typographyVariables.push(
- `$${target}: ${fontInformation[source]} !default;`,
430
+ `$${target}: ${value} !default;`,
431
);
432
}
433
0 commit comments