Skip to content

Commit 3d01e76

Browse files
authored
Changed colours to reflect primary/accent in theme (canada-ca#775)
1 parent 440c06e commit 3d01e76

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

frontend/src/LocaleSwitcher.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ const Toggler = (props) => {
1313
padding={0}
1414
onClick={() => activate(locale)}
1515
_focus={{
16-
outline: `3px solid yellow.250`,
16+
outline: `3px solid accent`,
1717
}}
18-
bg="blue.900"
18+
bg="primary"
1919
color="#fff"
2020
>
2121
<VisuallyHidden>{locales[locale]}</VisuallyHidden>
@@ -28,13 +28,13 @@ const Toggler = (props) => {
2828
d={{ base: 'none', md: 'flex' }}
2929
alignItems="center"
3030
justifyContent="center"
31-
_hover={{ color:"yellow.250", border:"1px solid", borderColor:"yellow.250" }}
31+
_hover={{ color:"accent", border:"1px solid", borderColor:"accent" }}
3232
>
3333
{locales[locale]}
3434
<Image
3535
src={ svgGlobe }
3636
px={2}
37-
alt={('Symbol of the Government of Canada')}
37+
alt={('SVG Globe')}
3838
/>
3939
</PseudoBox>
4040
<PseudoBox

frontend/src/Navigation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const Navigation = ({ children, ...props }) => {
1313
padding={{ sm: '0.6rem', md: '0.80rem', lg: '1rem', xl: '1rem' }}
1414
bg="#fff"
1515
py={15.5}
16-
color="blue.900"
16+
color="primary"
1717
borderBottom="2px solid"
1818
borderBottomColor="gray.300"
1919
{...props}

frontend/src/TopBanner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const TopBanner = props => {
1010
const { i18n } = useLingui()
1111

1212
return (
13-
<Flex bg="blue.900" borderBottom="3px solid" borderBottomColor="yellow.250">
13+
<Flex bg="primary" borderBottom="3px solid" borderBottomColor="accent">
1414
<Layout>
1515
<Flex
1616
maxW={{ sm: 540, md: 768, lg: 960, xl: 1200 }}

0 commit comments

Comments
 (0)