Files
native-app/tooling/tailwind/themes/index.ts
2024-03-08 21:53:03 +01:00

10 lines
263 B
TypeScript

import { allThemes } from "./all";
export { defaultTheme } from "./default";
export { allThemes } from "./all";
export const safeThemeList = allThemes
.flatMap(v=>v.selectors)
.filter(v=>v.startsWith("."))
.map(v=>v.slice(1)); // remove dot from selector