Skip to content

Commit

Permalink
feat(theming cleanup): remove recolouring theme choices block
Browse files Browse the repository at this point in the history
  • Loading branch information
Ddouglasz committed Apr 22, 2024
1 parent bdc818a commit a9e6c67
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 135 deletions.
70 changes: 0 additions & 70 deletions design-system/materials/internals/definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -273,76 +273,6 @@ choiceGroupsByTheme:
break-point-giantdesktop: 1680px
break-point-jumbodesktop: 1920px

recolouring:
colors:
label: Colors
prefix: color
description: All colors in the system
choices:
color-primary: 'hsl(240, 64%, 58%)'
color-primary-10: 'hsl(240, 66%, 19%)'
color-primary-20: 'hsl(240, 45%, 33%)'
color-primary-25: 'hsl(240, 46%, 48%)'
color-primary-30: 'hsl(240, 46%, 53%)'
color-primary-40: 'hsl(240, 100%, 67%)'
color-primary-85: 'hsl(244, 100%, 84%)'
color-primary-90: 'hsl(243, 100%, 93%)'
color-primary-95: 'hsl(244, 100%, 97%)'
color-primary-98: 'hsl(244, 100%, 99%)'
color-accent-10: 'hsl(195, 100%, 10%)'
color-accent-20: 'hsl(195, 80%, 20%)'
color-accent-30: 'hsl(195, 70%, 30%)'
color-accent-40: 'hsl(195, 70%, 40%)'
color-accent-50: 'hsl(195, 70%, 50%)'
color-accent-60: 'hsl(195, 70%, 60%)'
color-accent-85: 'hsl(195, 85%, 85%)'
color-accent-90: 'hsl(195, 90%, 90%)'
color-accent-95: 'hsl(195, 95%, 95%)'
color-accent-98: 'hsl(195, 100%, 98%)'
color-brown-10: 'hsl(41, 100%, 10%)'
color-brown-20: 'hsl(41, 100%, 20%)'
color-brown-35: 'hsl(41, 96%, 35%)'
color-brown-50: 'hsl(41, 95%, 44%)'
color-brown-70: 'hsl(47, 95%, 70%)'
color-brown-85: 'hsl(47, 100%, 85%)'
color-brown-90: 'hsl(47, 100%, 90%)'
color-brown-95: 'hsl(47, 100%, 95%)'
color-brown-98: 'hsl(48, 100%, 97%)'
color-purple-10: 'hsl(248, 88%, 10%)'
color-purple-20: 'hsl(248, 50%, 20%)'
color-purple-35: 'hsl(248, 25%, 35%)'
color-purple-50: 'hsl(248, 64%, 58%)'
color-purple-70: 'hsl(248, 80%, 70%)'
color-purple-85: 'hsl(249, 100%, 85%)'
color-purple-90: 'hsl(248, 100%, 90%)'
color-purple-95: 'hsl(248, 100%, 95%)'
color-purple-98: 'hsl(246, 100%, 98%)'
color-turquoise-10: 'hsl(180, 88%, 10%)'
color-turquoise-20: 'hsl(180, 90%, 20%)'
color-turquoise-35: 'hsl(178, 88%, 35%)'
color-turquoise-50: 'hsl(178, 67%, 50%)'
color-turquoise-70: 'hsl(180, 75%, 70%)'
color-turquoise-85: 'hsl(180, 90%, 85%)'
color-turquoise-90: 'hsl(180, 88%, 90%)'
color-turquoise-95: 'hsl(180, 88%, 95%)'
color-turquoise-98: 'hsl(180, 100%, 98%)'
color-success: 'hsl(152, 77%, 39%)'
color-success-25: 'hsl(155, 84%, 20%)'
color-success-40: 'hsl(155, 90%, 24%)'
color-success-85: 'hsl(144, 69%, 80%)'
color-success-95: 'hsl(141, 76%, 92%)'
color-warning: 'hsl(35, 90%, 45%)'
color-warning-25: 'hsl(33, 83%, 25%)'
color-warning-40: 'hsl(33, 80%, 34%)'
color-warning-60: 'hsl(35, 90%, 55%)'
color-warning-85: 'hsl(33, 90%, 80%)'
color-warning-95: 'hsl(45, 100%, 92%)'
color-error: 'hsl(3, 65%, 58%)'
color-error-25: 'hsl(4, 69%, 37%)'
color-error-40: 'hsl(3, 60%, 46%)'
color-error-85: 'hsl(1, 55%, 74%)'
color-error-95: 'hsl(349, 66%, 92%)'

