website refactor
This commit is contained in:
57
apps/website/ui/theme/Theme.ts
Normal file
57
apps/website/ui/theme/Theme.ts
Normal file
@@ -0,0 +1,57 @@
|
||||
export interface ThemeColors {
|
||||
bg: {
|
||||
base: string;
|
||||
surface: string;
|
||||
surfaceMuted: string;
|
||||
};
|
||||
border: {
|
||||
default: string;
|
||||
muted: string;
|
||||
};
|
||||
text: {
|
||||
high: string;
|
||||
med: string;
|
||||
low: string;
|
||||
};
|
||||
intent: {
|
||||
primary: string;
|
||||
telemetry: string;
|
||||
warning: string;
|
||||
success: string;
|
||||
critical: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ThemeRadii {
|
||||
none: string;
|
||||
sm: string;
|
||||
md: string;
|
||||
lg: string;
|
||||
xl: string;
|
||||
full: string;
|
||||
}
|
||||
|
||||
export interface ThemeShadows {
|
||||
none: string;
|
||||
sm: string;
|
||||
md: string;
|
||||
lg: string;
|
||||
xl: string;
|
||||
focus: string;
|
||||
}
|
||||
|
||||
export interface ThemeTypography {
|
||||
fontFamily: {
|
||||
sans: string;
|
||||
mono: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface Theme {
|
||||
id: string;
|
||||
name: string;
|
||||
colors: ThemeColors;
|
||||
radii: ThemeRadii;
|
||||
shadows: ThemeShadows;
|
||||
typography: ThemeTypography;
|
||||
}
|
||||
Reference in New Issue
Block a user