Skip to content

Commit 002f926

Browse files
committed
push up simple requested changes
1 parent 1308ea3 commit 002f926

File tree

4 files changed

+8
-21
lines changed

4 files changed

+8
-21
lines changed

src/ui/app/globals.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,19 @@ code {
1616
font-style: 'normal';
1717
font-weight: 400;
1818
src: url('./assets/fonts/spezia/spezia-regular.ttf') format('truetype');
19+
font-display: swap;
1920
}
2021
@font-face {
2122
font-family: 'Spezia';
2223
font-style: 'normal';
2324
font-weight: 500;
2425
src: url('./assets/fonts/spezia/spezia-medium.ttf') format('truetype');
26+
font-display: swap;
2527
}
2628
@font-face {
2729
font-family: 'SpeziaMono';
2830
font-style: 'normal';
2931
font-weight: 500;
3032
src: url('./assets/fonts/spezia/spezia-mono-medium.ttf') format('truetype');
33+
font-display: swap;
3134
}

src/ui/app/theme.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ import {
3232
DARK_SURFACE_CONTAINER_SHADE_4,
3333
DARK_SURFACE_CONTAINER_SHADE_5,
3434
CHARCOAL_NAVY,
35-
DODGER_BLUE,
3635
SEA_LION,
3736
MIDNIGHT_BLUE,
3837
DEEP_FOREST_GREEN,
@@ -429,7 +428,7 @@ export const muiThemeV3Light = createTheme({
429428
},
430429
surface: {
431430
onSurface: CHARCOAL_NAVY,
432-
onSurfaceAccent: DODGER_BLUE,
431+
onSurfaceAccent: NEURAL_BLUE,
433432
onSurfaceSubdued: SEA_LION,
434433
surface: SURFACE_SHADE_2,
435434
surfaceContainer: SURFACE_CONTAINER_SHADE_3,
@@ -482,7 +481,7 @@ export const themeV3LightName = 'muiThemeV3Light';
482481

483482
const DEFAULT_SURFACE_OPTIONS = {
484483
onSurface: CHARCOAL_NAVY,
485-
onSurfaceAccent: DODGER_BLUE,
484+
onSurfaceAccent: NEURAL_BLUE,
486485
onSurfaceSubdued: SEA_LION,
487486
surface: SURFACE_SHADE_2,
488487
surfaceContainer: SURFACE_CONTAINER_SHADE_3,
@@ -525,7 +524,7 @@ export const muiThemeV3Dark = createTheme({
525524
surface: {
526525
...DEFAULT_SURFACE_OPTIONS,
527526
onSurface: LAVENDER_GRAY,
528-
onSurfaceAccent: DODGER_BLUE,
527+
onSurfaceAccent: NEURAL_BLUE,
529528
onSurfaceSubdued: ASH_GRAY,
530529
surface: DARK_SURFACE_SHADE_1,
531530
surfaceContainer: DARK_SURFACE_CONTAINER_SHADE_3,

src/ui/lib/layouts/helpers/ContentCenterer.tsx

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,8 @@ type HasChildren = {
66
children: ReactNode;
77
};
88

9-
const getPaddingForBreakpoint = (breakpoint: string) => {
10-
switch (breakpoint) {
11-
case 'xs':
12-
return '16px';
13-
case 'sm':
14-
return '32px';
15-
case 'md':
16-
return '32px';
17-
case 'lg':
18-
return '32px';
19-
case 'xl':
20-
return '32px';
21-
default:
22-
return '32px';
23-
}
24-
};
9+
const getPaddingForBreakpoint = (breakpoint: string) =>
10+
breakpoint === 'xs' ? '16px' : '32px';
2511

2612
export const ContentCenterer = ({ children }: HasChildren) => {
2713
const breakpoint = useCurrentBreakpoint();

src/ui/lib/utils/Colors.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ export const SURFACE_CONTAINER_SHADE_4 = '#E7E8EE';
3131
export const SURFACE_CONTAINER_SHADE_5 = LAVENDER_GRAY;
3232

3333
export const CHARCOAL_NAVY = '#0F161F';
34-
export const DODGER_BLUE = '#2A8EFD';
3534
export const SEA_LION = '#7F8795';
3635
export const MIDNIGHT_BLUE = '#001B3C';
3736
export const DEEP_FOREST_GREEN = '#002112';

0 commit comments

Comments
 (0)