diff --git a/packages/eds-tokens-build/src/index.ts b/packages/eds-tokens-build/src/index.ts index 3e5e8cb1be..1c4475b8de 100644 --- a/packages/eds-tokens-build/src/index.ts +++ b/packages/eds-tokens-build/src/index.ts @@ -141,7 +141,7 @@ StyleDictionary.registerTransform({ StyleDictionary.registerTransform({ type: `value`, - transitive: true, + transitive: false, name: `eds/font/quote`, matcher: (token) => { const isFontMetricInString = diff --git a/packages/eds-tokens/build/css/spacing/comfortable.css b/packages/eds-tokens/build/css/spacing/comfortable.css index 264e54c2d9..036f9e294d 100644 --- a/packages/eds-tokens/build/css/spacing/comfortable.css +++ b/packages/eds-tokens/build/css/spacing/comfortable.css @@ -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; @@ -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; @@ -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; diff --git a/packages/eds-tokens/build/css/spacing/compact.css b/packages/eds-tokens/build/css/spacing/compact.css index 5e7bc690e3..008eaef19b 100644 --- a/packages/eds-tokens/build/css/spacing/compact.css +++ b/packages/eds-tokens/build/css/spacing/compact.css @@ -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; @@ -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; @@ -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; diff --git a/packages/eds-tokens/build/css/spacing/spacious.css b/packages/eds-tokens/build/css/spacing/spacious.css index 1935a64a0a..131788c58e 100644 --- a/packages/eds-tokens/build/css/spacing/spacious.css +++ b/packages/eds-tokens/build/css/spacing/spacious.css @@ -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; @@ -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; @@ -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;