clampography 2.0.0-beta.20 → 2.0.0-beta.22
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.
- package/package.json +1 -1
- package/src/types/themes.d.ts +27 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clampography",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.22",
|
|
4
4
|
"description": "Fluid typography system based on CSS clamp() with optional themes and extra styles. A feature-rich alternative to Tailwind CSS Typography plugin.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
package/src/types/themes.d.ts
CHANGED
|
@@ -1,26 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
declare module "clampography/themes" {
|
|
2
|
+
export interface ThemeColors {
|
|
3
|
+
"color-scheme": "light" | "dark";
|
|
4
|
+
"--clampography-background": string;
|
|
5
|
+
"--clampography-border": string;
|
|
6
|
+
"--clampography-error": string;
|
|
7
|
+
"--clampography-heading": string;
|
|
8
|
+
"--clampography-info": string;
|
|
9
|
+
"--clampography-link": string;
|
|
10
|
+
"--clampography-muted": string;
|
|
11
|
+
"--clampography-primary": string;
|
|
12
|
+
"--clampography-secondary": string;
|
|
13
|
+
"--clampography-success": string;
|
|
14
|
+
"--clampography-surface": string;
|
|
15
|
+
"--clampography-text": string;
|
|
16
|
+
"--clampography-warning": string;
|
|
17
|
+
[key: string]: string;
|
|
18
|
+
}
|
|
17
19
|
|
|
18
|
-
export interface Themes {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
20
|
+
export interface Themes {
|
|
21
|
+
light: ThemeColors;
|
|
22
|
+
dark: ThemeColors;
|
|
23
|
+
retro: ThemeColors;
|
|
24
|
+
cyberpunk: ThemeColors;
|
|
25
|
+
}
|
|
24
26
|
|
|
25
|
-
export const themes: Themes;
|
|
26
|
-
export const themesList: string[];
|
|
27
|
+
export const themes: Themes;
|
|
28
|
+
export const themesList: string[];
|
|
29
|
+
}
|