@amsterdam/design-system-tokens 3.0.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/README.md +45 -1
- package/build.js +25 -35
- package/dist/compact.css +2 -2
- package/dist/compact.d.ts +3 -3
- package/dist/compact.mjs +2 -2
- package/dist/compact.scss +2 -2
- package/dist/compact.theme.css +2 -2
- package/dist/index.css +118 -47
- package/dist/index.d.ts +174 -9
- package/dist/index.json +197 -32
- package/dist/index.mjs +176 -70
- package/dist/index.scss +118 -47
- package/dist/index.theme.css +118 -47
- package/package.json +2 -2
- package/src/brand/ams/aspect-ratio.tokens.json +18 -6
- package/src/brand/ams/border.compact.tokens.json +36 -4
- package/src/brand/ams/border.tokens.json +36 -4
- package/src/brand/ams/color.deprecated.tokens.json +3 -2
- package/src/brand/ams/color.tokens.json +106 -23
- package/src/brand/ams/cursor.tokens.json +6 -2
- package/src/brand/ams/focus.tokens.json +10 -1
- package/src/brand/ams/space.compact.tokens.json +30 -6
- package/src/brand/ams/space.tokens.json +24 -6
- package/src/brand/ams/typography.compact.tokens.json +110 -18
- package/src/brand/ams/typography.deprecated.compact.tokens.json +10 -4
- package/src/brand/ams/typography.deprecated.tokens.json +20 -8
- package/src/brand/ams/typography.tokens.json +131 -24
- package/src/common/ams/inputs.tokens.json +121 -18
- package/src/common/ams/links.tokens.json +72 -12
- package/src/components/ams/accordion.deprecated.tokens.json +29 -7
- package/src/components/ams/accordion.tokens.json +46 -8
- package/src/components/ams/action-group.tokens.json +7 -1
- package/src/components/ams/alert.tokens.json +83 -16
- package/src/components/ams/avatar.tokens.json +139 -31
- package/src/components/ams/badge.tokens.json +98 -21
- package/src/components/ams/blockquote.tokens.json +28 -6
- package/src/components/ams/breadcrumb.tokens.json +68 -15
- package/src/components/ams/button.tokens.json +176 -34
- package/src/components/ams/call-to-action-link.tokens.json +73 -14
- package/src/components/ams/card.tokens.json +60 -11
- package/src/components/ams/character-count.tokens.json +28 -6
- package/src/components/ams/checkbox.deprecated.tokens.json +23 -7
- package/src/components/ams/checkbox.tokens.json +154 -36
- package/src/components/ams/column.tokens.json +35 -5
- package/src/components/ams/date-input.deprecated.tokens.json +14 -8
- package/src/components/ams/date-input.tokens.json +92 -25
- package/src/components/ams/description-list.tokens.json +86 -13
- package/src/components/ams/dialog.tokens.json +144 -23
- package/src/components/ams/error-message.tokens.json +31 -6
- package/src/components/ams/field-set.deprecated.tokens.json +8 -1
- package/src/components/ams/field-set.tokens.json +69 -13
- package/src/components/ams/field.deprecated.tokens.json +8 -1
- package/src/components/ams/field.tokens.json +24 -4
- package/src/components/ams/figure.tokens.json +35 -7
- package/src/components/ams/file-input.tokens.json +143 -29
- package/src/components/ams/file-list.tokens.json +49 -9
- package/src/components/ams/grid.compact.tokens.json +7 -1
- package/src/components/ams/grid.tokens.json +79 -13
- package/src/components/ams/heading.tokens.json +91 -17
- package/src/components/ams/hint.tokens.json +8 -2
- package/src/components/ams/icon-button.tokens.json +69 -17
- package/src/components/ams/icon.deprecated.tokens.json +10 -4
- package/src/components/ams/icon.tokens.json +112 -19
- package/src/components/ams/image-slider.tokens.json +60 -10
- package/src/components/ams/image.tokens.json +3 -1
- package/src/components/ams/invalid-form-alert.tokens.json +7 -1
- package/src/components/ams/label.tokens.json +31 -7
- package/src/components/ams/link-list.tokens.json +106 -21
- package/src/components/ams/link.tokens.json +73 -15
- package/src/components/ams/logo.tokens.json +23 -5
- package/src/components/ams/mark.tokens.json +4 -1
- package/src/components/ams/menu.deprecated.tokens.json +12 -8
- package/src/components/ams/menu.tokens.json +119 -21
- package/src/components/ams/ordered-list.tokens.json +110 -22
- package/src/components/ams/page-footer.tokens.json +98 -18
- package/src/components/ams/page-header.compact.tokens.json +19 -3
- package/src/components/ams/page-header.tokens.json +214 -34
- package/src/components/ams/page-heading.deprecated.tokens.json +38 -8
- package/src/components/ams/page.tokens.json +24 -5
- package/src/components/ams/pagination.tokens.json +70 -14
- package/src/components/ams/paragraph.tokens.json +55 -11
- package/src/components/ams/password-input.tokens.json +92 -19
- package/src/components/ams/progress-list.tokens.json +372 -0
- package/src/components/ams/radio.tokens.json +142 -33
- package/src/components/ams/row.tokens.json +35 -5
- package/src/components/ams/search-field.tokens.json +101 -22
- package/src/components/ams/select.tokens.json +97 -24
- package/src/components/ams/skip-link.tokens.json +53 -10
- package/src/components/ams/spotlight.tokens.json +28 -7
- package/src/components/ams/standalone-link.deprecated.tokens.json +16 -10
- package/src/components/ams/standalone-link.tokens.json +75 -16
- package/src/components/ams/switch.tokens.json +57 -12
- package/src/components/ams/table-of-contents.deprecated.tokens.json +16 -3
- package/src/components/ams/table-of-contents.tokens.json +80 -15
- package/src/components/ams/table.tokens.json +49 -10
- package/src/components/ams/tabs.tokens.json +130 -17
- package/src/components/ams/text-area.tokens.json +97 -20
- package/src/components/ams/text-input.tokens.json +90 -19
- package/src/components/ams/time-input.deprecated.tokens.json +14 -8
- package/src/components/ams/time-input.tokens.json +90 -25
- package/src/components/ams/unordered-list.tokens.json +112 -22
- package/style-dictionary/dimensionToString.js +25 -0
- package/style-dictionary/transforms/dtcg-dimension.js +30 -0
- package/style-dictionary/transforms/name-custom-camel.js +27 -0
- package/style-dictionary/transforms/name-custom-kebab.js +27 -0
- package/style-dictionary/transforms/shadow-dtcg-dimension-normalize.js +50 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.2.0](https://github.com/Amsterdam/design-system/compare/design-system-tokens-v3.1.0...design-system-tokens-v3.2.0) (2026-03-13)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **Description List:** Vary spacing within and between groups, remove indentation of descriptions ([#2448](https://github.com/Amsterdam/design-system/issues/2448)) ([f8c4fa0](https://github.com/Amsterdam/design-system/commit/f8c4fa00795b4d9012e9e81f4d3311db83109cb5))
|
|
12
|
+
* **Dialog:** Add design tokens for border radius and box shadow ([#2435](https://github.com/Amsterdam/design-system/issues/2435)) ([2b8b28a](https://github.com/Amsterdam/design-system/commit/2b8b28a5b163c68746924b42467904f0a281551f))
|
|
13
|
+
* **Image Slider:** Allow adding captions to images ([#2436](https://github.com/Amsterdam/design-system/issues/2436)) ([a48f585](https://github.com/Amsterdam/design-system/commit/a48f5852157392f0cdcf74f8637c42a2d4ed0c77))
|
|
14
|
+
* **Page Header:** Make menu button blue ([#2408](https://github.com/Amsterdam/design-system/issues/2408)) ([3915f84](https://github.com/Amsterdam/design-system/commit/3915f84f97df2f9d915704a99eae6f05f69be8f6))
|
|
15
|
+
|
|
16
|
+
## [3.1.0](https://github.com/Amsterdam/design-system/compare/design-system-tokens-v3.0.0...design-system-tokens-v3.1.0) (2026-01-28)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* **Badge:** Add option to include an icon ([#2385](https://github.com/Amsterdam/design-system/issues/2385)) ([698c776](https://github.com/Amsterdam/design-system/commit/698c7762f9bc0c844598e71c45165f472d03c185))
|
|
22
|
+
* Introduce Progress List component ([#2373](https://github.com/Amsterdam/design-system/issues/2373)) ([7309159](https://github.com/Amsterdam/design-system/commit/730915911eb28dff40137ff15063cf33c21f26fc))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* **DateInput, TimeInput:** Prevent focus on picker icon when input is disabled ([#2378](https://github.com/Amsterdam/design-system/issues/2378)) ([e3fff0f](https://github.com/Amsterdam/design-system/commit/e3fff0fcf7fea144663342493a83afd4e73da7e8))
|
|
28
|
+
* Relax hyphenation settings ([#2384](https://github.com/Amsterdam/design-system/issues/2384)) ([c8d3ea5](https://github.com/Amsterdam/design-system/commit/c8d3ea5439f710c85977ad2c05c7614f28c47c59))
|
|
29
|
+
|
|
6
30
|
## [3.0.0](https://github.com/Amsterdam/design-system/compare/design-system-tokens-v2.2.0...design-system-tokens-v3.0.0) (2026-01-09)
|
|
7
31
|
|
|
8
32
|
|
package/README.md
CHANGED
|
@@ -162,6 +162,50 @@ At the same time, we are aware that adopting a design system can pose challenges
|
|
|
162
162
|
If there is a good reason to (temporarily) adapt a component, do so by overriding the values of its appropriate tokens in a separate stylesheet.
|
|
163
163
|
Note that redefining the value of a token is a much better approach than redeclaring styles, adding class names or even inline styles.
|
|
164
164
|
|
|
165
|
+
## Token types
|
|
166
|
+
|
|
167
|
+
Tokens have a type or extension that we use to generate visual previews in our documentation.
|
|
168
|
+
When adding new tokens, define a type from the DTCG specification or add one of our custom extensions when needed.
|
|
169
|
+
Do not add an type or extension if the token cannot be previewed.
|
|
170
|
+
|
|
171
|
+
### DTCG standard types
|
|
172
|
+
|
|
173
|
+
The following types come from the [Design Tokens Community Group (DTCG) specification](https://www.designtokens.org/tr/2025.10/format/):
|
|
174
|
+
|
|
175
|
+
| Type | Description |
|
|
176
|
+
| ------------ | ------------------------- |
|
|
177
|
+
| `color` | Any colour value |
|
|
178
|
+
| `dimension` | Any dimension with a unit |
|
|
179
|
+
| `fontFamily` | Font family definitions |
|
|
180
|
+
| `fontWeight` | Font weight values |
|
|
181
|
+
|
|
182
|
+
### Custom extensions
|
|
183
|
+
|
|
184
|
+
#### Type
|
|
185
|
+
|
|
186
|
+
For some properties, we add custom types under `$extensions.nl.amsterdam.type`:
|
|
187
|
+
|
|
188
|
+
| Type | Description |
|
|
189
|
+
| ------------- | -------------------------------- |
|
|
190
|
+
| `borderStyle` | Border style values |
|
|
191
|
+
| `borderWidth` | Border thickness values |
|
|
192
|
+
| `fontSize` | Font size values |
|
|
193
|
+
| `lineHeight` | Unitless line height multipliers |
|
|
194
|
+
|
|
195
|
+
Tokens without a type have values that we currently do not preview.
|
|
196
|
+
|
|
197
|
+
#### Subtype
|
|
198
|
+
|
|
199
|
+
We add a subtype for certain types to further specify their purpose and preview.
|
|
200
|
+
|
|
201
|
+
| Subtype | For type | Description |
|
|
202
|
+
| ------- | ----------- | -------------------------- |
|
|
203
|
+
| `space` | `dimension` | Margins, paddings and gaps |
|
|
204
|
+
|
|
205
|
+
#### Hint
|
|
206
|
+
|
|
207
|
+
An `$extensions.nl.amsterdam.hint` indicates special handling for internal use.
|
|
208
|
+
|
|
165
209
|
## Usage in Sass
|
|
166
210
|
|
|
167
211
|
The tokens can be imported as Sass variables as well.
|
|
@@ -172,7 +216,7 @@ As they are already prefixed, the namespace that Sass would assign isn’t neces
|
|
|
172
216
|
```
|
|
173
217
|
|
|
174
218
|
Import the compact tokens if needed.
|
|
175
|
-
Note that Sass doesn
|
|
219
|
+
Note that Sass doesn’t allow importing them alongside the default set due to naming conflicts.
|
|
176
220
|
Address these tokens through the `compact` namespace and do not use the spacious tokens they replace.
|
|
177
221
|
|
|
178
222
|
```sass
|
package/build.js
CHANGED
|
@@ -1,31 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
// Remove last key if it is 'default' when transforming to kebab-case
|
|
6
|
-
// i.e. `ams.color.default` becomes `--ams-color`
|
|
7
|
-
StyleDictionary.registerTransform({
|
|
8
|
-
name: 'name/customKebab',
|
|
9
|
-
transform: function (token) {
|
|
10
|
-
const filteredPath = token.path[token.path.length - 1] === 'default' ? token.path.slice(0, -1) : token.path
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2+
|
|
3
|
+
* Copyright Gemeente Amsterdam
|
|
4
|
+
*/
|
|
11
5
|
|
|
12
|
-
|
|
13
|
-
},
|
|
14
|
-
type: transformTypes.name,
|
|
15
|
-
})
|
|
6
|
+
import StyleDictionary from 'style-dictionary'
|
|
16
7
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
transform: function (token) {
|
|
22
|
-
const filteredPath = token.path[token.path.length - 1] === 'default' ? token.path.slice(0, -1) : token.path
|
|
8
|
+
import { dtcgDimension } from './style-dictionary/transforms/dtcg-dimension.js'
|
|
9
|
+
import { nameCustomCamel } from './style-dictionary/transforms/name-custom-camel.js'
|
|
10
|
+
import { nameCustomKebab } from './style-dictionary/transforms/name-custom-kebab.js'
|
|
11
|
+
import { shadowDTCGDimensionNormalize } from './style-dictionary/transforms/shadow-dtcg-dimension-normalize.js'
|
|
23
12
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
13
|
+
StyleDictionary.registerTransform(dtcgDimension)
|
|
14
|
+
StyleDictionary.registerTransform(nameCustomCamel)
|
|
15
|
+
StyleDictionary.registerTransform(nameCustomKebab)
|
|
16
|
+
StyleDictionary.registerTransform(shadowDTCGDimensionNormalize)
|
|
28
17
|
|
|
18
|
+
const commonCssTransforms = ['shadow/dtcg-dimension-normalize', 'shadow/css/shorthand', 'dtcg/dimension']
|
|
29
19
|
const modes = ['compact']
|
|
30
20
|
|
|
31
21
|
function generateSharedConfig(mode) {
|
|
@@ -43,8 +33,7 @@ function generateSharedConfig(mode) {
|
|
|
43
33
|
},
|
|
44
34
|
},
|
|
45
35
|
],
|
|
46
|
-
|
|
47
|
-
transforms: ['attribute/cti', 'name/customKebab', 'color/hsl-4'],
|
|
36
|
+
transforms: [...commonCssTransforms, 'name/customKebab'],
|
|
48
37
|
},
|
|
49
38
|
cssTheme: {
|
|
50
39
|
buildPath: 'dist/',
|
|
@@ -58,7 +47,7 @@ function generateSharedConfig(mode) {
|
|
|
58
47
|
},
|
|
59
48
|
},
|
|
60
49
|
],
|
|
61
|
-
transforms: [
|
|
50
|
+
transforms: [...commonCssTransforms, 'name/customKebab'],
|
|
62
51
|
},
|
|
63
52
|
js: {
|
|
64
53
|
buildPath: 'dist/',
|
|
@@ -68,7 +57,7 @@ function generateSharedConfig(mode) {
|
|
|
68
57
|
format: 'javascript/es6',
|
|
69
58
|
},
|
|
70
59
|
],
|
|
71
|
-
transforms: [
|
|
60
|
+
transforms: [...commonCssTransforms, 'name/customCamel'],
|
|
72
61
|
},
|
|
73
62
|
json: {
|
|
74
63
|
buildPath: 'dist/',
|
|
@@ -78,7 +67,7 @@ function generateSharedConfig(mode) {
|
|
|
78
67
|
format: 'json/nested',
|
|
79
68
|
},
|
|
80
69
|
],
|
|
81
|
-
transforms: [
|
|
70
|
+
transforms: [...commonCssTransforms, 'name/camel'],
|
|
82
71
|
},
|
|
83
72
|
scss: {
|
|
84
73
|
buildPath: 'dist/',
|
|
@@ -91,7 +80,7 @@ function generateSharedConfig(mode) {
|
|
|
91
80
|
},
|
|
92
81
|
},
|
|
93
82
|
],
|
|
94
|
-
transforms: [
|
|
83
|
+
transforms: [...commonCssTransforms, 'name/customKebab'],
|
|
95
84
|
},
|
|
96
85
|
typescript: {
|
|
97
86
|
buildPath: 'dist/',
|
|
@@ -101,8 +90,8 @@ function generateSharedConfig(mode) {
|
|
|
101
90
|
format: 'typescript/module-declarations',
|
|
102
91
|
},
|
|
103
92
|
],
|
|
104
|
-
|
|
105
|
-
transforms: ['
|
|
93
|
+
// Type declarations only — no CSS-specific transforms needed
|
|
94
|
+
transforms: ['name/customCamel'],
|
|
106
95
|
},
|
|
107
96
|
}
|
|
108
97
|
}
|
|
@@ -120,10 +109,11 @@ const defaultMode = new StyleDictionary({
|
|
|
120
109
|
|
|
121
110
|
defaultMode.buildAllPlatforms()
|
|
122
111
|
|
|
123
|
-
|
|
112
|
+
for (const mode of modes) {
|
|
124
113
|
const styleDictionary = new StyleDictionary({
|
|
125
114
|
platforms: generateSharedConfig(mode),
|
|
126
115
|
source: [`./src/**/*.${mode}.tokens.json`],
|
|
127
116
|
})
|
|
128
|
-
|
|
129
|
-
|
|
117
|
+
|
|
118
|
+
styleDictionary.buildAllPlatforms()
|
|
119
|
+
}
|
package/dist/compact.css
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
--ams-typography-body-text-large-line-height: 1.4;
|
|
22
22
|
--ams-typography-body-text-x-large-font-size: clamp(1.25rem, 1.1964rem + 0.2679vw, 1.4375rem);
|
|
23
23
|
--ams-typography-body-text-x-large-line-height: 1.3;
|
|
24
|
-
--ams-typography-heading-0-font-size: clamp(2.1645rem, 2.072rem + 0.4626vw, 2.4883rem);
|
|
24
|
+
--ams-typography-heading-0-font-size: clamp(2.1645rem, 2.072rem + 0.4626vw, 2.4883rem);
|
|
25
25
|
--ams-typography-heading-1-font-size: clamp(1.5rem, 1.4286rem + 0.3571vw, 1.75rem);
|
|
26
26
|
--ams-typography-heading-1-line-height: 1.2;
|
|
27
27
|
--ams-typography-heading-2-line-height: 1.3;
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
--ams-typography-heading-3-font-size: var(--ams-typography-body-text-large-font-size);
|
|
34
34
|
--ams-typography-heading-4-font-size: var(--ams-typography-body-text-font-size);
|
|
35
35
|
--ams-typography-heading-5-font-size: var(--ams-typography-body-text-small-font-size);
|
|
36
|
-
--ams-typography-heading-6-font-size: var(--ams-typography-body-text-small-font-size);
|
|
36
|
+
--ams-typography-heading-6-font-size: var(--ams-typography-body-text-small-font-size);
|
|
37
37
|
--ams-grid-padding-inline: var(--ams-space-xl);
|
|
38
38
|
--ams-page-header-brand-name-line-height: var(--ams-typography-heading-2-line-height);
|
|
39
39
|
--ams-page-header-brand-name-font-size: var(--ams-typography-heading-2-font-size);
|
package/dist/compact.d.ts
CHANGED
package/dist/compact.mjs
CHANGED
|
@@ -23,7 +23,7 @@ export const amsTypographyBodyTextXLargeFontSize =
|
|
|
23
23
|
"clamp(1.25rem, 1.1964rem + 0.2679vw, 1.4375rem)";
|
|
24
24
|
export const amsTypographyBodyTextXLargeLineHeight = "1.3";
|
|
25
25
|
export const amsTypographyHeading_0FontSize =
|
|
26
|
-
"clamp(2.1645rem, 2.072rem + 0.4626vw, 2.4883rem)";
|
|
26
|
+
"clamp(2.1645rem, 2.072rem + 0.4626vw, 2.4883rem)";
|
|
27
27
|
export const amsTypographyHeading_1FontSize =
|
|
28
28
|
"clamp(1.5rem, 1.4286rem + 0.3571vw, 1.75rem)";
|
|
29
29
|
export const amsTypographyHeading_1LineHeight = "1.2";
|
|
@@ -37,7 +37,7 @@ export const amsTypographyHeading_4FontSize = "1rem";
|
|
|
37
37
|
export const amsTypographyHeading_4LineHeight = "1.4";
|
|
38
38
|
export const amsTypographyHeading_5FontSize = "0.875rem";
|
|
39
39
|
export const amsTypographyHeading_5LineHeight = "1.4";
|
|
40
|
-
export const amsTypographyHeading_6FontSize = "0.875rem";
|
|
40
|
+
export const amsTypographyHeading_6FontSize = "0.875rem";
|
|
41
41
|
export const amsGridPaddingInline =
|
|
42
42
|
"clamp(1.5rem, 1.2857rem + 1.0714vw, 2.25rem)";
|
|
43
43
|
export const amsPageHeaderBrandNameFontSize =
|
package/dist/compact.scss
CHANGED
|
@@ -19,7 +19,7 @@ $ams-typography-body-text-large-font-size: clamp(1.125rem, 1.1071rem + 0.0893vw,
|
|
|
19
19
|
$ams-typography-body-text-large-line-height: 1.4;
|
|
20
20
|
$ams-typography-body-text-x-large-font-size: clamp(1.25rem, 1.1964rem + 0.2679vw, 1.4375rem);
|
|
21
21
|
$ams-typography-body-text-x-large-line-height: 1.3;
|
|
22
|
-
$ams-typography-heading-0-font-size: clamp(2.1645rem, 2.072rem + 0.4626vw, 2.4883rem);
|
|
22
|
+
$ams-typography-heading-0-font-size: clamp(2.1645rem, 2.072rem + 0.4626vw, 2.4883rem);
|
|
23
23
|
$ams-typography-heading-1-font-size: clamp(1.5rem, 1.4286rem + 0.3571vw, 1.75rem);
|
|
24
24
|
$ams-typography-heading-1-line-height: 1.2;
|
|
25
25
|
$ams-typography-heading-2-line-height: 1.3;
|
|
@@ -31,7 +31,7 @@ $ams-typography-heading-2-font-size: $ams-typography-body-text-x-large-font-size
|
|
|
31
31
|
$ams-typography-heading-3-font-size: $ams-typography-body-text-large-font-size;
|
|
32
32
|
$ams-typography-heading-4-font-size: $ams-typography-body-text-font-size;
|
|
33
33
|
$ams-typography-heading-5-font-size: $ams-typography-body-text-small-font-size;
|
|
34
|
-
$ams-typography-heading-6-font-size: $ams-typography-body-text-small-font-size;
|
|
34
|
+
$ams-typography-heading-6-font-size: $ams-typography-body-text-small-font-size;
|
|
35
35
|
$ams-grid-padding-inline: $ams-space-xl;
|
|
36
36
|
$ams-page-header-brand-name-line-height: $ams-typography-heading-2-line-height;
|
|
37
37
|
$ams-page-header-brand-name-font-size: $ams-typography-heading-2-font-size;
|
package/dist/compact.theme.css
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
--ams-typography-body-text-large-line-height: 1.4;
|
|
22
22
|
--ams-typography-body-text-x-large-font-size: clamp(1.25rem, 1.1964rem + 0.2679vw, 1.4375rem);
|
|
23
23
|
--ams-typography-body-text-x-large-line-height: 1.3;
|
|
24
|
-
--ams-typography-heading-0-font-size: clamp(2.1645rem, 2.072rem + 0.4626vw, 2.4883rem);
|
|
24
|
+
--ams-typography-heading-0-font-size: clamp(2.1645rem, 2.072rem + 0.4626vw, 2.4883rem);
|
|
25
25
|
--ams-typography-heading-1-font-size: clamp(1.5rem, 1.4286rem + 0.3571vw, 1.75rem);
|
|
26
26
|
--ams-typography-heading-1-line-height: 1.2;
|
|
27
27
|
--ams-typography-heading-2-line-height: 1.3;
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
--ams-typography-heading-3-font-size: var(--ams-typography-body-text-large-font-size);
|
|
34
34
|
--ams-typography-heading-4-font-size: var(--ams-typography-body-text-font-size);
|
|
35
35
|
--ams-typography-heading-5-font-size: var(--ams-typography-body-text-small-font-size);
|
|
36
|
-
--ams-typography-heading-6-font-size: var(--ams-typography-body-text-small-font-size);
|
|
36
|
+
--ams-typography-heading-6-font-size: var(--ams-typography-body-text-small-font-size);
|
|
37
37
|
--ams-grid-padding-inline: var(--ams-space-xl);
|
|
38
38
|
--ams-page-header-brand-name-line-height: var(--ams-typography-heading-2-line-height);
|
|
39
39
|
--ams-page-header-brand-name-font-size: var(--ams-typography-heading-2-font-size);
|