Skip to content

Commit

Permalink
🔨📦️ Tokens: exclude "cap-rounded"
Browse files Browse the repository at this point in the history
  • Loading branch information
oddvernes committed Jun 13, 2024
1 parent fefbbef commit ac3893a
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 120 deletions.
1 change: 1 addition & 0 deletions packages/eds-tokens-build/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ const includeTokenFilter = (
'padding-centred',
'padding-baselined',
'cap-height',
'cap-rounded',
]
const isExcluded = namesToExclude.some((nameToExclude) =>
token.name.includes(nameToExclude),
Expand Down
20 changes: 0 additions & 20 deletions packages/eds-tokens/build/css/spacing/comfortable.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,79 +44,69 @@
--eds-typography-header-6xl-tracking-loose: var(--eds-type-scale-equinor-1000-tracking-loose);
--eds-typography-header-6xl-tracking-normal: var(--eds-type-scale-equinor-1000-tracking-normal);
--eds-typography-header-6xl-tracking-tight: var(--eds-type-scale-equinor-1000-tracking-tight);
--eds-typography-header-6xl-cap-rounded: 24;
--eds-typography-header-6xl-font-size: var(--eds-type-scale-equinor-1000-font-size);
--eds-typography-header-5xl-font-weight-bolder: 500;
--eds-typography-header-5xl-font-weight-normal: 400;
--eds-typography-header-5xl-font-weight-lighter: 300;
--eds-typography-header-5xl-tracking-loose: var(--eds-type-scale-equinor-900-tracking-loose);
--eds-typography-header-5xl-tracking-normal: var(--eds-type-scale-equinor-900-tracking-normal);
--eds-typography-header-5xl-tracking-tight: var(--eds-type-scale-equinor-900-tracking-tight);
--eds-typography-header-5xl-cap-rounded: 20;
--eds-typography-header-5xl-font-size: var(--eds-type-scale-equinor-900-font-size);
--eds-typography-header-4xl-font-weight-bolder: 500;
--eds-typography-header-4xl-font-weight-normal: 400;
--eds-typography-header-4xl-font-weight-lighter: 300;
--eds-typography-header-4xl-tracking-loose: var(--eds-type-scale-equinor-800-tracking-loose);
--eds-typography-header-4xl-tracking-normal: var(--eds-type-scale-equinor-800-tracking-normal);
--eds-typography-header-4xl-tracking-tight: var(--eds-type-scale-equinor-800-tracking-tight);
--eds-typography-header-4xl-cap-rounded: 20;
--eds-typography-header-4xl-font-size: var(--eds-type-scale-equinor-800-font-size);
--eds-typography-header-3xl-font-weight-bolder: 500;
--eds-typography-header-3xl-font-weight-normal: 400;
--eds-typography-header-3xl-font-weight-lighter: 300;
--eds-typography-header-3xl-tracking-loose: var(--eds-type-scale-equinor-700-tracking-loose);
--eds-typography-header-3xl-tracking-normal: var(--eds-type-scale-equinor-700-tracking-normal);
--eds-typography-header-3xl-tracking-tight: var(--eds-type-scale-equinor-700-tracking-tight);
--eds-typography-header-3xl-cap-rounded: 16;
--eds-typography-header-3xl-font-size: var(--eds-type-scale-equinor-700-font-size);
--eds-typography-header-2xl-font-weight-bolder: 500;
--eds-typography-header-2xl-font-weight-normal: 400;
--eds-typography-header-2xl-font-weight-lighter: 300;
--eds-typography-header-2xl-tracking-loose: var(--eds-type-scale-equinor-600-tracking-loose);
--eds-typography-header-2xl-tracking-normal: var(--eds-type-scale-equinor-600-tracking-normal);
--eds-typography-header-2xl-tracking-tight: var(--eds-type-scale-equinor-600-tracking-tight);
--eds-typography-header-2xl-cap-rounded: 12;
--eds-typography-header-2xl-font-size: var(--eds-type-scale-equinor-600-font-size);
--eds-typography-header-xl-font-weight-bolder: 500;
--eds-typography-header-xl-font-weight-normal: 400;
--eds-typography-header-xl-font-weight-lighter: 300;
--eds-typography-header-xl-tracking-loose: var(--eds-type-scale-equinor-500-tracking-loose);
--eds-typography-header-xl-tracking-normal: var(--eds-type-scale-equinor-500-tracking-normal);
--eds-typography-header-xl-tracking-tight: var(--eds-type-scale-equinor-500-tracking-tight);
--eds-typography-header-xl-cap-rounded: 12;
--eds-typography-header-xl-font-size: var(--eds-type-scale-equinor-500-font-size);
--eds-typography-header-lg-font-weight-bolder: 500;
--eds-typography-header-lg-font-weight-normal: 400;
--eds-typography-header-lg-font-weight-lighter: 300;
--eds-typography-header-lg-tracking-loose: var(--eds-type-scale-equinor-400-tracking-loose);
--eds-typography-header-lg-tracking-normal: var(--eds-type-scale-equinor-400-tracking-normal);
--eds-typography-header-lg-tracking-tight: var(--eds-type-scale-equinor-400-tracking-tight);
--eds-typography-header-lg-cap-rounded: 12;
--eds-typography-header-lg-font-size: var(--eds-type-scale-equinor-400-font-size);
--eds-typography-header-md-font-weight-bolder: 500;
--eds-typography-header-md-font-weight-normal: 400;
--eds-typography-header-md-font-weight-lighter: 300;
--eds-typography-header-md-tracking-loose: var(--eds-type-scale-equinor-300-tracking-loose);
--eds-typography-header-md-tracking-normal: var(--eds-type-scale-equinor-300-tracking-normal);
--eds-typography-header-md-tracking-tight: var(--eds-type-scale-equinor-300-tracking-tight);
--eds-typography-header-md-cap-rounded: 8;
--eds-typography-header-md-font-size: var(--eds-type-scale-equinor-300-font-size);
--eds-typography-header-sm-font-weight-bolder: 500;
--eds-typography-header-sm-font-weight-normal: 400;
--eds-typography-header-sm-font-weight-lighter: 300;
--eds-typography-header-sm-tracking-loose: var(--eds-type-scale-equinor-200-tracking-loose);
--eds-typography-header-sm-tracking-normal: var(--eds-type-scale-equinor-200-tracking-normal);
--eds-typography-header-sm-tracking-tight: var(--eds-type-scale-equinor-200-tracking-tight);
--eds-typography-header-sm-cap-rounded: 8;
--eds-typography-header-sm-font-size: var(--eds-type-scale-equinor-200-font-size);
--eds-typography-header-xs-font-weight-bolder: 500;
--eds-typography-header-xs-font-weight-normal: 400;
--eds-typography-header-xs-font-weight-lighter: 300;
--eds-typography-header-xs-tracking-loose: var(--eds-type-scale-equinor-100-tracking-loose);
--eds-typography-header-xs-tracking-normal: var(--eds-type-scale-equinor-100-tracking-normal);
--eds-typography-header-xs-tracking-tight: var(--eds-type-scale-equinor-100-tracking-tight);
--eds-typography-header-xs-cap-rounded: 8;
--eds-typography-header-xs-font-size: var(--eds-type-scale-equinor-100-font-size);
--eds-typography-header-font-family: var(--eds-font-family-equinor);
--eds-typography-ui-body-6xl-font-weight-bolder: 500;
Expand All @@ -125,63 +115,55 @@
--eds-typography-ui-body-6xl-tracking-loose: var(--eds-type-scale-inter-1000-tracking-loose);
--eds-typography-ui-body-6xl-tracking-normal: var(--eds-type-scale-inter-1000-tracking-normal);
--eds-typography-ui-body-6xl-tracking-tight: var(--eds-type-scale-inter-1000-tracking-tight);
--eds-typography-ui-body-6xl-cap-rounded: 24;
--eds-typography-ui-body-6xl-font-size: var(--eds-type-scale-inter-1000-font-size);
--eds-typography-ui-body-5xl-font-weight-bolder: 500;
--eds-typography-ui-body-5xl-font-weight-normal: 400;
--eds-typography-ui-body-5xl-font-weight-lighter: 300;
--eds-typography-ui-body-5xl-tracking-loose: var(--eds-type-scale-inter-900-tracking-loose);
--eds-typography-ui-body-5xl-tracking-normal: var(--eds-type-scale-inter-900-tracking-normal);
--eds-typography-ui-body-5xl-tracking-tight: var(--eds-type-scale-inter-900-tracking-tight);
--eds-typography-ui-body-5xl-cap-rounded: 20;
--eds-typography-ui-body-5xl-font-size: var(--eds-type-scale-inter-900-font-size);
--eds-typography-ui-body-4xl-font-weight-bolder: 500;
--eds-typography-ui-body-4xl-font-weight-normal: 400;
--eds-typography-ui-body-4xl-font-weight-lighter: 300;
--eds-typography-ui-body-4xl-tracking-loose: var(--eds-type-scale-inter-800-tracking-loose);
--eds-typography-ui-body-4xl-tracking-normal: var(--eds-type-scale-inter-800-tracking-normal);
--eds-typography-ui-body-4xl-tracking-tight: var(--eds-type-scale-inter-800-tracking-tight);
--eds-typography-ui-body-4xl-cap-rounded: 16;
--eds-typography-ui-body-4xl-font-size: var(--eds-type-scale-inter-800-font-size);
--eds-typography-ui-body-3xl-font-weight-bolder: 500;
--eds-typography-ui-body-3xl-font-weight-normal: 400;
--eds-typography-ui-body-3xl-font-weight-lighter: 300;
--eds-typography-ui-body-3xl-tracking-loose: var(--eds-type-scale-inter-700-tracking-loose);
--eds-typography-ui-body-3xl-tracking-normal: var(--eds-type-scale-inter-700-tracking-normal);
--eds-typography-ui-body-3xl-tracking-tight: var(--eds-type-scale-inter-700-tracking-tight);
--eds-typography-ui-body-3xl-cap-rounded: 16;
--eds-typography-ui-body-3xl-font-size: var(--eds-type-scale-inter-700-font-size);
--eds-typography-ui-body-2xl-font-weight-bolder: 500;
--eds-typography-ui-body-2xl-font-weight-normal: 400;
--eds-typography-ui-body-2xl-font-weight-lighter: 300;
--eds-typography-ui-body-2xl-tracking-loose: var(--eds-type-scale-inter-600-tracking-loose);
--eds-typography-ui-body-2xl-tracking-normal: var(--eds-type-scale-inter-600-tracking-normal);
--eds-typography-ui-body-2xl-tracking-tight: var(--eds-type-scale-inter-600-tracking-tight);
--eds-typography-ui-body-2xl-cap-rounded: 12;
--eds-typography-ui-body-2xl-font-size: var(--eds-type-scale-inter-600-font-size);
--eds-typography-ui-body-xl-font-weight-bolder: 500;
--eds-typography-ui-body-xl-font-weight-normal: 400;
--eds-typography-ui-body-xl-font-weight-lighter: 300;
--eds-typography-ui-body-xl-tracking-loose: var(--eds-type-scale-inter-500-tracking-loose);
--eds-typography-ui-body-xl-tracking-normal: var(--eds-type-scale-inter-500-tracking-normal);
--eds-typography-ui-body-xl-tracking-tight: var(--eds-type-scale-inter-500-tracking-tight);
--eds-typography-ui-body-xl-cap-rounded: 12;
--eds-typography-ui-body-xl-font-size: var(--eds-type-scale-inter-500-font-size);
--eds-typography-ui-body-lg-font-weight-bolder: 500;
--eds-typography-ui-body-lg-font-weight-normal: 400;
--eds-typography-ui-body-lg-font-weight-lighter: 300;
--eds-typography-ui-body-lg-tracking-loose: var(--eds-type-scale-inter-400-tracking-loose);
--eds-typography-ui-body-lg-tracking-normal: var(--eds-type-scale-inter-400-tracking-normal);
--eds-typography-ui-body-lg-tracking-tight: var(--eds-type-scale-inter-400-tracking-tight);
--eds-typography-ui-body-lg-cap-rounded: 12;
--eds-typography-ui-body-lg-font-size: var(--eds-type-scale-inter-400-font-size);
--eds-typography-ui-body-md-font-weight-bolder: 500;
--eds-typography-ui-body-md-font-weight-normal: 400;
--eds-typography-ui-body-md-font-weight-lighter: 300;
--eds-typography-ui-body-md-tracking-loose: var(--eds-type-scale-inter-300-tracking-loose);
--eds-typography-ui-body-md-tracking-normal: var(--eds-type-scale-inter-300-tracking-normal);
--eds-typography-ui-body-md-tracking-tight: var(--eds-type-scale-inter-300-tracking-tight);
--eds-typography-ui-body-md-cap-rounded: 8;
--eds-typography-ui-body-md-font-size: var(--eds-type-scale-inter-300-font-size);
--eds-typography-ui-body-font-family: var(--eds-font-family-inter);
--eds-typography-ui-body-sm-font-weight-bolder: 500;
Expand All @@ -190,15 +172,13 @@
--eds-typography-ui-body-sm-tracking-loose: var(--eds-type-scale-inter-200-tracking-loose);
--eds-typography-ui-body-sm-tracking-normal: var(--eds-type-scale-inter-200-tracking-normal);
--eds-typography-ui-body-sm-tracking-tight: var(--eds-type-scale-inter-200-tracking-tight);
--eds-typography-ui-body-sm-cap-rounded: 8;
--eds-typography-ui-body-sm-font-size: var(--eds-type-scale-inter-200-font-size);
--eds-typography-ui-body-xs-font-weight-bolder: 500;
--eds-typography-ui-body-xs-font-weight-normal: 400;
--eds-typography-ui-body-xs-font-weight-lighter: 300;
--eds-typography-ui-body-xs-tracking-loose: var(--eds-type-scale-inter-100-tracking-loose);
--eds-typography-ui-body-xs-tracking-normal: var(--eds-type-scale-inter-100-tracking-normal);
--eds-typography-ui-body-xs-tracking-tight: var(--eds-type-scale-inter-100-tracking-tight);
--eds-typography-ui-body-xs-cap-rounded: 8;
--eds-typography-ui-body-xs-font-size: var(--eds-type-scale-inter-100-font-size);
--eds-sizing-selectable-2xl: var(--eds-spacing-275);
--eds-sizing-selectable-xl: var(--eds-spacing-275);
Expand Down
Loading

0 comments on commit ac3893a

Please sign in to comment.