sudo-archive/themes/index.ts

10 lines
263 B
TypeScript
Raw Permalink Normal View History

2024-02-26 15:54:56 +00:00
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