Skip to content

Commit

Permalink
🐛fix eds/font/quote transformer
Browse files Browse the repository at this point in the history
  • Loading branch information
oddvernes committed Jun 3, 2024
1 parent 46a9de9 commit b290a40
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/eds-tokens-build/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ StyleDictionary.registerTransform({

StyleDictionary.registerTransform({
type: `value`,
transitive: true,
transitive: false,
name: `eds/font/quote`,
matcher: (token) => {
const isFontMetricInString =
Expand Down
6 changes: 3 additions & 3 deletions packages/eds-tokens/build/css/spacing/comfortable.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
--eds-typography-header-sm-padding-baselined: 1;
--eds-typography-header-sm-padding-centred: 0.5;
--eds-typography-header-sm-font-size: 10.5;
--eds-typography-header-font-family: "var(--eds-font-family-equinor)";
--eds-typography-header-font-family: var(--eds-font-family-equinor);
--eds-typography-header-xs-font-weight-bolder: 500;
--eds-typography-header-xs-font-weight-normal: 400;
--eds-typography-header-xs-font-weight-lighter: 300;
Expand Down Expand Up @@ -107,7 +107,7 @@
--eds-typography-ui-body-static-xs-padding-baselined: 0;
--eds-typography-ui-body-static-xs-padding-centred: 0;
--eds-typography-ui-body-static-xs-font-size: 10.5;
--eds-typography-ui-body-static-font-family: "var(--eds-font-family-inter)";
--eds-typography-ui-body-static-font-family: var(--eds-font-family-inter);
--eds-typography-ui-body-dynamic-xl-font-weight-bolder: 500;
--eds-typography-ui-body-dynamic-xl-font-weight-normal: 400;
--eds-typography-ui-body-dynamic-xl-font-weight-lighter: 300;
Expand Down Expand Up @@ -138,7 +138,7 @@
--eds-typography-ui-body-dynamic-md-padding-baselined: -1;
--eds-typography-ui-body-dynamic-md-padding-centred: -0.5;
--eds-typography-ui-body-dynamic-md-font-size: 12;
--eds-typography-ui-body-dynamic-font-family: "var(--eds-font-family-inter)";
--eds-typography-ui-body-dynamic-font-family: var(--eds-font-family-inter);
--eds-typography-ui-body-dynamic-sm-font-weight-bolder: 500;
--eds-typography-ui-body-dynamic-sm-font-weight-normal: 400;
--eds-typography-ui-body-dynamic-sm-font-weight-lighter: 300;
Expand Down
6 changes: 3 additions & 3 deletions packages/eds-tokens/build/css/spacing/compact.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
--eds-typography-header-sm-padding-baselined: 2;
--eds-typography-header-sm-padding-centred: 1;
--eds-typography-header-sm-font-size: 9;
--eds-typography-header-font-family: "var(--eds-font-family-equinor)";
--eds-typography-header-font-family: var(--eds-font-family-equinor);
--eds-typography-header-xs-font-weight-bolder: 500;
--eds-typography-header-xs-font-weight-normal: 400;
--eds-typography-header-xs-font-weight-lighter: 300;
Expand Down Expand Up @@ -107,7 +107,7 @@
--eds-typography-ui-body-static-xs-padding-baselined: 0;
--eds-typography-ui-body-static-xs-padding-centred: 0;
--eds-typography-ui-body-static-xs-font-size: 10.5;
--eds-typography-ui-body-static-font-family: "var(--eds-font-family-inter)";
--eds-typography-ui-body-static-font-family: var(--eds-font-family-inter);
--eds-typography-ui-body-dynamic-xl-font-weight-bolder: 500;
--eds-typography-ui-body-dynamic-xl-font-weight-normal: 400;
--eds-typography-ui-body-dynamic-xl-font-weight-lighter: 300;
Expand Down Expand Up @@ -138,7 +138,7 @@
--eds-typography-ui-body-dynamic-md-padding-baselined: 0;
--eds-typography-ui-body-dynamic-md-padding-centred: 0;
--eds-typography-ui-body-dynamic-md-font-size: 10.5;
--eds-typography-ui-body-dynamic-font-family: "var(--eds-font-family-inter)";
--eds-typography-ui-body-dynamic-font-family: var(--eds-font-family-inter);
--eds-typography-ui-body-dynamic-sm-font-weight-bolder: 500;
--eds-typography-ui-body-dynamic-sm-font-weight-normal: 400;
--eds-typography-ui-body-dynamic-sm-font-weight-lighter: 300;
Expand Down
6 changes: 3 additions & 3 deletions packages/eds-tokens/build/css/spacing/spacious.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
--eds-typography-header-sm-padding-baselined: 0;
--eds-typography-header-sm-padding-centred: 0;
--eds-typography-header-sm-font-size: 12;
--eds-typography-header-font-family: "var(--eds-font-family-equinor)";
--eds-typography-header-font-family: var(--eds-font-family-equinor);
--eds-typography-header-xs-font-weight-bolder: 500;
--eds-typography-header-xs-font-weight-normal: 400;
--eds-typography-header-xs-font-weight-lighter: 300;
Expand Down Expand Up @@ -110,7 +110,7 @@
--eds-typography-ui-body-static-xs-padding-baselined: 0;
--eds-typography-ui-body-static-xs-padding-centred: 0;
--eds-typography-ui-body-static-xs-font-size: 10.5;
--eds-typography-ui-body-static-font-family: "var(--eds-font-family-inter)";
--eds-typography-ui-body-static-font-family: var(--eds-font-family-inter);
--eds-typography-ui-body-dynamic-xl-font-weight-bolder: 500;
--eds-typography-ui-body-dynamic-xl-font-weight-normal: 400;
--eds-typography-ui-body-dynamic-xl-font-weight-lighter: 300;
Expand Down Expand Up @@ -141,7 +141,7 @@
--eds-typography-ui-body-dynamic-md-padding-baselined: 2;
--eds-typography-ui-body-dynamic-md-padding-centred: 1;
--eds-typography-ui-body-dynamic-md-font-size: 14;
--eds-typography-ui-body-dynamic-font-family: "var(--eds-font-family-inter)";
--eds-typography-ui-body-dynamic-font-family: var(--eds-font-family-inter);
--eds-typography-ui-body-dynamic-sm-font-weight-bolder: 500;
--eds-typography-ui-body-dynamic-sm-font-weight-normal: 400;
--eds-typography-ui-body-dynamic-sm-font-weight-lighter: 300;
Expand Down

0 comments on commit b290a40

Please sign in to comment.