remove dead code
This commit is contained in:
1 parent
d32ea7f8c3
commit
1398ab6721
5 files changed
+12
-201
No files matched your search
@@ -197,22 +197,3 @@ export const themeTokens: Record<StatusPageTheme, ThemeVariants> = {
|
||||
bold,
|
||||
editorial,
|
||||
};
|
||||
|
||||
export const toCssVars = (tokens: StatusPageThemeTokens): Record<string, string> => ({
|
||||
"--sp-bg": tokens.bg,
|
||||
"--sp-surface": tokens.surface,
|
||||
"--sp-border": tokens.border,
|
||||
"--sp-text": tokens.text,
|
||||
"--sp-text-muted": tokens.textMuted,
|
||||
"--sp-up": tokens.up,
|
||||
"--sp-up-strong": tokens.upStrong,
|
||||
"--sp-up-soft": tokens.upSoft,
|
||||
"--sp-degraded": tokens.degraded,
|
||||
"--sp-degraded-soft": tokens.degradedSoft,
|
||||
"--sp-down": tokens.down,
|
||||
"--sp-down-soft": tokens.downSoft,
|
||||
"--sp-warn": tokens.warn,
|
||||
"--sp-warn-soft": tokens.warnSoft,
|
||||
"--sp-radius": tokens.radius,
|
||||
...(tokens.chartBarRadius ? { "--sp-chart-bar-radius": tokens.chartBarRadius } : {}),
|
||||
});
|
||||
Reference in new issue
Block a user