uikit-react-public 0.37.2 → 0.38.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Alert/Alert.d.ts +1 -1
- package/dist/components/Alert/Alert.stories.d.ts +1 -1
- package/dist/components/Alert/AlertTitle.d.ts +1 -1
- package/dist/components/Datepicker/subcomponents/Panel.d.ts +1 -2
- package/dist/components/Overlay/Overlay.d.ts +2 -1
- package/dist/components/Overlay/Overlay.stories.d.ts +1 -0
- package/dist/components/Toggle/ToggleHandle.d.ts +1 -1
- package/dist/components/UclLogoNew/UclLogo.d.ts +2 -1
- package/dist/components/UclLogoNew/__tests__/UclLogo.test.d.ts +1 -0
- package/dist/components/WeekPicker/__tests__/WeekPicker.test.d.ts +1 -0
- package/dist/index.js +3479 -3396
- package/dist/theme/dark/darkColour.d.ts +1 -0
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/light/lightColour.d.ts +1 -0
- package/dist/theme/original/defaultTheme.d.ts +7 -0
- package/dist/theme/original/originalColourNewStructure.d.ts +1 -0
- package/dist/theme/useTheme.d.ts +12 -0
- package/lib/components/Alert/AlertMessage.tsx +5 -4
- package/lib/components/Alert/AlertTitle.tsx +6 -8
- package/lib/components/AppHeader/AppHeader.stories.tsx +3 -3
- package/lib/components/AppHeader/AppHeader.tsx +2 -2
- package/lib/components/AppHeader/AppHeaderBottom.tsx +2 -3
- package/lib/components/AppHeader/AppHeaderTop.tsx +1 -1
- package/lib/components/AppHeader/__tests__/__snapshots__/AppHeader.test.tsx.snap +1 -1
- package/lib/components/AppMenu/AppMenuContent.tsx +4 -5
- package/lib/components/AppMenu/AppMenuDivider.tsx +5 -6
- package/lib/components/AppMenu/AppMenuItem.tsx +6 -6
- package/lib/components/AppMenu/__tests__/__snapshots__/AppMenu.test.tsx.snap +1 -1
- package/lib/components/Avatar/Avatar.tsx +7 -5
- package/lib/components/Avatar/__tests__/__snapshots__/Avatar.test.tsx.snap +18 -18
- package/lib/components/Badge/Badge.tsx +12 -12
- package/lib/components/Badge/__tests__/Badge.test.tsx +84 -1
- package/lib/components/Badge/__tests__/__snapshots__/Badge.test.tsx.snap +2 -2
- package/lib/components/Blanket/Blanket.tsx +1 -1
- package/lib/components/Blanket/__tests__/__snapshots__/Blanket.test.tsx.snap +1 -1
- package/lib/components/Button/__tests__/Button.test.tsx +46 -1
- package/lib/components/Button/__tests__/__snapshots__/Button.test.tsx.snap +2 -2
- package/lib/components/Button/style/buttonAccentStyle.ts +1 -1
- package/lib/components/Button/style/buttonPrimaryDestructiveStyle.ts +1 -1
- package/lib/components/Button/style/buttonPrimaryWarningStyle.ts +1 -1
- package/lib/components/Button/style/buttonSecondarySubtleStyle.ts +1 -1
- package/lib/components/Calendar/Calendar.tsx +1 -0
- package/lib/components/Calendar/__tests__/__snapshots__/Calendar.test.tsx.snap +17 -17
- package/lib/components/Calendar/subcomponents/AcademicWeek.tsx +0 -1
- package/lib/components/Calendar/subcomponents/Day.tsx +2 -2
- package/lib/components/Chip/Chip.tsx +7 -8
- package/lib/components/Chip/__tests__/__snapshots__/Chip.test.tsx.snap +5 -5
- package/lib/components/CookieNotice/CookieNotice.tsx +3 -3
- package/lib/components/Datepicker/__tests__/Datepicker.test.tsx +58 -1
- package/lib/components/Datepicker/__tests__/__snapshots__/Datepicker.test.tsx.snap +6 -6
- package/lib/components/Datepicker/subcomponents/CustomDatepicker.tsx +32 -11
- package/lib/components/Datepicker/subcomponents/DatepickerInput.tsx +7 -6
- package/lib/components/Datepicker/subcomponents/Panel.tsx +3 -21
- package/lib/components/Datepicker/subcomponents/VisibleField.tsx +6 -8
- package/lib/components/Dialog/BaseDialog.tsx +3 -3
- package/lib/components/Divider/Divider.tsx +5 -3
- package/lib/components/FileInput/FileInput.tsx +1 -1
- package/lib/components/FileInput/__tests__/__snapshots__/FileInput.test.tsx.snap +2 -2
- package/lib/components/Footer/Footer.tsx +17 -17
- package/lib/components/Footer/FooterNavLink.tsx +3 -3
- package/lib/components/Footer/SocialLink.tsx +3 -3
- package/lib/components/Footer/__tests__/__snapshots__/Footer.test.tsx.snap +55 -55
- package/lib/components/FooterNew/BackToTop.tsx +1 -1
- package/lib/components/FooterNew/FooterColumn.tsx +1 -2
- package/lib/components/FooterNew/FooterNavLink.tsx +6 -5
- package/lib/components/FooterNew/LegalAndCopyright.tsx +15 -15
- package/lib/components/FooterNew/LogoAddressAndSocial.tsx +8 -6
- package/lib/components/FooterNew/SocialLink.tsx +4 -4
- package/lib/components/FooterNew/__tests__/__snapshots__/Footer.test.tsx.snap +44 -44
- package/lib/components/Header/Header.tsx +3 -3
- package/lib/components/Header/__tests__/__snapshots__/Header.test.tsx.snap +2 -2
- package/lib/components/HeaderDraft/HeaderBottomBreadcrumbs.tsx +3 -4
- package/lib/components/HeaderDraft/HeaderBottomHeadingAndAvatar.tsx +7 -7
- package/lib/components/HeaderDraft/HeaderBreadcrumb.tsx +4 -4
- package/lib/components/HeaderDraft/HeaderDraft.tsx +7 -7
- package/lib/components/HeaderDraft/__tests__/__snapshots__/Header.test.tsx.snap +5 -5
- package/lib/components/HeaderNew/Header.tsx +2 -2
- package/lib/components/HeaderNew/__tests__/__snapshots__/Header.test.tsx.snap +2 -2
- package/lib/components/Input/Input.tsx +6 -6
- package/lib/components/Input/__tests__/__snapshots__/Input.test.tsx.snap +4 -4
- package/lib/components/Label/Label.tsx +2 -2
- package/lib/components/Label/__tests__/__snapshots__/Label.test.tsx.snap +1 -1
- package/lib/components/Layout/Layout.stories.tsx +12 -12
- package/lib/components/Link/Link.tsx +4 -4
- package/lib/components/Menu/MenuContent.tsx +3 -3
- package/lib/components/Menu/MenuItem.tsx +10 -8
- package/lib/components/Menu/MenuSection.tsx +1 -1
- package/lib/components/Modal/Modal.tsx +5 -15
- package/lib/components/Modal/__tests__/__snapshots__/Modal.test.tsx.snap +2 -2
- package/lib/components/NativeDatepicker/NativeDatepicker.tsx +9 -7
- package/lib/components/Overlay/Overlay.tsx +17 -5
- package/lib/components/Radio/Radio.tsx +13 -4
- package/lib/components/Radio/__tests__/__snapshots__/Radio.test.tsx.snap +3 -3
- package/lib/components/Search/Search.tsx +2 -2
- package/lib/components/Search/__tests__/__snapshots__/Search.test.tsx.snap +2 -2
- package/lib/components/Select/subcomponents/CustomSelect.tsx +4 -4
- package/lib/components/Spinner/Spinner.stories.tsx +3 -3
- package/lib/components/Spinner/Spinner.tsx +1 -1
- package/lib/components/Table/__tests__/__snapshots__/Table.test.tsx.snap +3 -3
- package/lib/components/Table/subcomponents/Head.tsx +2 -2
- package/lib/components/Table/subcomponents/Row.tsx +1 -1
- package/lib/components/Textarea/Textarea.tsx +7 -8
- package/lib/components/Textarea/__tests__/__snapshots__/Textarea.test.tsx.snap +4 -4
- package/lib/components/Timepicker/Timepicker.tsx +6 -4
- package/lib/components/Toggle/Toggle.tsx +4 -2
- package/lib/components/Toggle/ToggleHandle.tsx +4 -2
- package/lib/components/Tooltip/Tooltip.tsx +8 -5
- package/lib/components/Tooltip/__tests__/__snapshots__/tooltip.test.tsx.snap +2 -2
- package/lib/components/UclLogo/UclLogoNegativeSpace.tsx +7 -3
- package/lib/components/UclLogoNew/UclLogo.tsx +8 -9
- package/lib/components/UclLogoNew/__tests__/UclLogo.test.tsx +41 -0
- package/lib/components/WeekPicker/__tests__/WeekPicker.test.tsx +36 -0
- package/lib/components/WeekPicker/subcomponents/CustomDatepicker.tsx +27 -11
- package/lib/components/WeekPicker/subcomponents/DatepickerInput.tsx +6 -6
- package/lib/components/WeekPicker/subcomponents/VisibleField.tsx +9 -9
- package/lib/theme/dark/darkColour.ts +2 -1
- package/lib/theme/dark/darkTheme.ts +8 -1
- package/lib/theme/index.ts +1 -0
- package/lib/theme/light/lightColour.ts +2 -1
- package/lib/theme/light/lightTheme.ts +7 -0
- package/lib/theme/original/defaultTheme.ts +10 -0
- package/lib/theme/original/originalColourNewStructure.ts +2 -1
- package/package.json +2 -2
|
@@ -44,27 +44,28 @@ const DatepickerInput = ({
|
|
|
44
44
|
height: 100%;
|
|
45
45
|
padding: 0 0 0 16px;
|
|
46
46
|
border: none;
|
|
47
|
-
color: ${theme.
|
|
47
|
+
color: ${theme.colour.text.default};
|
|
48
|
+
background-color: ${theme.colour.fill.inverse};
|
|
48
49
|
font-family: ${theme.font.family.primary};
|
|
49
50
|
font-size: ${theme.font.size.f16};
|
|
50
51
|
letter-spacing: 1px;
|
|
51
|
-
caret-color: ${theme.
|
|
52
|
+
caret-color: ${theme.colour.text.default};
|
|
52
53
|
|
|
53
54
|
&:focus {
|
|
54
55
|
outline: none;
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
&::placeholder {
|
|
58
|
-
color:
|
|
59
|
+
color: ${theme.colour.text.tertiary};
|
|
59
60
|
}
|
|
60
61
|
`;
|
|
61
62
|
|
|
62
63
|
const disabledStyle = css`
|
|
63
|
-
color: ${theme.
|
|
64
|
-
background-color: ${theme.
|
|
64
|
+
color: ${theme.colour.text.disabled};
|
|
65
|
+
background-color: ${theme.colour.fill.inverse};
|
|
65
66
|
|
|
66
67
|
&::placeholder {
|
|
67
|
-
color: ${theme.
|
|
68
|
+
color: ${theme.colour.text.disabled};
|
|
68
69
|
}
|
|
69
70
|
`;
|
|
70
71
|
|
|
@@ -1,36 +1,18 @@
|
|
|
1
|
-
import { css, cx } from '@emotion/css';
|
|
2
|
-
|
|
3
1
|
interface PanelProps {
|
|
4
|
-
zIndex?: number;
|
|
5
2
|
children: React.ReactNode;
|
|
6
3
|
}
|
|
7
4
|
|
|
8
5
|
const NAME = 'ucl-uikit-datepicker__panel';
|
|
9
6
|
|
|
10
|
-
const Panel = ({
|
|
11
|
-
zIndex = 10,
|
|
12
|
-
children,
|
|
13
|
-
}: PanelProps) => {
|
|
14
|
-
|
|
15
|
-
const datepickerHeight = 48;
|
|
16
|
-
const gapFromDatepicker = 8;
|
|
17
|
-
|
|
18
|
-
const baseStyle = css`
|
|
19
|
-
position: absolute;
|
|
20
|
-
top: ${datepickerHeight + gapFromDatepicker}px;
|
|
21
|
-
z-index: ${zIndex};
|
|
22
|
-
`;
|
|
23
|
-
|
|
24
|
-
const style = cx(NAME, baseStyle);
|
|
25
|
-
|
|
7
|
+
const Panel = ({ children }: PanelProps) => {
|
|
26
8
|
return (
|
|
27
9
|
<div
|
|
28
10
|
data-testid={NAME}
|
|
29
|
-
className={
|
|
11
|
+
className={NAME}
|
|
30
12
|
>
|
|
31
13
|
{children}
|
|
32
14
|
</div>
|
|
33
15
|
);
|
|
34
|
-
}
|
|
16
|
+
};
|
|
35
17
|
|
|
36
18
|
export default Panel;
|
|
@@ -43,8 +43,8 @@ const VisibleField = ({
|
|
|
43
43
|
width: 100%;
|
|
44
44
|
height: 100%;
|
|
45
45
|
box-sizing: border-box;
|
|
46
|
-
border: 1px solid ${theme.
|
|
47
|
-
background-color: ${theme.
|
|
46
|
+
border: 1px solid ${theme.colour.speciality.inputDefault};
|
|
47
|
+
background-color: ${theme.colour.fill.inverse};
|
|
48
48
|
|
|
49
49
|
&:focus-within {
|
|
50
50
|
box-shadow: ${theme.boxShadow.focus};
|
|
@@ -52,9 +52,9 @@ const VisibleField = ({
|
|
|
52
52
|
`;
|
|
53
53
|
|
|
54
54
|
const disabledStyle = css`
|
|
55
|
-
color: ${theme.
|
|
56
|
-
background-color: ${theme.
|
|
57
|
-
border-color: ${theme.
|
|
55
|
+
color: ${theme.colour.text.disabled};
|
|
56
|
+
background-color: ${theme.colour.fill.inverse};
|
|
57
|
+
border-color: ${theme.colour.border.disabled};
|
|
58
58
|
|
|
59
59
|
cursor: not-allowed;
|
|
60
60
|
// And child elements
|
|
@@ -88,9 +88,7 @@ const VisibleField = ({
|
|
|
88
88
|
// TODO: This ought to be fixed in the <Icon> component itself.
|
|
89
89
|
const iconStyle = css`
|
|
90
90
|
min-width: 24px;
|
|
91
|
-
color: ${disabled
|
|
92
|
-
? theme.color.text.disabled
|
|
93
|
-
: '#8C8C8C'}; // TODO: Needs a design token
|
|
91
|
+
color: ${disabled ? theme.colour.icon.disabled : theme.colour.icon.tertiary};
|
|
94
92
|
`;
|
|
95
93
|
|
|
96
94
|
// Determine which icon to show
|
|
@@ -177,8 +177,8 @@ const BaseDialog = forwardRef<HTMLDialogElement, BaseDialogProps>(
|
|
|
177
177
|
const baseStyle = css`
|
|
178
178
|
padding: 0;
|
|
179
179
|
border: none;
|
|
180
|
-
background: ${theme.
|
|
181
|
-
color: ${theme.
|
|
180
|
+
background: ${theme.colour.surface.default};
|
|
181
|
+
color: ${theme.colour.text.default};
|
|
182
182
|
font-family: ${theme.font.family.primary};
|
|
183
183
|
font-size: ${theme.font.size.f16};
|
|
184
184
|
width: 100vw;
|
|
@@ -202,7 +202,7 @@ const BaseDialog = forwardRef<HTMLDialogElement, BaseDialogProps>(
|
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
&::backdrop {
|
|
205
|
-
background-color: ${theme.
|
|
205
|
+
background-color: ${theme.colour.surface.backdrop};
|
|
206
206
|
}
|
|
207
207
|
`;
|
|
208
208
|
|
|
@@ -5,8 +5,10 @@ import marginsStyle, { MarginProps } from '../common/marginsStyle';
|
|
|
5
5
|
|
|
6
6
|
export const NAME = 'ucl-divider';
|
|
7
7
|
|
|
8
|
-
export interface DividerBaseProps
|
|
9
|
-
|
|
8
|
+
export interface DividerBaseProps extends Omit<
|
|
9
|
+
HTMLAttributes<HTMLHRElement>,
|
|
10
|
+
'children'
|
|
11
|
+
> {
|
|
10
12
|
testId?: string;
|
|
11
13
|
}
|
|
12
14
|
|
|
@@ -19,7 +21,7 @@ const Divider = ({ testId = NAME, className, ...props }: DividerProps) => {
|
|
|
19
21
|
margin: 0;
|
|
20
22
|
height: 1px;
|
|
21
23
|
border: none;
|
|
22
|
-
background-color: ${theme.
|
|
24
|
+
background-color: ${theme.colour.border.default};
|
|
23
25
|
`;
|
|
24
26
|
|
|
25
27
|
const style = cx(NAME, baseStyle, marginsStyle(props, theme), className);
|
|
@@ -23,7 +23,7 @@ const FileInput = ({
|
|
|
23
23
|
const baseStyle = css`
|
|
24
24
|
font-size: ${theme.font.size.f16};
|
|
25
25
|
font-family: ${theme.font.family.primary};
|
|
26
|
-
color: ${theme.
|
|
26
|
+
color: ${theme.colour.link.default};
|
|
27
27
|
`;
|
|
28
28
|
|
|
29
29
|
const hiddenInputContainerStyle = css`
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`Input > snapshot: no props 1`] = `
|
|
4
4
|
<div
|
|
5
|
-
class="ucl-uikit-fileinput css-
|
|
5
|
+
class="ucl-uikit-fileinput css-1ubxuij"
|
|
6
6
|
>
|
|
7
7
|
<label
|
|
8
8
|
class="css-1lc9iag"
|
|
@@ -39,7 +39,7 @@ exports[`Input > snapshot: no props 1`] = `
|
|
|
39
39
|
|
|
40
40
|
exports[`Input > snapshot: value prop 1`] = `
|
|
41
41
|
<div
|
|
42
|
-
class="ucl-uikit-fileinput css-
|
|
42
|
+
class="ucl-uikit-fileinput css-1ubxuij"
|
|
43
43
|
>
|
|
44
44
|
<label
|
|
45
45
|
class="css-1lc9iag"
|
|
@@ -34,8 +34,8 @@ const Footer = ({
|
|
|
34
34
|
const [theme] = useTheme();
|
|
35
35
|
|
|
36
36
|
const baseStyle = css`
|
|
37
|
-
background-color: ${theme.
|
|
38
|
-
color: ${theme.
|
|
37
|
+
background-color: ${theme.colour.surface.inverseBrandPrimary};
|
|
38
|
+
color: ${theme.colour.text.brandInverse};
|
|
39
39
|
font-family: ${theme.font.family.primary};
|
|
40
40
|
font-weight: 300;
|
|
41
41
|
padding: ${theme.padding.p40} 0 ${theme.padding.p40};
|
|
@@ -70,7 +70,7 @@ const Footer = ({
|
|
|
70
70
|
|
|
71
71
|
const uclLogoStyle = css`
|
|
72
72
|
height: 32px;
|
|
73
|
-
color: ${theme.
|
|
73
|
+
color: ${theme.colour.icon.brandInverse};
|
|
74
74
|
|
|
75
75
|
@media screen and (min-width: ${theme.breakpoints.tablet}px) {
|
|
76
76
|
margin-right: auto;
|
|
@@ -91,7 +91,7 @@ const Footer = ({
|
|
|
91
91
|
|
|
92
92
|
const contactInfoAndCopyrightStyle = css`
|
|
93
93
|
padding: ${theme.padding.p12} 0;
|
|
94
|
-
color: ${theme.
|
|
94
|
+
color: ${theme.colour.text.brandInverseSecondary};
|
|
95
95
|
display: flex;
|
|
96
96
|
flex-direction: column;
|
|
97
97
|
font-size: ${theme.font.size.f14};
|
|
@@ -151,7 +151,7 @@ const Footer = ({
|
|
|
151
151
|
margin-bottom: ${theme.margin.m8};
|
|
152
152
|
margin-right: ${theme.margin.m32};
|
|
153
153
|
text-decoration: none;
|
|
154
|
-
color: ${theme.
|
|
154
|
+
color: ${theme.colour.link.inverseSecondary};
|
|
155
155
|
transition: color 0.2s ease-out;
|
|
156
156
|
|
|
157
157
|
&:focus-visible {
|
|
@@ -206,48 +206,48 @@ const Footer = ({
|
|
|
206
206
|
<a
|
|
207
207
|
className={legalLinkStyle}
|
|
208
208
|
href={disclaimer}
|
|
209
|
-
target=
|
|
210
|
-
rel=
|
|
209
|
+
target='_blank'
|
|
210
|
+
rel='noopener noreferrer'
|
|
211
211
|
>
|
|
212
212
|
Disclaimer
|
|
213
213
|
</a>
|
|
214
214
|
<a
|
|
215
215
|
className={legalLinkStyle}
|
|
216
216
|
href={freedomOfInformation}
|
|
217
|
-
target=
|
|
218
|
-
rel=
|
|
217
|
+
target='_blank'
|
|
218
|
+
rel='noopener noreferrer'
|
|
219
219
|
>
|
|
220
220
|
Freedom of Information
|
|
221
221
|
</a>
|
|
222
222
|
<a
|
|
223
223
|
className={legalLinkStyle}
|
|
224
224
|
href={accessibility}
|
|
225
|
-
target=
|
|
226
|
-
rel=
|
|
225
|
+
target='_blank'
|
|
226
|
+
rel='noopener noreferrer'
|
|
227
227
|
>
|
|
228
228
|
Accessibility
|
|
229
229
|
</a>
|
|
230
230
|
<a
|
|
231
231
|
className={legalLinkStyle}
|
|
232
232
|
href={cookies}
|
|
233
|
-
target=
|
|
234
|
-
rel=
|
|
233
|
+
target='_blank'
|
|
234
|
+
rel='noopener noreferrer'
|
|
235
235
|
>
|
|
236
236
|
Cookies
|
|
237
237
|
</a>
|
|
238
238
|
<a
|
|
239
239
|
className={legalLinkStyle}
|
|
240
240
|
href={privacy}
|
|
241
|
-
target=
|
|
242
|
-
rel=
|
|
241
|
+
target='_blank'
|
|
242
|
+
rel='noopener noreferrer'
|
|
243
243
|
>
|
|
244
244
|
Privacy
|
|
245
245
|
</a>
|
|
246
246
|
<a
|
|
247
247
|
className={legalLinkStyle}
|
|
248
248
|
href={slaveryStatement}
|
|
249
|
-
target=
|
|
250
|
-
rel=
|
|
249
|
+
target='_blank'
|
|
250
|
+
rel='noopener noreferrer'
|
|
251
251
|
>
|
|
252
252
|
Slavery statement
|
|
253
253
|
</a>
|
|
@@ -21,7 +21,7 @@ const FooterNavLink = ({
|
|
|
21
21
|
const baseStyle = css`
|
|
22
22
|
margin: ${theme.margin.m8} 0;
|
|
23
23
|
text-decoration: none;
|
|
24
|
-
color: ${theme.
|
|
24
|
+
color: ${theme.colour.text.brandInverse};
|
|
25
25
|
transition: color 0.2s ease-out;
|
|
26
26
|
|
|
27
27
|
&:focus-visible {
|
|
@@ -30,12 +30,12 @@ const FooterNavLink = ({
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
&:visited {
|
|
33
|
-
color: ${theme.
|
|
33
|
+
color: ${theme.colour.text.brandInverse};
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
&:hover {
|
|
37
37
|
text-decoration: underline;
|
|
38
|
-
color: ${theme.
|
|
38
|
+
color: ${theme.colour.text.brandInverse};
|
|
39
39
|
}
|
|
40
40
|
`;
|
|
41
41
|
|
|
@@ -49,7 +49,7 @@ const SocialLink = ({
|
|
|
49
49
|
height: ${theme.height.h24};
|
|
50
50
|
border-radius: ${theme.radius.r8};
|
|
51
51
|
margin-left: ${theme.margin.m12};
|
|
52
|
-
color: ${theme.
|
|
52
|
+
color: ${theme.colour.icon.brandInverse};
|
|
53
53
|
transition: color 0.2s ease-out;
|
|
54
54
|
|
|
55
55
|
@media screen and (min-width: ${theme.breakpoints.tablet}px) {
|
|
@@ -58,7 +58,7 @@ const SocialLink = ({
|
|
|
58
58
|
|
|
59
59
|
&:visited,
|
|
60
60
|
&:active {
|
|
61
|
-
color: ${theme.
|
|
61
|
+
color: ${theme.colour.icon.brandInverse};
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
&:focus-visible {
|
|
@@ -67,7 +67,7 @@ const SocialLink = ({
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
&:hover {
|
|
70
|
-
color: ${theme.
|
|
70
|
+
color: ${theme.colour.icon.brandInverseSecondaryHover};
|
|
71
71
|
}
|
|
72
72
|
`;
|
|
73
73
|
|