Merged in feat/update-tokens (pull request #1611)
feat(SW-2027): update variables.json * feat(SW-2027): update variables.json * fix(SW-2027). replace old tokens * fix(SW-2027): remove uppercase check Approved-by: Michael Zetterberg Approved-by: Erik Tiekstra
This commit is contained in:
@@ -49,8 +49,10 @@ export const theme = {
|
||||
'Tag/Text-Transform': 'uppercase',
|
||||
'Link/md/Font fallback': 'sans-serif',
|
||||
'Link/md/Letter spacing': 0.19,
|
||||
'Link/md/Text-Decoration': 'underline',
|
||||
'Link/sm/Font fallback': 'sans-serif',
|
||||
'Link/sm/Letter spacing': 0.2,
|
||||
'Link/sm/Text-Decoration': 'underline',
|
||||
'Body/Lead text/Font fallback': 'sans-serif',
|
||||
'Body/Paragraph/Font fallback': 'sans-serif',
|
||||
'Body/Paragraph/Letter spacing': 0.19,
|
||||
@@ -61,8 +63,10 @@ export const theme = {
|
||||
'Label/Letter spacing': 0.17,
|
||||
'Body/Underline/md/Font fallback': 'sans-serif',
|
||||
'Body/Underline/md/Letter spacing': 0.19,
|
||||
'Body/Underline/md/Text-Decoration': 'underline',
|
||||
'Body/Underline/sm/Font fallback': 'sans-serif',
|
||||
'Body/Underline/sm/Letter spacing': 0.2,
|
||||
'Body/Underline/sm/Text-Decoration': 'underline',
|
||||
'Surface/Brand/Primary 1/OnSurface/Default': '#FFFFFF',
|
||||
'Surface/Brand/Primary 1/OnSurface/Accent': '#FFFFFF',
|
||||
'Surface/Brand/Primary 1/OnSurface/Accent Secondary': '#FFFFFF',
|
||||
@@ -132,6 +136,11 @@ export const theme = {
|
||||
'Text/Interactive/Error': '#AD0015',
|
||||
'Text/Interactive/Placeholder': '#747474',
|
||||
'Text/Brand/OnAccent/Heading': '#1F1F1F',
|
||||
'Text/Feedback/Information Accent': '#284EA0',
|
||||
'Text/Feedback/Succes Accent': '#348337',
|
||||
'Text/Feedback/Warning Accent': '#D17308',
|
||||
'Text/Feedback/Error Accent': '#AD0015',
|
||||
'Text/Feedback/Neutral Accent': '#747474',
|
||||
'Text/Brand/OnAccent/Default': '#1F1F1F',
|
||||
'Text/Brand/OnAccent/Accent': '#1F1F1F',
|
||||
'Text/Brand/OnPrimary 1/Heading': '#1F1F1F',
|
||||
@@ -152,7 +161,7 @@ export const theme = {
|
||||
'Surface/Primary/OnSurface/Default': '#F7F6F5',
|
||||
'Surface/Primary/Disabled': '#E9E9E9',
|
||||
'Surface/Secondary/Default': '#F7F6F5',
|
||||
'Surface/Secondary/Secondary': '#F7F6F5',
|
||||
'Surface/Secondary/Default dark': '#EBEAE9',
|
||||
'Surface/Secondary/Hover': '#ebeae9',
|
||||
'Surface/Brand/Accent/Default': '#B2ADA7',
|
||||
'Surface/Brand/Primary 1/Default': '#DBA7B1',
|
||||
@@ -186,6 +195,7 @@ export const theme = {
|
||||
'Icon/Accent': '#DBA7B1',
|
||||
'Icon/Interactive/Default': '#21252B',
|
||||
'Icon/Interactive/Secondary': '#AA546B',
|
||||
'Icon/Interactive/Accent': '#AA546B',
|
||||
'Icon/Interactive/Disabled': '#BFBFBF',
|
||||
'Icon/Interactive/Placeholder': '#747474',
|
||||
'Icon/Feedback/Information': '#284EA0',
|
||||
@@ -196,54 +206,56 @@ export const theme = {
|
||||
'Icon/Inverted': '#FFFFFF',
|
||||
'Overlay/10': '#1F1C1B1A',
|
||||
'Overlay/20': '#1F1C1B33',
|
||||
'Overlay/30': '#1F1C1B33',
|
||||
'Overlay/40': '#1F1C1B66',
|
||||
'Overlay/60': '#1F1C1B99',
|
||||
'Overlay/80': '#1F1C1BCC',
|
||||
'Overlay/90': '#1F1C1BE6',
|
||||
'Component/Button/Brand/Primary/Default': '#21252B',
|
||||
'Component/Button/Brand/Primary/Hover': '#34373d',
|
||||
'Component/Button/Brand/Primary/Disabled': '#1F1C1B1A',
|
||||
'Component/Button/Brand/Primary/Fill/Default': '#21252B',
|
||||
'Component/Button/Brand/Primary/Fill/Hover': '#34373d',
|
||||
'Component/Button/Brand/Primary/Fill/Disabled': '#1F1C1B1A',
|
||||
'Component/Button/Brand/Primary/On fill/Default': '#FFFFFF',
|
||||
'Component/Button/Brand/Primary/On fill/Hover': '#FFFFFF',
|
||||
'Component/Button/Brand/Primary/On fill/Disabled': '#8C8C8C',
|
||||
'Component/Button/Brand/Primary/Border/Default': '#FFFFFF00',
|
||||
'Component/Button/Brand/Primary/Border/Hover': '#FFFFFF00',
|
||||
'Component/Button/Brand/Primary/Border/Disabled': '#FFFFFF00',
|
||||
'Component/Button/Brand/Secondary/Default': '#FFFFFF00',
|
||||
'Component/Button/Brand/Secondary/Hover': '#FFFFFF00',
|
||||
'Component/Button/Brand/Secondary/Inverted': '#FFFFFF',
|
||||
'Component/Button/Brand/Secondary/Hover Inverted': '#B0C4CB',
|
||||
'Component/Button/Brand/Secondary/Disabled': '#1F1C1B1A',
|
||||
'Component/Button/Brand/Secondary/Fill/Default': '#FFFFFF00',
|
||||
'Component/Button/Brand/Secondary/Fill/Hover': '#FFFFFF00',
|
||||
'Component/Button/Brand/Secondary/Fill/Inverted': '#FFFFFF',
|
||||
'Component/Button/Brand/Secondary/Fill/Hover Inverted': '#B0C4CB',
|
||||
'Component/Button/Brand/Secondary/Fill/Disabled': '#1F1C1B1A',
|
||||
'Component/Button/Brand/Secondary/On fill/Default': '#21252B',
|
||||
'Component/Button/Brand/Secondary/On fill/Hover': '#3D444D',
|
||||
'Component/Button/Brand/Secondary/On fill/Inverted': '#FFFFFF',
|
||||
'Component/Button/Brand/Secondary/On fill/Hover inverted': '#b6b7b9',
|
||||
'Component/Button/Brand/Secondary/On fill/Disabled': '#8C8C8C',
|
||||
'Component/Button/Brand/Secondary/Border/Default': '#21252B',
|
||||
'Component/Button/Brand/Secondary/Border/Hover': '#3D444D',
|
||||
'Component/Button/Brand/Secondary/Border/Inverted': '#FFFFFF',
|
||||
'Component/Button/Brand/Secondary/Border/Hover inverted': '#e6e6e7',
|
||||
'Component/Button/Brand/Secondary/Border/Hover inverted': '#878a8d',
|
||||
'Component/Button/Brand/Secondary/Border/Disabled': '#1F1C1B1A',
|
||||
'Component/Button/Brand/Tertiary/Default': '#B0C4CB',
|
||||
'Component/Button/Brand/Tertiary/Hover': '#b8cad0',
|
||||
'Component/Button/Brand/Tertiary/Disabled': '#1F1C1B1A',
|
||||
'Component/Button/Brand/Tertiary/Fill/Default': '#B0C4CB',
|
||||
'Component/Button/Brand/Tertiary/Fill/Hover': '#b8cad0',
|
||||
'Component/Button/Brand/Tertiary/Fill/Disabled': '#1F1C1B1A',
|
||||
'Component/Button/Brand/Tertiary/On fill/Default': '#21252B',
|
||||
'Component/Button/Brand/Tertiary/On fill/Hover': '#34373d',
|
||||
'Component/Button/Brand/Tertiary/On fill/Disabled': '#8C8C8C',
|
||||
'Component/Button/Brand/Tertiary/Border/Default': '#FFFFFF00',
|
||||
'Component/Button/Brand/Tertiary/Border/Hover': '#FFFFFF00',
|
||||
'Component/Button/Brand/Tertiary/Border/Disabled': '#FFFFFF00',
|
||||
'Component/Button/Inverted/Default': '#FFFFFF',
|
||||
'Component/Button/Inverted/Faded': '#FFFFFFE6',
|
||||
'Component/Button/Inverted/Hover': '#f2f2f2',
|
||||
'Component/Button/Inverted/Hover Inverted': '#B0C4CB',
|
||||
'Component/Button/Inverted/Disabled': '#1F1C1B1A',
|
||||
'Component/Button/Inverted/Fill/Default': '#FFFFFF',
|
||||
'Component/Button/Inverted/Fill/Faded': '#FFFFFFE6',
|
||||
'Component/Button/Inverted/Fill/Hover': '#e6e5e5',
|
||||
'Component/Button/Inverted/Fill/Hover Inverted': '#B0C4CB',
|
||||
'Component/Button/Inverted/Fill/Disabled': '#1F1C1B1A',
|
||||
'Component/Button/Inverted/Border/Default': '#FFFFFF00',
|
||||
'Component/Button/Inverted/Border/Hover': '#FFFFFF1A',
|
||||
'Component/Button/Inverted/Border/Disable': '#FFFFFF1A',
|
||||
'Component/Button/Inverted/On fill/Default': '#21252B',
|
||||
'Component/Button/Inverted/On fill/Hover': '#34373d',
|
||||
'Component/Button/Inverted/On fill/Hover inverted': '#FFFFFF',
|
||||
'Component/Button/Inverted/On fill/Disabled': '#8C8C8C',
|
||||
'Component/Button/Inverted/Border/Default': '#FFFFFF00',
|
||||
'Component/Button/Inverted/Border/Hover': '#FFFFFF1A',
|
||||
'Component/Button/Inverted/Border/Disable': '#FFFFFF1A',
|
||||
'Border/Interactive/Default': '#BFBFBF',
|
||||
'Border/Divider/Default': '#D9D9D9',
|
||||
'Border/Divider/Subtle': '#E9E9E9',
|
||||
@@ -257,11 +269,11 @@ export const theme = {
|
||||
'Border/Interactive/Disabled': '#BFBFBF',
|
||||
'Border/Interactive/Error': '#AD0015',
|
||||
'Border/Interactive/KeyboardFocus': '#5B8FD4',
|
||||
'Component/Button/Muted/Default': '#FFFFFF',
|
||||
'Component/Button/Muted/Hover': '#FFFFFF',
|
||||
'Component/Button/Muted/Disabled': '#FFFFFF',
|
||||
'Component/Button/Muted/Hover inverted': '#f2f2f2',
|
||||
'Component/Button/Muted/Disabled inverted': '#D9D9D9',
|
||||
'Component/Button/Muted/Fill/Default': '#FFFFFF',
|
||||
'Component/Button/Muted/Fill/Hover': '#FFFFFF',
|
||||
'Component/Button/Muted/Fill/Disabled': '#FFFFFF',
|
||||
'Component/Button/Muted/Fill/Hover inverted': '#f2f2f2',
|
||||
'Component/Button/Muted/Fill/Disabled inverted': '#D9D9D9',
|
||||
'Component/Button/Muted/On fill/Default': '#1F1F1F',
|
||||
'Component/Button/Muted/On fill/Inverted': '#FFFFFF',
|
||||
'Component/Button/Muted/On fill/Hover Inverted': '#3D444D',
|
||||
|
||||
Reference in New Issue
Block a user