Skip to content

Commit

Permalink
feat(data): adding more legacy theme overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
ljemmo committed Sep 17, 2024
1 parent 4855c9e commit 125c97f
Show file tree
Hide file tree
Showing 5 changed files with 293 additions and 127 deletions.
23 changes: 6 additions & 17 deletions data/tokens/$themes.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,6 @@
"primitives.fontWeights.medium": "df54093ebe767f7a1bec04290d78805e3c2030f1",
"primitives.fontWeights.bold": "9b8e6bcd50f41a50fdffdd5cdd03539088295b0c",
"primitives.fontWeights.black": "df3982f3149b308b573dd5dda5325c360b4a3bf4",
"primitives.fontFamilies.sage-icons": "ba4c0c24c9ec3991b6c6b7f1ac357d4f17e71661",
"primitives.fontFamilies.sage-headline": "23c1d0cc52971a9981ecc3b0d63c18f6eb10e39e",
"primitives.fontFamilies.sage-ui": "f4f5bb9bb6bbea67bae43e27912e40fc1bea1b82",
"primitives.fontFamilies.sage-text": "d707e2ce5bc4a0205426f7170c4e974af3cf4f69",
"primitives.fontFamilies.other": "107fd79047326611454e990b57472c62e4bffe48",
"primitives.fontSize.responsive.step-2": "eb748c3898b287d319d3474ea5d7f5db7c8fe882",
"primitives.fontSize.responsive.step-1": "395030bf10db366ce81625d9a7dd6692717f1276",
"primitives.fontSize.responsive.step0": "12f1017d9038913a155c664395a2e7c07df0f377",
Expand All @@ -107,7 +102,12 @@
"primitives.paragraphSpacing.200": "41c8fedd49097d131f18c6610eed3427a930fc19",
"primitives.paragraphSpacing.250": "3cbb5fb2102d385f4b59f24598d16d5d01f36afe",
"primitives.paragraphSpacing.300": "acaf04a0f0ead8ac93770906674e9d8adb48b1e4",
"primitives.paragraphSpacing.400": "3e9f862cbe0eeb33e705127097593f80c5592f8b"
"primitives.paragraphSpacing.400": "3e9f862cbe0eeb33e705127097593f80c5592f8b",
"global.fontFamilies.sage-icons": "ba4c0c24c9ec3991b6c6b7f1ac357d4f17e71661",
"global.fontFamilies.sage-headline": "23c1d0cc52971a9981ecc3b0d63c18f6eb10e39e",
"global.fontFamilies.sage-ui": "f4f5bb9bb6bbea67bae43e27912e40fc1bea1b82",
"global.fontFamilies.sage-text": "d707e2ce5bc4a0205426f7170c4e974af3cf4f69",
"global.fontFamilies.other": "107fd79047326611454e990b57472c62e4bffe48"
},
"group": "Primitives"
},
Expand Down Expand Up @@ -3701,15 +3701,8 @@
"global.fontSize.adaptive.step1": "cf1833130baeb6f172eb2eceb06fee6fba78e1df",
"global.fontSize.adaptive.step2": "608e2e9ee31ff34d35cc04311bf90f1c0bdffcfd",
"global.fontSize.adaptive.step3": "a3f085ef38be440576b2c07673b921fc488350dd",
"global.fontSize.adaptive.step4": "1535e00d20d850c7e8e7dc3f426439d2c6c1848d",
"global.fontSize.adaptive.step5": "dd6dc15dab517532bec62808e4e9b9f0777003a9",
"global.fontSize.adaptive.step6": "cf0267ef0762480c7612cddc24037dc07a9204c5",
"global.fontSize.adaptive.step7": "4588493b33107257a2855a58e98ad1d3ca7a6d81",
"global.fontSize.adaptive.step8": "0e7e0d6877cfcadcdc4fd9770e74dafc2624560b",
"global.fontSize.adaptive.step9": "28f7cc94e25ef7ccc97a2b3b54eda898280d5f44",
"global.fontSize.adaptive.step10": "e95c384a50d92796d597b3ff3555acc2bc210a1e",
"global.fontSize.adaptive.step11": "ec1c213e383c37c57c7a7a43bdab1210bad3db24",
"global.fontSize.adaptive.step12": "5f12015355fcc7b27b00147fab1a2985977bc1d4",
"button.color.none": "73ae2d4d56fc8266f07879c88523b84610253dc6",
"button.color.standard.typical.toggle.label-active": "9f498c9a9b52f791ea9afb7f6b07d9ef86c1b258",
"button.color.standard.typical.tertiary.bg-enabled": "407512935e66bb5026c2461c77b195c53ef15b1a",
Expand Down Expand Up @@ -4605,16 +4598,13 @@
"form.color.standard.validation.bar-warning": "0e6878fe582f9cdca25e2ca755c0cdbe55cf1023",
"form.color.standard.validation.label-error": "01b7c910aac0105b1f2dad93ecff9693a25b3090",
"form.color.standard.validation.label-warning": "718bfa92821a3f239e57de20fe07f572f4217e82",
"form.radius.none": "3d2f6fbc55a154af2bfea86552f7caeb6acc989b",
"form.radius.checkbox": "f884f3c6a27d7bbc50b431578bc9a11133146bb8",
"form.radius.texteditorfooter": "0b1e6264c9c8b3295f42047d1a4690b66d84ea11",
"form.radius.colorpicker": "6804a91fa007d3c3e0fedbc2cc94b2ae7818ab63",
"form.radius.dropdown": "1fddd6e60dfefdba0e2332c82493aa84e68afc2d",
"form.radius.fileupload": "12ebee229cb5020300b772bae7611d04b7561093",
"form.radius.fileselector": "d02d5da9318ed095643afd194549bd906f22d1dc",
"form.radius.input": "5f3f36b3628fd8acabcd55f0fb58a8f4972c7baa",
"form.radius.radio": "31f8851ff2e57893831037c40b643b4794a01943",
"form.radius.switch": "ce3ba014a183fc6926ffff6f6a109bddbc420281",
"form.radius.validationbar": "081cf16e351bb6a6e2042ee022d356de052a3e6a",
"form.radius.calendar.none": "c76c5ed9b5e23d3635b9437f6fb85ba48b9c9bd2",
"form.radius.calendar.date": "5716b94210b1e434a8113d94a411d00a07741035",
Expand Down Expand Up @@ -5125,7 +5115,6 @@
"tab.radius.baseline.L": "930c1944a64fdbf7e100877815b0ee8fa8d37389",
"tab.radius.indicator.M": "cbe4cc3d29da9cef95ae9ee6f88a8de543cfdadf",
"tab.radius.indicator.L": "7c639023fc47abfc13f777db12f628b22653a9b8",
"tab.radius.none": "0ec2ae0a07c2829eb994db8aed7080be27e3d1b5",
"tab.borderwidth.navigation": "7cef44bca82b842ba52499451e19c554827f9949",
"table.color.header.subtle.bg-alt": "e192e577c48f855d27378a154c636ea7b0ad54a8",
"table.color.header.subtle.bg-default": "a54404b5bc07cd9bdc7b85cbba74095f92cb805a",
Expand Down
4 changes: 4 additions & 0 deletions data/tokens/components/page.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@
"value": "{modes.color.generic.bg.standard.faint}",
"type": "color"
},
"bg-alt-copy": {
"value": "{modes.color.generic.bg.standard.faint}",
"type": "color"
},
"text-alt": {
"value": "{modes.color.generic.content.standard.moderate}",
"type": "color",
Expand Down
189 changes: 181 additions & 8 deletions data/tokens/context/frozenproduct.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@
"type": "color"
}
}
},
"monochrome": {
"standard": {
"active": {
"value": "{primitives.colors.navy}",
"type": "color"
}
}
}
}
}
Expand Down Expand Up @@ -120,5 +112,186 @@
}
}
}
},
"form": {
"radius": {
"checkbox": {
"value": "{global.radius.interactive.XS}",
"type": "borderRadius",
"description": "S and M checkbox"
},
"texteditorfooter": {
"value": "{global.radius.interactive.S}",
"type": "borderRadius",
"description": "AI text editor footer"
},
"colorpicker": {
"value": "{global.radius.interactive.L}",
"type": "borderRadius",
"description": "Color picker (swatch container), \n"
},
"dropdown": {
"value": "{popover.radius.container}",
"type": "borderRadius",
"description": "REF POPOVER. Popover container."
},
"fileupload": {
"value": "{global.radius.interactive.S}",
"type": "borderRadius",
"description": "File input (file uploads)"
},
"fileselector": {
"value": "{global.radius.interactive.S}",
"type": "borderRadius",
"description": "File preview (file selector asset)"
},
"input": {
"value": "{global.radius.interactive.S}",
"type": "borderRadius",
"description": "Date picker input, Date range input, Dropdown select (trigger), Search, File input (draggable area), Text area, Text input"
},
"validationbar": {
"value": "{global.radius.interactive.XXS}",
"type": "borderRadius",
"description": "Validation bar"
}
}
},
"container": {
"radius": {
"card": {
"moderate": {
"value": "{global.radius.container.M}",
"type": "borderRadius",
"description": "Card (less rounded)"
},
"curved": {
"value": "{global.radius.container.L}",
"type": "borderRadius",
"description": "Card (more rounded)"
},
"sweeping": {
"value": "{global.radius.container.XL}",
"type": "borderRadius",
"description": "Card largest rounded type"
}
},
"tile": {
"moderate": {
"value": "{global.radius.container.M}",
"type": "borderRadius",
"description": "Tile (less rounded)"
},
"curved": {
"value": "{global.radius.container.L}",
"type": "borderRadius",
"description": "Tile (more rounded)"
},
"sweeping": {
"value": "{global.radius.container.XL}",
"type": "borderRadius",
"description": "Tile largest roundedness\n"
}
},
"tileselect": {
"moderate": {
"value": "{global.radius.container.M}",
"type": "borderRadius",
"description": "Tile (less rounded)"
},
"curved": {
"value": "{global.radius.container.L}",
"type": "borderRadius",
"description": "Tile (more rounded)"
},
"sweeping": {
"value": "{global.radius.container.XL}",
"type": "borderRadius"
}
}
}
},
"global": {
"fontSize": {
"adaptive": {
"step-2": {
"value": "12",
"type": "fontSizes"
},
"step-1": {
"value": "12",
"type": "fontSizes"
},
"step0": {
"value": "14",
"type": "fontSizes"
},
"step1": {
"value": "16",
"type": "fontSizes"
},
"step2": {
"value": "18",
"type": "fontSizes"
},
"step3": {
"value": "20",
"type": "fontSizes"
},
"step5": {
"value": "24",
"type": "fontSizes"
},
"step11": {
"value": "82",
"type": "fontSizes"
}
}
},
"fontFamilies": {
"sage-headline": {
"value": "Sage UI",
"type": "fontFamilies",
"description": "override to make everything Sage UI"
},
"sage-text": {
"value": "Sage UI",
"type": "fontFamilies",
"description": "override to make everything Sage UI"
}
}
},
"tab": {
"radius": {
"M": {
"value": "{global.radius.interactive.S}",
"type": "borderRadius",
"description": "Tab horizontal - top corners. Tab vertical - left corners."
},
"L": {
"value": "{global.radius.interactive.S}",
"type": "borderRadius",
"description": "Tab horizontal - top corners. Tab vertical - left corners."
}
}
},
"nav": {
"radius": {
"menumodal": {
"value": "{global.radius.interactive.M}",
"type": "borderRadius",
"description": "Menu on mobile"
}
}
},
"page": {
"color": {
"standard": {
"bg-alt": {
"value": "#F2F5F6",
"type": "color"
}
}
}
}
}
Loading

0 comments on commit 125c97f

Please sign in to comment.