normalize NoticeBanner

This commit is contained in:
Alex Holliday committed 2026-04-29 09:37:37 -07:00
1 parent fef3f2c294
commit 5792ca624e
5 files changed
+25 -24

No files matched your search

+7 -6
View File
@@ -1,12 +1,13 @@
const typographyBase = 13;
export const typographyLevels = {
base: typographyBase,
xs: `${(typographyBase - 4) / 16}rem`,
s: `${(typographyBase - 2) / 16}rem`,
m: `${typographyBase / 16}rem`,
l: `${(typographyBase + 2) / 16}rem`,
xl: `${(typographyBase + 10) / 16}rem`,
base: typographyBase, // 13px
xs: `${(typographyBase - 4) / 16}rem`, // 9px
s: `${(typographyBase - 2) / 16}rem`, // 11px
m: `${typographyBase / 16}rem`, // 13px
l: `${(typographyBase + 2) / 16}rem`, // 15px
xl: `${(typographyBase + 5) / 16}rem`, // 18px
xxl: `${(typographyBase + 10) / 16}rem`, // 23px
};
export const colors = {
+1 -1
View File
@@ -58,7 +58,7 @@ export const theme = (mode: string, palette: any) =>
fontFamilyMonospace,
fontSize: typographyLevels.base,
h1: {
fontSize: typographyLevels.xl,
fontSize: typographyLevels.xxl,
fontWeight: 500,
},
h2: {
+1
View File
@@ -8,6 +8,7 @@ export const SPACING = {
} as const;
export const LAYOUT = {
XXS: 2,
XS: 4,
SM: 6,
MD: 8,