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.
2 parents 2bc956a + c1bae43 commit f3b2f70Copy full SHA for f3b2f70
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