|
5 | 5 | */ |
6 | 6 | import { palette as sourcePalette } from '@guardian/source/foundations'; |
7 | 7 | import { |
8 | | - buttonThemeBrand, |
9 | | - buttonThemeDefault, |
10 | 8 | themeButton, |
| 9 | + themeButtonBrand, |
11 | 10 | } from '@guardian/source/react-components'; |
12 | 11 | import { |
13 | 12 | expandingWrapperDarkTheme, |
@@ -887,20 +886,19 @@ const bylineUnderline: PaletteFunction = ({ theme }) => { |
887 | 886 | const calloutPromptLight: PaletteFunction = () => sourcePalette.brand[500]; |
888 | 887 | const calloutPromptDark: PaletteFunction = () => sourcePalette.brand[800]; |
889 | 888 |
|
890 | | -const calloutSubmitTextLight: PaletteFunction = () => |
891 | | - buttonThemeDefault.button.textPrimary; |
| 889 | +const calloutSubmitTextLight: PaletteFunction = () => themeButton.textPrimary; |
892 | 890 | const calloutSubmitTextDark: PaletteFunction = () => |
893 | | - buttonThemeBrand.button.textPrimary; |
| 891 | + themeButtonBrand.textPrimary; |
894 | 892 |
|
895 | 893 | const calloutSubmitBackgroundLight: PaletteFunction = () => |
896 | | - buttonThemeDefault.button.backgroundPrimary; |
| 894 | + themeButton.backgroundPrimary; |
897 | 895 | const calloutSubmitBackgroundDark: PaletteFunction = () => |
898 | | - buttonThemeBrand.button.backgroundPrimary; |
| 896 | + themeButtonBrand.backgroundPrimary; |
899 | 897 |
|
900 | 898 | const calloutSubmitBackgroundHoverLight: PaletteFunction = () => |
901 | | - buttonThemeDefault.button.backgroundPrimaryHover; |
| 899 | + themeButton.backgroundPrimaryHover; |
902 | 900 | const calloutSubmitBackgroundHoverDark: PaletteFunction = () => |
903 | | - buttonThemeBrand.button.backgroundPrimaryHover; |
| 901 | + themeButtonBrand.backgroundPrimaryHover; |
904 | 902 |
|
905 | 903 | export const expandingWrapper = { |
906 | 904 | '--expandingWrapper--background': { |
@@ -1977,11 +1975,11 @@ const clickToViewBorderDark: PaletteFunction = () => sourcePalette.neutral[46]; |
1977 | 1975 | const clickToViewButtonLight: PaletteFunction = () => sourcePalette.brand[400]; |
1978 | 1976 | const clickToViewButtonDark: PaletteFunction = () => sourcePalette.neutral[97]; |
1979 | 1977 | const clickToViewButtonTextLight: PaletteFunction = () => |
1980 | | - buttonThemeDefault.button.textPrimary; |
| 1978 | + themeButton.textPrimary; |
1981 | 1979 | const clickToViewButtonTextDark: PaletteFunction = () => |
1982 | 1980 | sourcePalette.neutral[7]; |
1983 | 1981 | const clickToViewButtonHoverLight: PaletteFunction = () => |
1984 | | - buttonThemeDefault.button.backgroundPrimaryHover; |
| 1982 | + themeButton.backgroundPrimaryHover; |
1985 | 1983 | const clickToViewButtonHoverDark: PaletteFunction = () => |
1986 | 1984 | sourcePalette.neutral[86]; |
1987 | 1985 |
|
|
0 commit comments