You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 18, 2022. It is now read-only.
:root {
--vds-font-heading-xxs: normal normal bold normal var(--vds-font-size-heading-xxs)/var(--vds-line-height-heading-xxs) var(--vds-font-family-display);
--vds-font-family-display:'Raleway', Helvetica, Arial, sans-serif;
--vds-font-scale-base:1.6rem;
--vds-font-scale-multiplier:1.25;
--vds-font-size-heading-xxs:var(--vds-font-scale-base);
--vds-line-height-heading-xxs:1.50;
}
an error will occur:
Module build failed (from ./node_modules/postcss-loader/src/index.js):
SyntaxError
(1:1) Unknown word
> 1 | normal normal normal normal var(--vds-font-size-xs)/var(--vds-line-height-xs) var(--vds-font-family-body)
^
Problem
The problem is with var(--vds-font-size-xs)/var(--vds-line-height-xs).
Workaround
Adding space between the variables and slash resolves the issue
:root {
--vds-font-heading-xxs: normal normal bold normal var(--vds-font-size-heading-xxs) /var(--vds-line-height-heading-xxs) var(--vds-font-family-display);
}
The text was updated successfully, but these errors were encountered:
jrschumacher
added a commit
to virtru/virtuoso-design-system
that referenced
this issue
Aug 13, 2020
Issue
When using variables like
an error will occur:
Problem
The problem is with
var(--vds-font-size-xs)/var(--vds-line-height-xs)
.Workaround
Adding space between the variables and slash resolves the issue
The text was updated successfully, but these errors were encountered: