{
+ console.log(`\n\nBuilding ${mode} mode...`)
+ StyleDictionary.extend({
+ source: [`./src/**/*.${mode}.tokens.json`],
+ platforms: generateSharedConfig(mode),
+ }).buildAllPlatforms()
+})
diff --git a/proprietary/tokens/package.json b/proprietary/tokens/package.json
index 159447c652..fd63fd13b3 100644
--- a/proprietary/tokens/package.json
+++ b/proprietary/tokens/package.json
@@ -18,7 +18,7 @@
},
"scripts": {
"clean": "rimraf dist/",
- "build": "style-dictionary build --config ./style-dictionary.config.json",
+ "build": "node build.js",
"watch": "chokidar --follow-symlinks --initial --command \"npm run build\" \"src/**/*.tokens.json\""
},
"devDependencies": {
diff --git a/proprietary/tokens/src/brand/amsterdam/typography.compact.tokens.json b/proprietary/tokens/src/brand/amsterdam/typography.compact.tokens.json
new file mode 100644
index 0000000000..e722ff598f
--- /dev/null
+++ b/proprietary/tokens/src/brand/amsterdam/typography.compact.tokens.json
@@ -0,0 +1,29 @@
+{
+ "amsterdam": {
+ "typography": {
+ "text-level": {
+ "0": {
+ "font-size": { "value": "clamp(1.891rem, calc(1.927vw + 1.506rem), 3.433rem)" }
+ },
+ "1": {
+ "font-size": { "value": "clamp(1.621rem, calc(1.408vw + 1.34rem), 2.747rem)" }
+ },
+ "2": {
+ "font-size": { "value": "clamp(1.389rem, calc(1.01vw + 1.187rem), 2.197rem)" }
+ },
+ "3": {
+ "font-size": { "value": "clamp(1.191rem, calc(0.709vw + 1.049rem), 1.758rem)" }
+ },
+ "4": {
+ "font-size": { "value": "clamp(1.021rem, calc(0.481vw + 0.925rem), 1.406rem)" }
+ },
+ "5": {
+ "font-size": { "value": "clamp(0.875rem, calc(0.313vw + 0.813rem), 1.125rem)" }
+ },
+ "6": {
+ "font-size": { "value": "clamp(0.75rem, calc(0.188vw + 0.713rem), 0.9rem)" }
+ }
+ }
+ }
+ }
+}
diff --git a/proprietary/tokens/src/brand/amsterdam/typography.tokens.json b/proprietary/tokens/src/brand/amsterdam/typography.tokens.json
index 59121f4704..3394e80de1 100644
--- a/proprietary/tokens/src/brand/amsterdam/typography.tokens.json
+++ b/proprietary/tokens/src/brand/amsterdam/typography.tokens.json
@@ -6,68 +6,34 @@
"normal": { "value": 400 },
"bold": { "value": 800 }
},
- "spacious": {
- "text-level": {
- "0": {
- "font-size": { "value": "clamp(2.432rem, calc(2.683vw + 1.895rem), 4.578rem)" },
- "line-height": { "value": "1.15" }
- },
- "1": {
- "font-size": { "value": "clamp(2.084rem, calc(1.973vw + 1.69rem), 3.662rem)" },
- "line-height": { "value": "1.2" }
- },
- "2": {
- "font-size": { "value": "clamp(1.786rem, calc(1.43vw + 1.5rem), 2.93rem)" },
- "line-height": { "value": "1.25" }
- },
- "3": {
- "font-size": { "value": "clamp(1.531rem, calc(1.016vw + 1.328rem), 2.344rem)" },
- "line-height": { "value": "1.3" }
- },
- "4": {
- "font-size": { "value": "clamp(1.313rem, calc(0.703vw + 1.173rem), 1.875rem)" },
- "line-height": { "value": "1.5" }
- },
- "5": {
- "font-size": { "value": "clamp(1.125rem, calc(0.469vw + 1.031rem), 1.5rem)" },
- "line-height": { "value": "1.6" }
- },
- "6": {
- "font-size": { "value": "clamp(0.964rem, calc(0.295vw + 0.905rem), 1.2rem)" },
- "line-height": { "value": "1.6" }
- }
- }
- },
- "compact": {
- "text-level": {
- "0": {
- "font-size": { "value": "clamp(1.891rem, calc(1.927vw + 1.506rem), 3.433rem)" },
- "line-height": { "value": "1.15" }
- },
- "1": {
- "font-size": { "value": "clamp(1.621rem, calc(1.408vw + 1.34rem), 2.747rem)" },
- "line-height": { "value": "1.2" }
- },
- "2": {
- "font-size": { "value": "clamp(1.389rem, calc(1.01vw + 1.187rem), 2.197rem)" },
- "line-height": { "value": "1.25" }
- },
- "3": {
- "font-size": { "value": "clamp(1.191rem, calc(0.709vw + 1.049rem), 1.758rem)" },
- "line-height": { "value": "1.3" }
- },
- "4": {
- "font-size": { "value": "clamp(1.021rem, calc(0.481vw + 0.925rem), 1.406rem)" },
- "line-height": { "value": "1.5" }
- },
- "5": {
- "font-size": { "value": "clamp(0.875rem, calc(0.313vw + 0.813rem), 1.125rem)" },
- "line-height": { "value": "1.6" }
- },
- "6": {
- "font-size": { "value": "clamp(0.75rem, calc(0.188vw + 0.713rem), 0.9rem)" },
- "line-height": { "value": "1.6" }
- }
+ "text-level": {
+ "0": {
+ "font-size": { "value": "clamp(2.432rem, calc(2.683vw + 1.895rem), 4.578rem)" },
+ "line-height": { "value": "1.15" }
+ },
+ "1": {
+ "font-size": { "value": "clamp(2.084rem, calc(1.973vw + 1.69rem), 3.662rem)" },
+ "line-height": { "value": "1.2" }
+ },
+ "2": {
+ "font-size": { "value": "clamp(1.786rem, calc(1.43vw + 1.5rem), 2.93rem)" },
+ "line-height": { "value": "1.25" }
+ },
+ "3": {
+ "font-size": { "value": "clamp(1.531rem, calc(1.016vw + 1.328rem), 2.344rem)" },
+ "line-height": { "value": "1.3" }
+ },
+ "4": {
+ "font-size": { "value": "clamp(1.313rem, calc(0.703vw + 1.173rem), 1.875rem)" },
+ "line-height": { "value": "1.5" }
+ },
+ "5": {
+ "font-size": { "value": "clamp(1.125rem, calc(0.469vw + 1.031rem), 1.5rem)" },
+ "line-height": { "value": "1.6" }
+ },
+ "6": {
+ "font-size": { "value": "clamp(0.964rem, calc(0.295vw + 0.905rem), 1.2rem)" },
+ "line-height": { "value": "1.6" }
}
}
}
diff --git a/proprietary/tokens/src/components/amsterdam/accordion.tokens.json b/proprietary/tokens/src/components/amsterdam/accordion.tokens.json
index 628f1e4acc..16de651e15 100644
--- a/proprietary/tokens/src/components/amsterdam/accordion.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/accordion.tokens.json
@@ -3,21 +3,15 @@
"accordion": {
"button": {
"color": { "value": "{amsterdam.color.primary-blue}" },
+ "font-family": { "value": "{amsterdam.typography.font-family}" },
+ "font-size": { "value": "{amsterdam.typography.text-level.5.font-size}" },
+ "font-weight": { "value": "{amsterdam.typography.font-weight.bold}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.5.line-height}" },
"focus": {
"outline-offset": { "value": "{amsterdam.focus.outline-offset}" }
},
- "font-family": { "value": "{amsterdam.typography.font-family}" },
- "font-weight": { "value": "{amsterdam.typography.font-weight.bold}" },
"hover": {
"box-shadow": { "value": "inset 0 0 0 2px {amsterdam.color.neutral-grey3}" }
- },
- "spacious": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" }
- },
- "compact": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" }
}
}
}
diff --git a/proprietary/tokens/src/components/amsterdam/badge.tokens.json b/proprietary/tokens/src/components/amsterdam/badge.tokens.json
index 0a722c1226..4b9492cc1f 100644
--- a/proprietary/tokens/src/components/amsterdam/badge.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/badge.tokens.json
@@ -2,16 +2,10 @@
"amsterdam": {
"badge": {
"font-family": { "value": "{amsterdam.typography.font-family}" },
+ "font-size": { "value": "{amsterdam.typography.text-level.5.font-size}" },
"font-weight": { "value": "{amsterdam.typography.font-weight.bold}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.5.line-height}" },
"padding-inline": { "value": "0.5rem" },
- "spacious": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" }
- },
- "compact": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" }
- },
"blue": {
"background-color": { "value": "{amsterdam.color.blue}" },
"color": { "value": "{amsterdam.color.primary-black}" }
diff --git a/proprietary/tokens/src/components/amsterdam/blockquote.tokens.json b/proprietary/tokens/src/components/amsterdam/blockquote.tokens.json
index 01b820ad4a..3061174dc7 100644
--- a/proprietary/tokens/src/components/amsterdam/blockquote.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/blockquote.tokens.json
@@ -3,16 +3,10 @@
"blockquote": {
"color": { "value": "{amsterdam.color.primary-black}" },
"font-family": { "value": "{amsterdam.typography.font-family}" },
+ "font-size": { "value": "{amsterdam.typography.text-level.3.font-size}" },
"font-weight": { "value": "{amsterdam.typography.font-weight.bold}" },
- "inverse-color": { "value": "{amsterdam.color.primary-white}" },
- "spacious": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.3.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.3.line-height}" }
- },
- "compact": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.3.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.3.line-height}" }
- }
+ "line-height": { "value": "{amsterdam.typography.text-level.3.line-height}" },
+ "inverse-color": { "value": "{amsterdam.color.primary-white}" }
}
}
}
diff --git a/proprietary/tokens/src/components/amsterdam/breadcrumb.tokens.json b/proprietary/tokens/src/components/amsterdam/breadcrumb.tokens.json
index d006844a5c..31cd659d70 100644
--- a/proprietary/tokens/src/components/amsterdam/breadcrumb.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/breadcrumb.tokens.json
@@ -2,7 +2,9 @@
"amsterdam": {
"breadcrumb": {
"font-family": { "value": "{amsterdam.typography.font-family}" },
+ "font-size": { "value": "{amsterdam.typography.text-level.6.font-size}" },
"font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.6.line-height}" },
"separator": {
"background-image": {
"value": "url(\"data:image/svg+xml;utf8,
\")"
@@ -18,14 +20,6 @@
"color": { "value": "{amsterdam.color.dark-blue}" },
"text-decoration-line": { "value": "{amsterdam.link-appearance.subtle.hover.text-decoration-line}" }
}
- },
- "spacious": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.6.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.6.line-height}" }
- },
- "compact": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.6.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.6.line-height}" }
}
}
}
diff --git a/proprietary/tokens/src/components/amsterdam/button.tokens.json b/proprietary/tokens/src/components/amsterdam/button.tokens.json
index c07033be2a..0ebe731227 100644
--- a/proprietary/tokens/src/components/amsterdam/button.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/button.tokens.json
@@ -1,14 +1,8 @@
{
"amsterdam": {
"button": {
- "spacious": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" }
- },
- "compact": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" }
- },
+ "font-size": { "value": "{amsterdam.typography.text-level.5.font-size}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.5.line-height}" },
"secondary": {
"box-shadow": { "value": "inset 0 0 0 2px {amsterdam.color.primary-blue}" },
"hover": {
diff --git a/proprietary/tokens/src/components/amsterdam/checkbox.tokens.json b/proprietary/tokens/src/components/amsterdam/checkbox.tokens.json
index b53da6b8ef..73b9d548aa 100644
--- a/proprietary/tokens/src/components/amsterdam/checkbox.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/checkbox.tokens.json
@@ -2,6 +2,11 @@
"amsterdam": {
"checkbox": {
"color": { "value": "{amsterdam.color.primary-black}" },
+ "font-family": { "value": "{amsterdam.typography.font-family}" },
+ "font-size": { "value": "{amsterdam.typography.text-level.5.font-size}" },
+ "font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.5.line-height}" },
+ "outline-offset": { "value": "{amsterdam.focus.outline-offset}" },
"checkmark": {
"border-color": { "value": "{amsterdam.color.primary-blue}" },
"checked": {
@@ -56,19 +61,8 @@
"disabled": {
"color": { "value": "{amsterdam.color.neutral-grey3}" }
},
- "font-family": { "value": "{amsterdam.typography.font-family}" },
- "font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
"hover": {
"color": { "value": "{amsterdam.color.dark-blue}" }
- },
- "outline-offset": { "value": "{amsterdam.focus.outline-offset}" },
- "spacious": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" }
- },
- "compact": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" }
}
}
}
diff --git a/proprietary/tokens/src/components/amsterdam/dialog.tokens.json b/proprietary/tokens/src/components/amsterdam/dialog.tokens.json
index 70d0940d8b..6e3bf4a413 100644
--- a/proprietary/tokens/src/components/amsterdam/dialog.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/dialog.tokens.json
@@ -7,15 +7,9 @@
"title": {
"color": { "value": "{amsterdam.color.primary-black}" },
"font-family": { "value": "{amsterdam.typography.font-family}" },
+ "font-size": { "value": "{amsterdam.typography.text-level.5.font-size}" },
"font-weight": { "value": "{amsterdam.typography.font-weight.bold}" },
- "spacious": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" }
- },
- "compact": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" }
- }
+ "line-height": { "value": "{amsterdam.typography.text-level.5.line-height}" }
},
"backdrop": {
"background": { "value": "#0006" }
diff --git a/proprietary/tokens/src/components/amsterdam/form-label.tokens.json b/proprietary/tokens/src/components/amsterdam/form-label.tokens.json
index 4a42884769..01d8f6377b 100644
--- a/proprietary/tokens/src/components/amsterdam/form-label.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/form-label.tokens.json
@@ -3,15 +3,9 @@
"form-label": {
"color": { "value": "{amsterdam.color.primary-black}" },
"font-family": { "value": "{amsterdam.typography.font-family}" },
+ "font-size": { "value": "{amsterdam.typography.text-level.4.font-size}" },
"font-weight": { "value": "{amsterdam.typography.font-weight.bold}" },
- "spacious": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.4.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.4.line-height}" }
- },
- "compact": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.4.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.4.line-height}" }
- }
+ "line-height": { "value": "{amsterdam.typography.text-level.4.line-height}" }
}
}
}
diff --git a/proprietary/tokens/src/components/amsterdam/grid.compact.tokens.json b/proprietary/tokens/src/components/amsterdam/grid.compact.tokens.json
new file mode 100644
index 0000000000..cc8e5b85e8
--- /dev/null
+++ b/proprietary/tokens/src/components/amsterdam/grid.compact.tokens.json
@@ -0,0 +1,14 @@
+{
+ "amsterdam": {
+ "grid": {
+ "gap": {
+ "value": "clamp(1rem, calc(1.5625vw - 0.0625rem), 2.5rem)",
+ "comment": "Grows from 16px at 1088px wide to 40px at 2624px wide."
+ },
+ "padding-inline": {
+ "value": "clamp(1rem, calc(1.5625vw - 0.0625rem), 2.5rem)",
+ "comment": "Equals the gap."
+ }
+ }
+ }
+}
diff --git a/proprietary/tokens/src/components/amsterdam/grid.tokens.json b/proprietary/tokens/src/components/amsterdam/grid.tokens.json
index 209b4f6ed2..a6ec7c33ac 100644
--- a/proprietary/tokens/src/components/amsterdam/grid.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/grid.tokens.json
@@ -2,25 +2,13 @@
"amsterdam": {
"grid": {
"column-count": { "value": "4" },
- "spacious": {
- "gap": {
- "value": "clamp(1rem, calc(3.125vw + 0.375rem), 3.5rem)",
- "comment": "Grows from 16px at 320px wide to 56px at 1600px wide."
- },
- "padding-inline": {
- "value": "clamp(1.5rem, calc(4.6875vw + 0.5625rem), 5.25rem)",
- "comment": "Equals 1.5 times the gap."
- }
+ "gap": {
+ "value": "clamp(1rem, calc(3.125vw + 0.375rem), 3.5rem)",
+ "comment": "Grows from 16px at 320px wide to 56px at 1600px wide."
},
- "compact": {
- "gap": {
- "value": "clamp(1rem, calc(1.5625vw - 0.0625rem), 2.5rem)",
- "comment": "Grows from 16px at 1088px wide to 40px at 2624px wide."
- },
- "padding-inline": {
- "value": "clamp(1rem, calc(1.5625vw - 0.0625rem), 2.5rem)",
- "comment": "Equals the gap."
- }
+ "padding-inline": {
+ "value": "clamp(1.5rem, calc(4.6875vw + 0.5625rem), 5.25rem)",
+ "comment": "Equals 1.5 times the gap."
},
"medium": {
"column-count": { "value": "8" }
diff --git a/proprietary/tokens/src/components/amsterdam/header.tokens.json b/proprietary/tokens/src/components/amsterdam/header.tokens.json
index 7dff95fbde..f45bb65980 100644
--- a/proprietary/tokens/src/components/amsterdam/header.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/header.tokens.json
@@ -1,7 +1,7 @@
{
"amsterdam": {
"header": {
- "column-gap": { "value": "{amsterdam.grid.spacious.gap}" }
+ "column-gap": { "value": "{amsterdam.grid.gap}" }
}
}
}
diff --git a/proprietary/tokens/src/components/amsterdam/heading.tokens.json b/proprietary/tokens/src/components/amsterdam/heading.tokens.json
index e8fc70121e..a7a07a076a 100644
--- a/proprietary/tokens/src/components/amsterdam/heading.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/heading.tokens.json
@@ -5,57 +5,29 @@
"font-family": { "value": "{amsterdam.typography.font-family}" },
"font-weight": { "value": "{amsterdam.typography.font-weight.bold}" },
"inverse-color": { "value": "{amsterdam.color.primary-white}" },
- "spacious": {
- "level-1": {
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.1.line-height}" },
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.1.font-size}" }
- },
- "level-2": {
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.2.line-height}" },
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.2.font-size}" }
- },
- "level-3": {
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.3.line-height}" },
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.3.font-size}" }
- },
- "level-4": {
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.4.line-height}" },
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.4.font-size}" }
- },
- "level-5": {
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" },
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" }
- },
- "level-6": {
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.6.line-height}" },
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.6.font-size}" }
- }
+ "level-1": {
+ "font-size": { "value": "{amsterdam.typography.text-level.1.font-size}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.1.line-height}" }
},
- "compact": {
- "level-1": {
- "line-height": { "value": "{amsterdam.typography.compact.text-level.1.line-height}" },
- "font-size": { "value": "{amsterdam.typography.compact.text-level.1.font-size}" }
- },
- "level-2": {
- "line-height": { "value": "{amsterdam.typography.compact.text-level.2.line-height}" },
- "font-size": { "value": "{amsterdam.typography.compact.text-level.2.font-size}" }
- },
- "level-3": {
- "line-height": { "value": "{amsterdam.typography.compact.text-level.3.line-height}" },
- "font-size": { "value": "{amsterdam.typography.compact.text-level.3.font-size}" }
- },
- "level-4": {
- "line-height": { "value": "{amsterdam.typography.compact.text-level.4.line-height}" },
- "font-size": { "value": "{amsterdam.typography.compact.text-level.4.font-size}" }
- },
- "level-5": {
- "line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" },
- "font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" }
- },
- "level-6": {
- "line-height": { "value": "{amsterdam.typography.compact.text-level.6.line-height}" },
- "font-size": { "value": "{amsterdam.typography.compact.text-level.6.font-size}" }
- }
+ "level-2": {
+ "font-size": { "value": "{amsterdam.typography.text-level.2.font-size}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.2.line-height}" }
+ },
+ "level-3": {
+ "font-size": { "value": "{amsterdam.typography.text-level.3.font-size}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.3.line-height}" }
+ },
+ "level-4": {
+ "font-size": { "value": "{amsterdam.typography.text-level.4.font-size}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.4.line-height}" }
+ },
+ "level-5": {
+ "font-size": { "value": "{amsterdam.typography.text-level.5.font-size}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.5.line-height}" }
+ },
+ "level-6": {
+ "font-size": { "value": "{amsterdam.typography.text-level.6.font-size}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.6.line-height}" }
}
}
}
diff --git a/proprietary/tokens/src/components/amsterdam/icon.tokens.json b/proprietary/tokens/src/components/amsterdam/icon.tokens.json
index dbaac0ef7f..76f5e2648b 100644
--- a/proprietary/tokens/src/components/amsterdam/icon.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/icon.tokens.json
@@ -1,41 +1,21 @@
{
"amsterdam": {
"icon": {
- "spacious": {
- "size-3": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.3.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.3.line-height}" }
- },
- "size-4": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.4.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.4.line-height}" }
- },
- "size-5": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" }
- },
- "size-6": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.6.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.6.line-height}" }
- }
+ "size-3": {
+ "font-size": { "value": "{amsterdam.typography.text-level.3.font-size}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.3.line-height}" }
},
- "compact": {
- "size-3": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.3.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.3.line-height}" }
- },
- "size-4": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.4.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.4.line-height}" }
- },
- "size-5": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" }
- },
- "size-6": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.6.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.6.line-height}" }
- }
+ "size-4": {
+ "font-size": { "value": "{amsterdam.typography.text-level.4.font-size}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.4.line-height}" }
+ },
+ "size-5": {
+ "font-size": { "value": "{amsterdam.typography.text-level.5.font-size}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.5.line-height}" }
+ },
+ "size-6": {
+ "font-size": { "value": "{amsterdam.typography.text-level.6.font-size}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.6.line-height}" }
}
}
}
diff --git a/proprietary/tokens/src/components/amsterdam/link-list.tokens.json b/proprietary/tokens/src/components/amsterdam/link-list.tokens.json
index 8c41ccd8bd..17b5e15f99 100644
--- a/proprietary/tokens/src/components/amsterdam/link-list.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/link-list.tokens.json
@@ -11,33 +11,17 @@
"text-decoration-line": { "value": "{amsterdam.link-appearance.subtle.text-decoration-line}" },
"text-decoration-thickness": { "value": "{amsterdam.link-appearance.text-decoration-thickness}" },
"text-underline-offset": { "value": "{amsterdam.link-appearance.text-underline-offset}" },
- "spacious": {
- "small": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.6.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.6.line-height}" }
- },
- "medium": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" }
- },
- "large": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.4.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.4.line-height}" }
- }
+ "small": {
+ "font-size": { "value": "{amsterdam.typography.text-level.6.font-size}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.6.line-height}" }
},
- "compact": {
- "small": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.6.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.6.line-height}" }
- },
- "medium": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" }
- },
- "large": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.4.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.4.line-height}" }
- }
+ "medium": {
+ "font-size": { "value": "{amsterdam.typography.text-level.5.font-size}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.5.line-height}" }
+ },
+ "large": {
+ "font-size": { "value": "{amsterdam.typography.text-level.4.font-size}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.4.line-height}" }
},
"hover": {
"color": { "value": "{amsterdam.link-appearance.hover.color}" },
diff --git a/proprietary/tokens/src/components/amsterdam/link.tokens.json b/proprietary/tokens/src/components/amsterdam/link.tokens.json
index 75b063f8f4..929a6afcb5 100644
--- a/proprietary/tokens/src/components/amsterdam/link.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/link.tokens.json
@@ -26,6 +26,8 @@
}
},
"standalone": {
+ "font-size": { "value": "{amsterdam.typography.text-level.5.font-size}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.5.line-height}" },
"text-decoration-line": { "value": "{amsterdam.link-appearance.regular.text-decoration-line}" },
"text-decoration-thickness": { "value": "{amsterdam.link-appearance.text-decoration-thickness}" },
"text-underline-offset": { "value": "{amsterdam.link-appearance.text-underline-offset}" },
@@ -34,14 +36,6 @@
"value": "{amsterdam.link-appearance.regular.hover.text-decoration-thickness}"
},
"text-underline-offset": { "value": "{amsterdam.link-appearance.regular.hover.text-underline-offset}" }
- },
- "spacious": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" }
- },
- "compact": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" }
}
},
"on-background-dark": {
diff --git a/proprietary/tokens/src/components/amsterdam/mega-menu.tokens.json b/proprietary/tokens/src/components/amsterdam/mega-menu.tokens.json
index 88c7e10b32..88486b3e30 100644
--- a/proprietary/tokens/src/components/amsterdam/mega-menu.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/mega-menu.tokens.json
@@ -2,10 +2,10 @@
"amsterdam": {
"mega-menu": {
"list-category": {
- "column-gap": { "value": "{amsterdam.grid.spacious.gap}" },
+ "column-gap": { "value": "{amsterdam.grid.gap}" },
"column-width": { "value": "20rem" },
"padding-block-start": { "value": "1rem" },
- "padding-block-end": { "value": "{amsterdam.grid.spacious.gap}" }
+ "padding-block-end": { "value": "{amsterdam.grid.gap}" }
}
}
}
diff --git a/proprietary/tokens/src/components/amsterdam/ordered-list.tokens.json b/proprietary/tokens/src/components/amsterdam/ordered-list.tokens.json
index d566961b0b..0032f02c09 100644
--- a/proprietary/tokens/src/components/amsterdam/ordered-list.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/ordered-list.tokens.json
@@ -3,17 +3,11 @@
"ordered-list": {
"color": { "value": "{amsterdam.color.primary-black}" },
"font-family": { "value": "{amsterdam.typography.font-family}" },
+ "font-size": { "value": "{amsterdam.typography.text-level.5.font-size}" },
"font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
"gap": { "value": "0.75rem" },
+ "line-height": { "value": "{amsterdam.typography.text-level.5.line-height}" },
"list-style-type": { "value": "decimal" },
- "spacious": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" }
- },
- "compact": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" }
- },
"item": {
"margin-inline-start": {
"value": "2.25rem",
diff --git a/proprietary/tokens/src/components/amsterdam/page-heading.tokens.json b/proprietary/tokens/src/components/amsterdam/page-heading.tokens.json
index cd8908e6c5..05f4198b37 100644
--- a/proprietary/tokens/src/components/amsterdam/page-heading.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/page-heading.tokens.json
@@ -3,16 +3,10 @@
"page-heading": {
"color": { "value": "{amsterdam.color.primary-black}" },
"font-family": { "value": "{amsterdam.typography.font-family}" },
+ "font-size": { "value": "{amsterdam.typography.text-level.0.font-size}" },
"font-weight": { "value": "{amsterdam.typography.font-weight.bold}" },
"inverse-color": { "value": "{amsterdam.color.primary-white}" },
- "spacious": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.0.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.0.font-size}" }
- },
- "compact": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.0.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.0.font-size}" }
- }
+ "line-height": { "value": "{amsterdam.typography.text-level.0.font-size}" }
}
}
}
diff --git a/proprietary/tokens/src/components/amsterdam/page-menu.tokens.json b/proprietary/tokens/src/components/amsterdam/page-menu.tokens.json
index 6223d09a9a..534d7df1be 100644
--- a/proprietary/tokens/src/components/amsterdam/page-menu.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/page-menu.tokens.json
@@ -6,20 +6,14 @@
"item": {
"color": { "value": "{amsterdam.link-appearance.color}" },
"font-family": { "value": "{amsterdam.typography.font-family}" },
+ "font-size": { "value": "{amsterdam.typography.text-level.6.font-size}" },
"font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
"gap": { "value": "0.5rem" },
+ "line-height": { "value": "{amsterdam.typography.text-level.6.line-height}" },
"outline-offset": { "value": "{amsterdam.focus.outline-offset}" },
"text-decoration-line": { "value": "{amsterdam.link-appearance.subtle.text-decoration-line}" },
"text-decoration-thickness": { "value": "{amsterdam.link-appearance.text-decoration-thickness}" },
"text-underline-offset": { "value": "{amsterdam.link-appearance.text-underline-offset}" },
- "spacious": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.6.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.6.line-height}" }
- },
- "compact": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.6.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.6.line-height}" }
- },
"hover": {
"color": { "value": "{amsterdam.link-appearance.hover.color}" },
"text-decoration-line": { "value": "{amsterdam.link-appearance.subtle.hover.text-decoration-line}" }
diff --git a/proprietary/tokens/src/components/amsterdam/pagination.tokens.json b/proprietary/tokens/src/components/amsterdam/pagination.tokens.json
index 6cca52f715..4360328976 100644
--- a/proprietary/tokens/src/components/amsterdam/pagination.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/pagination.tokens.json
@@ -3,15 +3,9 @@
"pagination": {
"color": { "value": "{amsterdam.link-appearance.color}" },
"font-family": { "value": "{amsterdam.typography.font-family}" },
+ "font-size": { "value": "{amsterdam.typography.text-level.5.font-size}" },
"font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
- "spacious": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" }
- },
- "compact": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" }
- },
+ "line-height": { "value": "{amsterdam.typography.text-level.5.line-height}" },
"button": {
"outline-offset": { "value": "{amsterdam.focus.outline-offset}" },
"text-decoration-line": { "value": "{amsterdam.link-appearance.subtle.text-decoration-line}" },
diff --git a/proprietary/tokens/src/components/amsterdam/paragraph.tokens.json b/proprietary/tokens/src/components/amsterdam/paragraph.tokens.json
index 3999df3bc5..0b78d70f46 100644
--- a/proprietary/tokens/src/components/amsterdam/paragraph.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/paragraph.tokens.json
@@ -5,33 +5,17 @@
"font-family": { "value": "{amsterdam.typography.font-family}" },
"font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
"inverse-color": { "value": "{amsterdam.color.primary-white}" },
- "spacious": {
- "small": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.6.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.6.line-height}" }
- },
- "medium": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" }
- },
- "large": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.4.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.4.line-height}" }
- }
+ "small": {
+ "font-size": { "value": "{amsterdam.typography.text-level.6.font-size}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.6.line-height}" }
},
- "compact": {
- "small": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.6.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.6.line-height}" }
- },
- "medium": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" }
- },
- "large": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.4.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.4.line-height}" }
- }
+ "medium": {
+ "font-size": { "value": "{amsterdam.typography.text-level.5.font-size}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.5.line-height}" }
+ },
+ "large": {
+ "font-size": { "value": "{amsterdam.typography.text-level.4.font-size}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.4.line-height}" }
}
}
}
diff --git a/proprietary/tokens/src/components/amsterdam/search-field.tokens.json b/proprietary/tokens/src/components/amsterdam/search-field.tokens.json
index bb97585406..3e72d7401e 100644
--- a/proprietary/tokens/src/components/amsterdam/search-field.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/search-field.tokens.json
@@ -15,15 +15,17 @@
},
"color": { "value": "{amsterdam.color.primary-black}" },
"font-family": { "value": "{amsterdam.typography.font-family}" },
+ "font-size": { "value": "{amsterdam.typography.text-level.6.font-size}" },
"font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.6.line-height}" },
"outline-offset": { "value": "{amsterdam.focus.outline-offset}" },
"cancel-button": {
"background-image": {
"value": "url(\"data:image/svg+xml;utf8,
\")"
},
"color": { "value": "{amsterdam.color.primary-blue}" },
- "height": { "value": "{amsterdam.typography.spacious.text-level.6.font-size}" },
- "width": { "value": "{amsterdam.typography.spacious.text-level.6.font-size}" }
+ "height": { "value": "{amsterdam.typography.text-level.6.font-size}" },
+ "width": { "value": "{amsterdam.typography.text-level.6.font-size}" }
},
"hover": {
"box-shadow": {
@@ -32,14 +34,6 @@
},
"placeholder": {
"color": { "value": "{amsterdam.color.neutral-grey3}" }
- },
- "compact": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.6.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.6.line-height}" }
- },
- "spacious": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.6.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.6.line-height}" }
}
}
}
diff --git a/proprietary/tokens/src/components/amsterdam/skip-link.tokens.json b/proprietary/tokens/src/components/amsterdam/skip-link.tokens.json
index 8e9f937c47..f3f4586332 100644
--- a/proprietary/tokens/src/components/amsterdam/skip-link.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/skip-link.tokens.json
@@ -5,13 +5,9 @@
"color": { "value": "{amsterdam.color.primary-white}" },
"font-family": { "value": "{amsterdam.typography.font-family}" },
"font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.6.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.6.line-height}" },
+ "font-size": { "value": "{amsterdam.typography.text-level.6.font-size}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.6.line-height}" },
"outline-offset": { "value": "{amsterdam.focus.outline-offset}" },
- "compact": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.6.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.6.line-height}" }
- },
"hover": {
"background-color": { "value": "{amsterdam.color.dark-blue}" }
}
diff --git a/proprietary/tokens/src/components/amsterdam/table.tokens.json b/proprietary/tokens/src/components/amsterdam/table.tokens.json
index d1d78cbd80..ad90451455 100644
--- a/proprietary/tokens/src/components/amsterdam/table.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/table.tokens.json
@@ -4,8 +4,8 @@
"color": { "value": "{amsterdam.color.primary-black}" },
"font-family": { "value": "{amsterdam.typography.font-family}" },
"font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" },
+ "font-size": { "value": "{amsterdam.typography.text-level.5.font-size}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.5.line-height}" },
"caption": {
"font-weight": { "value": "{amsterdam.typography.font-weight.bold}" }
},
diff --git a/proprietary/tokens/src/components/amsterdam/text-input.tokens.json b/proprietary/tokens/src/components/amsterdam/text-input.tokens.json
index 9e842c62c0..95c1e64dc3 100644
--- a/proprietary/tokens/src/components/amsterdam/text-input.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/text-input.tokens.json
@@ -4,7 +4,9 @@
"box-shadow": { "value": "inset 0 0 0 1px {amsterdam.color.primary-black}" },
"color": { "value": "{amsterdam.color.primary-black}" },
"font-family": { "value": "{amsterdam.typography.font-family}" },
+ "font-size": { "value": "{amsterdam.typography.text-level.6.font-size}" },
"font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.6.line-height}" },
"outline-offset": { "value": "{amsterdam.focus.outline-offset}" },
"disabled": {
"background-color": { "value": "{amsterdam.color.primary-white}" },
@@ -22,14 +24,6 @@
},
"placeholder": {
"color": { "value": "{amsterdam.color.neutral-grey3}" }
- },
- "compact": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.6.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.6.line-height}" }
- },
- "spacious": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.6.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.6.line-height}" }
}
}
}
diff --git a/proprietary/tokens/src/components/amsterdam/top-task-link.tokens.json b/proprietary/tokens/src/components/amsterdam/top-task-link.tokens.json
index f67a4e39e6..bee69ba5a1 100644
--- a/proprietary/tokens/src/components/amsterdam/top-task-link.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/top-task-link.tokens.json
@@ -4,34 +4,22 @@
"description": {
"color": { "value": "{amsterdam.color.primary-black}" },
"font-family": { "value": "{amsterdam.typography.font-family}" },
+ "font-size": { "value": "{amsterdam.typography.text-level.6.font-size}" },
"font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
- "spacious": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.6.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.6.line-height}" }
- },
- "compact": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.6.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.6.line-height}" }
- }
+ "line-height": { "value": "{amsterdam.typography.text-level.6.line-height}" }
},
"label": {
"color": { "value": "{amsterdam.link-appearance.color}" },
"font-family": { "value": "{amsterdam.typography.font-family}" },
+ "font-size": { "value": "{amsterdam.typography.text-level.4.font-size}" },
"font-weight": { "value": "{amsterdam.typography.font-weight.bold}" },
+ "line-height": { "value": "{amsterdam.typography.text-level.4.line-height}" },
"text-decoration-line": { "value": "{amsterdam.link-appearance.subtle.text-decoration-line}" },
"text-decoration-thickness": { "value": "{amsterdam.link-appearance.text-decoration-thickness}" },
"text-underline-offset": { "value": "{amsterdam.link-appearance.text-underline-offset}" },
"hover": {
"color": { "value": "{amsterdam.color.dark-blue}" },
"text-decoration-line": { "value": "{amsterdam.link-appearance.subtle.hover.text-decoration-line}" }
- },
- "spacious": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.4.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.4.line-height}" }
- },
- "compact": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.4.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.4.line-height}" }
}
},
"outline-offset": { "value": "{amsterdam.focus.outline-offset}" }
diff --git a/proprietary/tokens/src/components/amsterdam/unordered-list.tokens.json b/proprietary/tokens/src/components/amsterdam/unordered-list.tokens.json
index aa33f763f0..e4ad15e7c1 100644
--- a/proprietary/tokens/src/components/amsterdam/unordered-list.tokens.json
+++ b/proprietary/tokens/src/components/amsterdam/unordered-list.tokens.json
@@ -3,17 +3,11 @@
"unordered-list": {
"color": { "value": "{amsterdam.color.primary-black}" },
"font-family": { "value": "{amsterdam.typography.font-family}" },
+ "font-size": { "value": "{amsterdam.typography.text-level.5.font-size}" },
"font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
"gap": { "value": "0.75rem" },
+ "line-height": { "value": "{amsterdam.typography.text-level.5.line-height}" },
"list-style-type": { "value": "'\\2022'" },
- "spacious": {
- "font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" }
- },
- "compact": {
- "font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" },
- "line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" }
- },
"item": {
"margin-inline-start": {
"value": "1.625rem",
diff --git a/proprietary/tokens/style-dictionary.config.json b/proprietary/tokens/style-dictionary.config.json
deleted file mode 100644
index b0fca77487..0000000000
--- a/proprietary/tokens/style-dictionary.config.json
+++ /dev/null
@@ -1,101 +0,0 @@
-{
- "source": ["./src/**/tokens.json", "./src/**/*.tokens.json"],
- "platforms": {
- "js": {
- "transforms": ["attribute/cti", "name/cti/camel", "color/hsl-4"],
- "buildPath": "dist/",
- "files": [
- {
- "destination": "index.js",
- "format": "javascript/es6"
- },
- {
- "format": "javascript/module",
- "destination": "tokens.js"
- }
- ]
- },
- "json": {
- "transforms": ["attribute/cti", "name/cti/camel", "color/hsl-4"],
- "buildPath": "dist/",
- "files": [
- {
- "destination": "index.tokens.json",
- "format": "json/nested"
- },
- {
- "destination": "index.json",
- "format": "json/flat"
- }
- ]
- },
- "css": {
- "transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
- "buildPath": "dist/",
- "files": [
- {
- "destination": "root.css",
- "format": "css/variables",
- "options": {
- "outputReferences": true
- }
- }
- ]
- },
- "css-theme": {
- "transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
- "buildPath": "dist/",
- "files": [
- {
- "destination": "index.css",
- "format": "css/variables",
- "options": {
- "selector": ".amsterdam-theme",
- "outputReferences": true
- }
- }
- ]
- },
- "scss": {
- "transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
- "buildPath": "dist/",
- "files": [
- {
- "destination": "_variables.scss",
- "format": "scss/variables",
- "options": {
- "outputReferences": true
- }
- }
- ]
- },
- "typescript": {
- "transforms": ["attribute/cti", "name/cti/camel", "color/hsl-4"],
- "transformGroup": "js",
- "buildPath": "dist/",
- "files": [
- {
- "format": "typescript/es6-declarations",
- "destination": "index.d.ts"
- },
- {
- "format": "typescript/module-declarations",
- "destination": "tokens.d.ts"
- }
- ]
- },
- "less": {
- "transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
- "buildPath": "dist/",
- "files": [
- {
- "destination": "variables.less",
- "format": "less/variables",
- "options": {
- "outputReferences": true
- }
- }
- ]
- }
- }
-}
diff --git a/storybook/storybook-docs/config/preview.tsx b/storybook/storybook-docs/config/preview.tsx
index 44eb52f93e..d1eec48c6f 100644
--- a/storybook/storybook-docs/config/preview.tsx
+++ b/storybook/storybook-docs/config/preview.tsx
@@ -1,4 +1,4 @@
-import '@amsterdam/design-system-tokens/dist/root.css'
+import '@amsterdam/design-system-tokens/dist/index.css'
import '@amsterdam/design-system-assets/font/index.css'
import '@amsterdam/design-system-css/dist/index.css'
import '../../storybook-overrides.css'
diff --git a/storybook/storybook-docs/src/color.stories.mdx b/storybook/storybook-docs/src/color.stories.mdx
index a072ed1030..3e4aa07d20 100644
--- a/storybook/storybook-docs/src/color.stories.mdx
+++ b/storybook/storybook-docs/src/color.stories.mdx
@@ -1,4 +1,4 @@
-import tokens from "@amsterdam/design-system-tokens/dist/index.tokens.json";
+import tokens from "@amsterdam/design-system-tokens/dist/index.json";
import { Meta } from "@storybook/blocks";
import { ColorPalette } from "./components/ColorPalette";
diff --git a/storybook/storybook-react/config/preview.tsx b/storybook/storybook-react/config/preview.tsx
index b2a9360236..91ac8e204a 100644
--- a/storybook/storybook-react/config/preview.tsx
+++ b/storybook/storybook-react/config/preview.tsx
@@ -1,4 +1,4 @@
-import '@amsterdam/design-system-tokens/dist/root.css'
+import '@amsterdam/design-system-tokens/dist/index.css'
import '@amsterdam/design-system-assets/font/index.css'
import '@amsterdam/design-system-css/dist/index.css'
import '../../storybook-overrides.css'
diff --git a/storybook/storybook-react/src/Grid/Grid.docs.mdx b/storybook/storybook-react/src/Grid/Grid.docs.mdx
index 968079d5f0..a6d0a561a1 100644
--- a/storybook/storybook-react/src/Grid/Grid.docs.mdx
+++ b/storybook/storybook-react/src/Grid/Grid.docs.mdx
@@ -11,23 +11,11 @@ import README from "../../../../packages/css/src/components/grid/README.md?raw";
The pink areas below represent the columns of the grid.
The spaces in between are white.
-### Spacious
-
-For websites, the grid is quite spacious.
-This is one of the core tenets of our visual identity.
-
The grid has 12 columns on wide screens, so all 12 cells in this example are in a row.
On narrow screens, you will see three rows of four columns; on medium-wide screens, one row of eight and one of four.
-### Compact
-
-For applications, so much white space is not necessary, even counterproductive.
-That’s why there is a compact version of the grid.
-
-
-
### Vertical Margin
Unlike the horizontal margins between columns, the vertical ones above and below are adjustable.
diff --git a/storybook/storybook-react/src/Grid/Grid.stories.tsx b/storybook/storybook-react/src/Grid/Grid.stories.tsx
index 5662ff19b0..fa20e98ef6 100644
--- a/storybook/storybook-react/src/Grid/Grid.stories.tsx
+++ b/storybook/storybook-react/src/Grid/Grid.stories.tsx
@@ -15,11 +15,6 @@ const meta = {
children: {
table: { disable: true },
},
- compact: {
- control: {
- type: 'boolean',
- },
- },
gapVertical: {
control: {
type: 'radio',
@@ -91,14 +86,6 @@ export const Default: Story = {
},
}
-export const Compact: Story = {
- ...StoryTemplate,
- args: {
- children: TwelveGridCells,
- compact: true,
- },
-}
-
export const VerticalSpace: Story = {
...StoryTemplate,
args: {
From 972a9e241082c49001ed191a9d443189fbe26d5d Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Fri, 9 Feb 2024 17:07:09 +0100
Subject: [PATCH 2/6] chore(release): Publish new release(s) (#1069)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Aram Limpens
---
.release-please-manifest.json | 6 +++---
packages/css/CHANGELOG.md | 15 +++++++++++++++
packages/react/CHANGELOG.md | 13 +++++++++++++
proprietary/tokens/CHANGELOG.md | 14 ++++++++++++++
4 files changed, 45 insertions(+), 3 deletions(-)
diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 5973185086..b7ebc54718 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,7 +1,7 @@
{
- "packages/css": "0.3.0",
- "packages/react": "0.3.0",
+ "packages/css": "0.5.0",
+ "packages/react": "0.5.0",
"proprietary/assets": "0.1.6",
"proprietary/react-icons": "0.1.11",
- "proprietary/tokens": "0.3.0"
+ "proprietary/tokens": "0.5.0"
}
diff --git a/packages/css/CHANGELOG.md b/packages/css/CHANGELOG.md
index e9472befb8..b5252e83e0 100644
--- a/packages/css/CHANGELOG.md
+++ b/packages/css/CHANGELOG.md
@@ -3,6 +3,21 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.5.0](https://github.com/Amsterdam/design-system/compare/@amsterdam/design-system-css@0.4.0...design-system-css-v0.5.0) (2024-02-09)
+
+
+### ⚠ BREAKING CHANGES
+
+* Add theme setup and compact theme ([#1067](https://github.com/Amsterdam/design-system/issues/1067))
+* Remove deprecated ‘in list’ variant of Link ([#1064](https://github.com/Amsterdam/design-system/issues/1064))
+
+### Features
+
+* Add theme setup and compact theme ([#1067](https://github.com/Amsterdam/design-system/issues/1067)) ([e773434](https://github.com/Amsterdam/design-system/commit/e7734347a9e7205d510a16a543294bde69b9c6f0))
+* Hyphenate headings and other large text components ([#1056](https://github.com/Amsterdam/design-system/issues/1056)) ([f875171](https://github.com/Amsterdam/design-system/commit/f8751716018d4ed269a086e1764741ad29714fa0))
+* Remove deprecated ‘in list’ variant of Link ([#1064](https://github.com/Amsterdam/design-system/issues/1064)) ([b30784b](https://github.com/Amsterdam/design-system/commit/b30784b352b4a057069ceb397951b79a6e2547f2))
+
+
## [0.4.0](https://github.com/Amsterdam/design-system/compare/@amsterdam/design-system-css@0.3.0...@amsterdam/design-system-css@0.4.0) (2024-01-31)
### ⚠ BREAKING CHANGES
diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md
index f94bfa8a72..2822723902 100644
--- a/packages/react/CHANGELOG.md
+++ b/packages/react/CHANGELOG.md
@@ -3,6 +3,19 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.5.0](https://github.com/Amsterdam/design-system/compare/@amsterdam/design-system-react@0.4.0...design-system-react-v0.5.0) (2024-02-09)
+
+
+### ⚠ BREAKING CHANGES
+
+* Add theme setup and compact theme ([#1067](https://github.com/Amsterdam/design-system/issues/1067))
+* Remove deprecated ‘in list’ variant of Link ([#1064](https://github.com/Amsterdam/design-system/issues/1064))
+
+### Features
+
+* Add theme setup and compact theme ([#1067](https://github.com/Amsterdam/design-system/issues/1067)) ([e773434](https://github.com/Amsterdam/design-system/commit/e7734347a9e7205d510a16a543294bde69b9c6f0))
+* Remove deprecated ‘in list’ variant of Link ([#1064](https://github.com/Amsterdam/design-system/issues/1064)) ([b30784b](https://github.com/Amsterdam/design-system/commit/b30784b352b4a057069ceb397951b79a6e2547f2))
+
## [0.4.0](https://github.com/Amsterdam/design-system/compare/@amsterdam/design-system-react@0.3.0...@amsterdam/design-system-react@0.4.0) (2024-01-31)
### ⚠ BREAKING CHANGES
diff --git a/proprietary/tokens/CHANGELOG.md b/proprietary/tokens/CHANGELOG.md
index e28bbb46ad..39f333265c 100644
--- a/proprietary/tokens/CHANGELOG.md
+++ b/proprietary/tokens/CHANGELOG.md
@@ -3,6 +3,20 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.5.0](https://github.com/Amsterdam/design-system/compare/@amsterdam/design-system-tokens@0.4.0...design-system-tokens-v0.5.0) (2024-02-09)
+
+
+### ⚠ BREAKING CHANGES
+
+* Add theme setup and compact theme ([#1067](https://github.com/Amsterdam/design-system/issues/1067))
+* Remove deprecated ‘in list’ variant of Link ([#1064](https://github.com/Amsterdam/design-system/issues/1064))
+
+### Features
+
+* Add theme setup and compact theme ([#1067](https://github.com/Amsterdam/design-system/issues/1067)) ([e773434](https://github.com/Amsterdam/design-system/commit/e7734347a9e7205d510a16a543294bde69b9c6f0))
+* Hyphenate headings and other large text components ([#1056](https://github.com/Amsterdam/design-system/issues/1056)) ([f875171](https://github.com/Amsterdam/design-system/commit/f8751716018d4ed269a086e1764741ad29714fa0))
+* Remove deprecated ‘in list’ variant of Link ([#1064](https://github.com/Amsterdam/design-system/issues/1064)) ([b30784b](https://github.com/Amsterdam/design-system/commit/b30784b352b4a057069ceb397951b79a6e2547f2))
+
## [0.4.0](https://github.com/Amsterdam/design-system/compare/@amsterdam/design-system-tokens@0.3.0...@amsterdam/design-system-tokens@0.4.0) (2024-01-31)
### ⚠ BREAKING CHANGES
From 740ff24dd3b733fae86f97b0e2740eebb5ca2b25 Mon Sep 17 00:00:00 2001
From: Aram Limpens
Date: Fri, 9 Feb 2024 17:22:34 +0100
Subject: [PATCH 3/6] Manually update version numbers
---
packages/css/package.json | 2 +-
packages/react/package.json | 2 +-
proprietary/tokens/package.json | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/packages/css/package.json b/packages/css/package.json
index 9185054434..b7da876500 100644
--- a/packages/css/package.json
+++ b/packages/css/package.json
@@ -1,5 +1,5 @@
{
- "version": "0.4.0",
+ "version": "0.5.0",
"author": "Community for NL Design System",
"description": "CSS files for components for the City of Amsterdam based on the NL Design System architecture",
"license": "EUPL-1.2",
diff --git a/packages/react/package.json b/packages/react/package.json
index ed5bb55d7b..972bb6aa68 100644
--- a/packages/react/package.json
+++ b/packages/react/package.json
@@ -1,5 +1,5 @@
{
- "version": "0.4.0",
+ "version": "0.5.0",
"author": "Community for NL Design System",
"description": "React component library bundle for the City of Amsterdam based on the NL Design System architecture",
"license": "EUPL-1.2",
diff --git a/proprietary/tokens/package.json b/proprietary/tokens/package.json
index fd63fd13b3..9815e13f61 100644
--- a/proprietary/tokens/package.json
+++ b/proprietary/tokens/package.json
@@ -1,5 +1,5 @@
{
- "version": "0.4.0",
+ "version": "0.5.0",
"author": "Community for NL Design System",
"description": "Design tokens for components for the City of Amsterdam based on the NL Design System architecture",
"license": "SEE LICENSE IN LICENSE.md",
From c7f12c048e1f754f7347ca2630d844752b58f876 Mon Sep 17 00:00:00 2001
From: Aram <37216945+alimpens@users.noreply.github.com>
Date: Fri, 9 Feb 2024 17:48:12 +0100
Subject: [PATCH 4/6] fix: Sync release please version numbers to released
versions (#1070)
---
.release-please-manifest.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index b7ebc54718..4624742d29 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,7 +1,7 @@
{
"packages/css": "0.5.0",
"packages/react": "0.5.0",
- "proprietary/assets": "0.1.6",
- "proprietary/react-icons": "0.1.11",
+ "proprietary/assets": "0.1.7",
+ "proprietary/react-icons": "0.1.12",
"proprietary/tokens": "0.5.0"
}
From a13817bf07914e2d4ac5e1d5fa5af09c1893fa2f Mon Sep 17 00:00:00 2001
From: Aram <37216945+alimpens@users.noreply.github.com>
Date: Mon, 12 Feb 2024 14:01:32 +0100
Subject: [PATCH 5/6] chore: Update release please bootstrap SHA (#1072)
---
release-please-config.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/release-please-config.json b/release-please-config.json
index 390c3dcfa9..686a4f9ef7 100644
--- a/release-please-config.json
+++ b/release-please-config.json
@@ -1,6 +1,6 @@
{
"plugins": ["node-workspace"],
- "bootstrap-sha": "3bc9765e9de9553db5b643d2ed79735837d4d7b6",
+ "bootstrap-sha": "740ff24dd3b733fae86f97b0e2740eebb5ca2b25",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"group-pull-request-title-pattern": "chore(release): Publish new release(s)",
From d53d0a93f18238759d85bd897a7b6ee537cc78b0 Mon Sep 17 00:00:00 2001
From: Aram <37216945+alimpens@users.noreply.github.com>
Date: Mon, 12 Feb 2024 14:04:58 +0100
Subject: [PATCH 6/6] feat: Create unique token classes (#1071)
---
proprietary/tokens/build.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/proprietary/tokens/build.js b/proprietary/tokens/build.js
index ccb0a46247..5ffe1d2997 100644
--- a/proprietary/tokens/build.js
+++ b/proprietary/tokens/build.js
@@ -3,7 +3,7 @@ const StyleDictionary = require('style-dictionary')
const modes = ['compact']
function generateSharedConfig(mode) {
- const name = mode ? `${mode}` : 'index'
+ const name = mode || 'index'
return {
css: {
@@ -28,7 +28,7 @@ function generateSharedConfig(mode) {
destination: `${name}.theme.css`,
format: 'css/variables',
options: {
- selector: '.amsterdam-theme',
+ selector: `.amsterdam-theme${name === 'index' ? '' : `--${name}`}`,
outputReferences: true,
},
},