RFC: added brandcolor for switch (#8213)
This commit is contained in:
1 parent
bdbf9bd04d
commit
de61b032b7
4 files changed
+26
-7
No files matched your search
@@ -183,12 +183,14 @@ const useGetBrandingColours = ({
|
||||
"cal-brand-emphasis": lightColourMap["400"],
|
||||
"cal-brand-subtle": lightColourMap["200"],
|
||||
"cal-brand-text": getWCAGContrastColor(lightColourMap["500"]),
|
||||
"cal-brand-accent": getWCAGContrastColor(lightColourMap["500"]),
|
||||
},
|
||||
dark: {
|
||||
"cal-brand": darkColourMap["500"],
|
||||
"cal-brand-emphasis": darkColourMap["600"],
|
||||
"cal-brand-subtle": darkColourMap["800"],
|
||||
"cal-brand-text": getWCAGContrastColor(darkColourMap["500"]),
|
||||
"cal-brand-accent": getWCAGContrastColor(darkColourMap["500"]),
|
||||
},
|
||||
};
|
||||
return theme;
|
||||
|
||||
Reference in new issue
Block a user