@yenio-pld/blocks 1.0.0 → 1.1.0-rc.1
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/dist/ui/button.d.ts +2 -2
- package/package.json +1 -1
- package/src/theme.css +20 -20
package/dist/ui/button.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import { Button as Button$1 } from '@base-ui/react/button';
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const buttonVariants: (props?: ({
|
|
7
|
-
variant?: "default" | "outline" | "secondary" | "ghost" | "destructive" |
|
|
8
|
-
size?: "default" | "
|
|
7
|
+
variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
8
|
+
size?: "default" | "sm" | "xs" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
9
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
10
|
declare function Button({ className, variant, size, ...props }: Button$1.Props & VariantProps<typeof buttonVariants>): React.JSX.Element;
|
|
11
11
|
|
package/package.json
CHANGED
package/src/theme.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* Provisional Yenio palette.
|
|
2
|
-
|
|
1
|
+
/* Provisional Yenio palette. Primary matches the isotype blue #2567d4.
|
|
2
|
+
This file is the only color-token source.
|
|
3
3
|
Import it after `tailwindcss`. Do not copy these values into an app.
|
|
4
4
|
CSS only: no JavaScript and no client boundary. */
|
|
5
5
|
|
|
@@ -12,33 +12,33 @@
|
|
|
12
12
|
--card-foreground: oklch(0.28 0.02 250);
|
|
13
13
|
--popover: oklch(0.995 0.002 230);
|
|
14
14
|
--popover-foreground: oklch(0.28 0.02 250);
|
|
15
|
-
--primary: oklch(0.
|
|
16
|
-
--primary-foreground: oklch(0.985 0.
|
|
15
|
+
--primary: oklch(0.536 0.181 260.13);
|
|
16
|
+
--primary-foreground: oklch(0.985 0.005 260);
|
|
17
17
|
--secondary: oklch(0.95 0.008 230);
|
|
18
18
|
--secondary-foreground: oklch(0.28 0.02 250);
|
|
19
19
|
--muted: oklch(0.95 0.006 230);
|
|
20
20
|
--muted-foreground: oklch(0.48 0.02 250);
|
|
21
21
|
--skeleton: oklch(0.9 0 0);
|
|
22
|
-
--accent: oklch(0.
|
|
22
|
+
--accent: oklch(0.94 0.025 260);
|
|
23
23
|
--accent-foreground: oklch(0.28 0.02 250);
|
|
24
24
|
--destructive: oklch(0.52 0.16 25);
|
|
25
25
|
--destructive-foreground: oklch(0.98 0.01 95);
|
|
26
26
|
--border: oklch(0.9 0.008 230);
|
|
27
27
|
--input: oklch(0.86 0.01 230);
|
|
28
|
-
--ring: oklch(0.
|
|
29
|
-
--chart-1: oklch(0.
|
|
28
|
+
--ring: oklch(0.536 0.181 260.13);
|
|
29
|
+
--chart-1: oklch(0.536 0.181 260.13);
|
|
30
30
|
--chart-2: oklch(0.55 0.07 170);
|
|
31
31
|
--chart-3: oklch(0.55 0.06 90);
|
|
32
32
|
--chart-4: oklch(0.55 0.08 30);
|
|
33
33
|
--chart-5: oklch(0.5 0.07 300);
|
|
34
34
|
--sidebar: oklch(0.975 0.006 230);
|
|
35
35
|
--sidebar-foreground: oklch(0.28 0.02 250);
|
|
36
|
-
--sidebar-primary: oklch(0.
|
|
37
|
-
--sidebar-primary-foreground: oklch(0.985 0.
|
|
38
|
-
--sidebar-accent: oklch(0.
|
|
36
|
+
--sidebar-primary: oklch(0.536 0.181 260.13);
|
|
37
|
+
--sidebar-primary-foreground: oklch(0.985 0.005 260);
|
|
38
|
+
--sidebar-accent: oklch(0.94 0.025 260);
|
|
39
39
|
--sidebar-accent-foreground: oklch(0.28 0.02 250);
|
|
40
40
|
--sidebar-border: oklch(0.9 0.008 230);
|
|
41
|
-
--sidebar-ring: oklch(0.
|
|
41
|
+
--sidebar-ring: oklch(0.536 0.181 260.13);
|
|
42
42
|
--font-sans: Inter, ui-sans-serif, sans-serif, system-ui;
|
|
43
43
|
--font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
|
|
44
44
|
--font-mono:
|
|
@@ -75,33 +75,33 @@
|
|
|
75
75
|
--card-foreground: oklch(0.9 0.01 230);
|
|
76
76
|
--popover: oklch(0.24 0.016 250);
|
|
77
77
|
--popover-foreground: oklch(0.9 0.01 230);
|
|
78
|
-
--primary: oklch(0.
|
|
79
|
-
--primary-foreground: oklch(0.
|
|
78
|
+
--primary: oklch(0.536 0.181 260.13);
|
|
79
|
+
--primary-foreground: oklch(0.985 0.005 260);
|
|
80
80
|
--secondary: oklch(0.3 0.012 250);
|
|
81
81
|
--secondary-foreground: oklch(0.9 0.01 230);
|
|
82
82
|
--muted: oklch(0.28 0.012 250);
|
|
83
83
|
--muted-foreground: oklch(0.68 0.015 230);
|
|
84
84
|
--skeleton: oklch(0.32 0 0);
|
|
85
|
-
--accent: oklch(0.
|
|
85
|
+
--accent: oklch(0.32 0.04 260);
|
|
86
86
|
--accent-foreground: oklch(0.95 0.01 230);
|
|
87
87
|
--destructive: oklch(0.65 0.15 25);
|
|
88
88
|
--destructive-foreground: oklch(0.98 0.005 250);
|
|
89
89
|
--border: oklch(0.34 0.012 250);
|
|
90
90
|
--input: oklch(0.34 0.012 250);
|
|
91
|
-
--ring: oklch(0.
|
|
92
|
-
--chart-1: oklch(0.7 0.
|
|
91
|
+
--ring: oklch(0.536 0.181 260.13);
|
|
92
|
+
--chart-1: oklch(0.7 0.14 260.13);
|
|
93
93
|
--chart-2: oklch(0.7 0.06 170);
|
|
94
94
|
--chart-3: oklch(0.75 0.05 95);
|
|
95
95
|
--chart-4: oklch(0.7 0.07 40);
|
|
96
96
|
--chart-5: oklch(0.68 0.07 310);
|
|
97
97
|
--sidebar: oklch(0.22 0.016 250);
|
|
98
98
|
--sidebar-foreground: oklch(0.9 0.01 230);
|
|
99
|
-
--sidebar-primary: oklch(0.
|
|
100
|
-
--sidebar-primary-foreground: oklch(0.
|
|
101
|
-
--sidebar-accent: oklch(0.
|
|
99
|
+
--sidebar-primary: oklch(0.536 0.181 260.13);
|
|
100
|
+
--sidebar-primary-foreground: oklch(0.985 0.005 260);
|
|
101
|
+
--sidebar-accent: oklch(0.32 0.04 260);
|
|
102
102
|
--sidebar-accent-foreground: oklch(0.95 0.01 230);
|
|
103
103
|
--sidebar-border: oklch(0.3 0.012 250);
|
|
104
|
-
--sidebar-ring: oklch(0.
|
|
104
|
+
--sidebar-ring: oklch(0.536 0.181 260.13);
|
|
105
105
|
--font-sans: Inter, ui-sans-serif, sans-serif, system-ui;
|
|
106
106
|
--font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
|
|
107
107
|
--font-mono:
|