clampography 2.0.0-beta.2 → 2.0.0-beta.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,32 @@
1
+ import type { PluginCreator } from "tailwindcss/types/config";
2
+
3
+ interface ThemePluginOptions {
4
+ name: string;
5
+ default?: boolean;
6
+ prefersdark?: boolean;
7
+ "color-scheme"?: "light" | "dark";
8
+ root?: string;
9
+ logs?: boolean;
10
+
11
+ // Color options
12
+ background?: string;
13
+ border?: string;
14
+ error?: string;
15
+ heading?: string;
16
+ info?: string;
17
+ link?: string;
18
+ muted?: string;
19
+ primary?: string;
20
+ secondary?: string;
21
+ success?: string;
22
+ surface?: string;
23
+ text?: string;
24
+ warning?: string;
25
+
26
+ // Allow custom CSS variables
27
+ [key: `--${string}`]: string | undefined;
28
+ }
29
+
30
+ declare const themePlugin: PluginCreator<ThemePluginOptions>;
31
+
32
+ export default themePlugin;
@@ -0,0 +1,18 @@
1
+ export interface ThemeColors {
2
+ "color-scheme": "light" | "dark";
3
+ "--clampography-background": string;
4
+ "--clampography-border": string;
5
+ "--clampography-error": string;
6
+ "--clampography-heading": string;
7
+ "--clampography-info": string;
8
+ "--clampography-link": string;
9
+ "--clampography-muted": string;
10
+ "--clampography-primary": string;
11
+ "--clampography-secondary": string;
12
+ "--clampography-success": string;
13
+ "--clampography-surface": string;
14
+ "--clampography-text": string;
15
+ "--clampography-warning": string;
16
+ // Allow index signature
17
+ [key: string]: string;
18
+ }