This commit is contained in:
commit
db82325ed7
216 files changed
+33718
No files matched your search
@@ -0,0 +1,27 @@
|
||||
export const themeTokens = {
|
||||
accent: "--blue",
|
||||
accentSoft: "--blue-light",
|
||||
background: "--bg",
|
||||
surface: "--surface",
|
||||
text: "--text",
|
||||
muted: "--muted",
|
||||
border: "--line",
|
||||
soft: "--soft",
|
||||
} as const;
|
||||
|
||||
export type Palette = Partial<Record<keyof typeof themeTokens, string>>;
|
||||
export type Palettes = Partial<Record<"light" | "dark", Palette>>;
|
||||
export type Plugin = {
|
||||
id: string;
|
||||
slug: string;
|
||||
version: string;
|
||||
name: string;
|
||||
description: string;
|
||||
};
|
||||
export type Extension = Plugin & {
|
||||
kind: "plugin" | "theme";
|
||||
enabled: boolean;
|
||||
sha256: string;
|
||||
created_at: string;
|
||||
palettes?: Palettes;
|
||||
};
|
||||
Reference in new issue
Block a user