states:
active:
description: 'Trigged while the user is currently interacting with the element'
Expand Down
65 changes: 0 additions & 65 deletions design-system/src/design-tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,71 +227,6 @@ export const themes = {
shadowForInputWhenError: 'inset 0 0 0 1px var(--color-error)',
shadowForInputWhenWarning: 'inset 0 0 0 1px var(--color-warning)',
},
recolouring: {
colorPrimary: 'hsl(240, 64%, 58%)',
colorPrimary10: 'hsl(240, 66%, 19%)',
colorPrimary20: 'hsl(240, 45%, 33%)',
colorPrimary25: 'hsl(240, 46%, 48%)',
colorPrimary30: 'hsl(240, 46%, 53%)',
colorPrimary40: 'hsl(240, 100%, 67%)',
colorPrimary85: 'hsl(244, 100%, 84%)',
colorPrimary90: 'hsl(243, 100%, 93%)',
colorPrimary95: 'hsl(244, 100%, 97%)',
colorPrimary98: 'hsl(244, 100%, 99%)',
colorAccent10: 'hsl(195, 100%, 10%)',
colorAccent20: 'hsl(195, 80%, 20%)',
colorAccent30: 'hsl(195, 70%, 30%)',
colorAccent40: 'hsl(195, 70%, 40%)',
colorAccent50: 'hsl(195, 70%, 50%)',
colorAccent60: 'hsl(195, 70%, 60%)',
colorAccent85: 'hsl(195, 85%, 85%)',
colorAccent90: 'hsl(195, 90%, 90%)',
colorAccent95: 'hsl(195, 95%, 95%)',
colorAccent98: 'hsl(195, 100%, 98%)',
colorBrown10: 'hsl(41, 100%, 10%)',
colorBrown20: 'hsl(41, 100%, 20%)',
colorBrown35: 'hsl(41, 96%, 35%)',
colorBrown50: 'hsl(41, 95%, 44%)',
colorBrown70: 'hsl(47, 95%, 70%)',
colorBrown85: 'hsl(47, 100%, 85%)',
colorBrown90: 'hsl(47, 100%, 90%)',
colorBrown95: 'hsl(47, 100%, 95%)',
colorBrown98: 'hsl(48, 100%, 97%)',
colorPurple10: 'hsl(248, 88%, 10%)',
colorPurple20: 'hsl(248, 50%, 20%)',
colorPurple35: 'hsl(248, 25%, 35%)',
colorPurple50: 'hsl(248, 64%, 58%)',
colorPurple70: 'hsl(248, 80%, 70%)',
colorPurple85: 'hsl(249, 100%, 85%)',
colorPurple90: 'hsl(248, 100%, 90%)',
colorPurple95: 'hsl(248, 100%, 95%)',
colorPurple98: 'hsl(246, 100%, 98%)',
colorTurquoise10: 'hsl(180, 88%, 10%)',
colorTurquoise20: 'hsl(180, 90%, 20%)',
colorTurquoise35: 'hsl(178, 88%, 35%)',
colorTurquoise50: 'hsl(178, 67%, 50%)',
colorTurquoise70: 'hsl(180, 75%, 70%)',
colorTurquoise85: 'hsl(180, 90%, 85%)',
colorTurquoise90: 'hsl(180, 88%, 90%)',
colorTurquoise95: 'hsl(180, 88%, 95%)',
colorTurquoise98: 'hsl(180, 100%, 98%)',
colorSuccess: 'hsl(152, 77%, 39%)',
colorSuccess25: 'hsl(155, 84%, 20%)',
colorSuccess40: 'hsl(155, 90%, 24%)',
colorSuccess85: 'hsl(144, 69%, 80%)',
colorSuccess95: 'hsl(141, 76%, 92%)',
colorWarning: 'hsl(35, 90%, 45%)',
colorWarning25: 'hsl(33, 83%, 25%)',
colorWarning40: 'hsl(33, 80%, 34%)',
colorWarning60: 'hsl(35, 90%, 55%)',
colorWarning85: 'hsl(33, 90%, 80%)',
colorWarning95: 'hsl(45, 100%, 92%)',
colorError: 'hsl(3, 65%, 58%)',
colorError25: 'hsl(4, 69%, 37%)',
colorError40: 'hsl(3, 60%, 46%)',
colorError85: 'hsl(1, 55%, 74%)',
colorError95: 'hsl(349, 66%, 92%)',
},
} as const;

const designTokens = {
Expand Down

0 comments on commit a9e6c67

Please sign in to comment.