feat(web): add theme definition system with 5 built-in themes (#493)
All checks were successful
ci/woodpecker/push/web Pipeline was successful
All checks were successful
ci/woodpecker/push/web Pipeline was successful
Co-authored-by: Jason Woltje <jason@diversecanvas.com> Co-committed-by: Jason Woltje <jason@diversecanvas.com>
This commit was merged in pull request #493.
This commit is contained in:
18
apps/web/src/themes/index.ts
Normal file
18
apps/web/src/themes/index.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
export type { ThemeColors, ThemeDefinition, ThemeShadows, ThemeColorKey } from "./types";
|
||||
export { themeToVariables } from "./types";
|
||||
|
||||
export { darkTheme } from "./dark";
|
||||
export { lightTheme } from "./light";
|
||||
export { nordTheme } from "./nord";
|
||||
export { draculaTheme } from "./dracula";
|
||||
export { solarizedDarkTheme } from "./solarized-dark";
|
||||
|
||||
export {
|
||||
getAllThemes,
|
||||
getTheme,
|
||||
getThemeOrDefault,
|
||||
getDarkThemes,
|
||||
getLightThemes,
|
||||
isValidThemeId,
|
||||
DEFAULT_THEME_ID,
|
||||
} from "./registry";
|
||||
Reference in New Issue
Block a user