@gomiui/theme-dovisual 0.0.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/chunk-T3V2F3XP.mjs +70 -0
- package/dist/dovisual.d.ts +13 -0
- package/dist/dovisual.js +531 -0
- package/dist/dovisual.variants.d.ts +19 -0
- package/dist/dovisualTheme.d.ts +2 -0
- package/dist/dovisualTheme.d.ts.map +1 -0
- package/dist/icons.d.ts +3 -0
- package/dist/icons.d.ts.map +1 -0
- package/dist/icons.js +65 -0
- package/dist/icons.mjs +6 -0
- package/dist/source.d.ts +3 -0
- package/dist/source.d.ts.map +1 -0
- package/dist/source.js +538 -0
- package/dist/source.mjs +474 -0
- package/dist/theme.css +666 -0
- package/package.json +67 -0
- package/src/dovisualTheme.ts +474 -0
- package/src/icons.tsx +81 -0
- package/src/source.ts +4 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// src/icons.tsx
|
|
2
|
+
import {
|
|
3
|
+
X,
|
|
4
|
+
ChevronDown,
|
|
5
|
+
ChevronLeft,
|
|
6
|
+
ChevronRight,
|
|
7
|
+
ChevronsLeft,
|
|
8
|
+
ChevronsRight,
|
|
9
|
+
Check,
|
|
10
|
+
CheckCircle,
|
|
11
|
+
XCircle,
|
|
12
|
+
AlertTriangle,
|
|
13
|
+
Info,
|
|
14
|
+
Calendar,
|
|
15
|
+
Clock,
|
|
16
|
+
ExternalLink,
|
|
17
|
+
Menu,
|
|
18
|
+
MoreHorizontal,
|
|
19
|
+
Search,
|
|
20
|
+
ArrowUp,
|
|
21
|
+
ArrowDown,
|
|
22
|
+
ArrowUpDown,
|
|
23
|
+
Filter,
|
|
24
|
+
EyeOff,
|
|
25
|
+
Columns,
|
|
26
|
+
Copy,
|
|
27
|
+
CheckCheck,
|
|
28
|
+
Wrench,
|
|
29
|
+
Square,
|
|
30
|
+
Mic
|
|
31
|
+
} from "lucide-react";
|
|
32
|
+
import { jsx } from "react/jsx-runtime";
|
|
33
|
+
var iconProps = {
|
|
34
|
+
size: "1em",
|
|
35
|
+
"aria-hidden": true
|
|
36
|
+
};
|
|
37
|
+
var dovisualIconRegistry = {
|
|
38
|
+
close: /* @__PURE__ */ jsx(X, { ...iconProps }),
|
|
39
|
+
chevronDown: /* @__PURE__ */ jsx(ChevronDown, { ...iconProps }),
|
|
40
|
+
chevronLeft: /* @__PURE__ */ jsx(ChevronLeft, { ...iconProps }),
|
|
41
|
+
chevronRight: /* @__PURE__ */ jsx(ChevronRight, { ...iconProps }),
|
|
42
|
+
chevronsLeft: /* @__PURE__ */ jsx(ChevronsLeft, { ...iconProps }),
|
|
43
|
+
chevronsRight: /* @__PURE__ */ jsx(ChevronsRight, { ...iconProps }),
|
|
44
|
+
check: /* @__PURE__ */ jsx(Check, { ...iconProps }),
|
|
45
|
+
success: /* @__PURE__ */ jsx(CheckCircle, { ...iconProps }),
|
|
46
|
+
error: /* @__PURE__ */ jsx(XCircle, { ...iconProps }),
|
|
47
|
+
warning: /* @__PURE__ */ jsx(AlertTriangle, { ...iconProps }),
|
|
48
|
+
info: /* @__PURE__ */ jsx(Info, { ...iconProps }),
|
|
49
|
+
calendar: /* @__PURE__ */ jsx(Calendar, { ...iconProps }),
|
|
50
|
+
clock: /* @__PURE__ */ jsx(Clock, { ...iconProps }),
|
|
51
|
+
externalLink: /* @__PURE__ */ jsx(ExternalLink, { ...iconProps }),
|
|
52
|
+
menu: /* @__PURE__ */ jsx(Menu, { ...iconProps }),
|
|
53
|
+
moreHorizontal: /* @__PURE__ */ jsx(MoreHorizontal, { ...iconProps }),
|
|
54
|
+
search: /* @__PURE__ */ jsx(Search, { ...iconProps }),
|
|
55
|
+
arrowUp: /* @__PURE__ */ jsx(ArrowUp, { ...iconProps }),
|
|
56
|
+
arrowDown: /* @__PURE__ */ jsx(ArrowDown, { ...iconProps }),
|
|
57
|
+
arrowsUpDown: /* @__PURE__ */ jsx(ArrowUpDown, { ...iconProps }),
|
|
58
|
+
funnel: /* @__PURE__ */ jsx(Filter, { ...iconProps }),
|
|
59
|
+
eyeSlash: /* @__PURE__ */ jsx(EyeOff, { ...iconProps }),
|
|
60
|
+
viewColumns: /* @__PURE__ */ jsx(Columns, { ...iconProps }),
|
|
61
|
+
copy: /* @__PURE__ */ jsx(Copy, { ...iconProps }),
|
|
62
|
+
checkDouble: /* @__PURE__ */ jsx(CheckCheck, { ...iconProps }),
|
|
63
|
+
wrench: /* @__PURE__ */ jsx(Wrench, { ...iconProps }),
|
|
64
|
+
stop: /* @__PURE__ */ jsx(Square, { ...iconProps }),
|
|
65
|
+
microphone: /* @__PURE__ */ jsx(Mic, { ...iconProps })
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export {
|
|
69
|
+
dovisualIconRegistry
|
|
70
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated by `gomiui theme build` — do not edit manually.
|
|
3
|
+
* Source: src\dovisualTheme.ts
|
|
4
|
+
* Command: gomiui theme build src\dovisualTheme.ts --out dist\theme.css
|
|
5
|
+
* CLI: @gomiui/cli@0.0.2
|
|
6
|
+
* Core: @gomiui/core@0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/// <reference path="./dovisual.variants.d.ts" />
|
|
10
|
+
import type { DefinedTheme } from '@gomiui/core/theme';
|
|
11
|
+
import type { IconRegistry } from '@gomiui/core/Icon';
|
|
12
|
+
export declare const dovisualIconRegistry: IconRegistry;
|
|
13
|
+
export declare const dovisualTheme: DefinedTheme;
|
package/dist/dovisual.js
ADDED
|
@@ -0,0 +1,531 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated by `gomiui theme build` — do not edit manually.
|
|
3
|
+
* Source: src\dovisualTheme.ts
|
|
4
|
+
* Command: gomiui theme build src\dovisualTheme.ts --out dist\theme.css
|
|
5
|
+
* CLI: @gomiui/cli@0.0.2
|
|
6
|
+
* Core: @gomiui/core@0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { dovisualIconRegistry } from "./icons.mjs";
|
|
10
|
+
/**
|
|
11
|
+
* dovisual theme — built by `bunx gomiui theme build`
|
|
12
|
+
* Import the CSS file alongside this module:
|
|
13
|
+
*
|
|
14
|
+
* import { dovisualTheme } from './dovisual';
|
|
15
|
+
* import './dovisual.css';
|
|
16
|
+
*/
|
|
17
|
+
export const dovisualTheme = {
|
|
18
|
+
name: 'dovisual',
|
|
19
|
+
__built: true,
|
|
20
|
+
tokens: {
|
|
21
|
+
"--font-size-4xs": "0.375rem",
|
|
22
|
+
"--font-size-3xs": "0.4375rem",
|
|
23
|
+
"--font-size-2xs": "0.5rem",
|
|
24
|
+
"--font-size-xs": "0.625rem",
|
|
25
|
+
"--font-size-sm": "0.75rem",
|
|
26
|
+
"--font-size-base": "0.875rem",
|
|
27
|
+
"--font-size-lg": "1.0625rem",
|
|
28
|
+
"--font-size-xl": "1.25rem",
|
|
29
|
+
"--font-size-2xl": "1.5rem",
|
|
30
|
+
"--font-size-3xl": "1.8125rem",
|
|
31
|
+
"--font-size-4xl": "2.1875rem",
|
|
32
|
+
"--font-size-5xl": "2.625rem",
|
|
33
|
+
"--text-heading-1-size": "var(--font-size-2xl)",
|
|
34
|
+
"--text-heading-1-weight": "var(--font-weight-semibold)",
|
|
35
|
+
"--text-heading-1-leading": "1.3333",
|
|
36
|
+
"--text-heading-2-size": "var(--font-size-xl)",
|
|
37
|
+
"--text-heading-2-weight": "var(--font-weight-semibold)",
|
|
38
|
+
"--text-heading-2-leading": "1.4",
|
|
39
|
+
"--text-heading-3-size": "var(--font-size-lg)",
|
|
40
|
+
"--text-heading-3-weight": "var(--font-weight-semibold)",
|
|
41
|
+
"--text-heading-3-leading": "1.4118",
|
|
42
|
+
"--text-heading-4-size": "var(--font-size-base)",
|
|
43
|
+
"--text-heading-4-weight": "var(--font-weight-semibold)",
|
|
44
|
+
"--text-heading-4-leading": "1.4286",
|
|
45
|
+
"--text-heading-5-size": "var(--font-size-sm)",
|
|
46
|
+
"--text-heading-5-weight": "var(--font-weight-semibold)",
|
|
47
|
+
"--text-heading-5-leading": "1.6667",
|
|
48
|
+
"--text-heading-6-size": "var(--font-size-xs)",
|
|
49
|
+
"--text-heading-6-weight": "var(--font-weight-semibold)",
|
|
50
|
+
"--text-heading-6-leading": "1.6",
|
|
51
|
+
"--text-body-size": "var(--font-size-base)",
|
|
52
|
+
"--text-body-weight": "var(--font-weight-normal)",
|
|
53
|
+
"--text-body-leading": "1.4286",
|
|
54
|
+
"--text-large-size": "var(--font-size-lg)",
|
|
55
|
+
"--text-large-weight": "var(--font-weight-semibold)",
|
|
56
|
+
"--text-large-leading": "1.4118",
|
|
57
|
+
"--text-label-size": "var(--font-size-base)",
|
|
58
|
+
"--text-label-weight": "var(--font-weight-medium)",
|
|
59
|
+
"--text-label-leading": "1.4286",
|
|
60
|
+
"--text-code-size": "var(--font-size-base)",
|
|
61
|
+
"--text-code-weight": "var(--font-weight-normal)",
|
|
62
|
+
"--text-code-leading": "1.4286",
|
|
63
|
+
"--text-supporting-size": "var(--font-size-sm)",
|
|
64
|
+
"--text-supporting-weight": "var(--font-weight-normal)",
|
|
65
|
+
"--text-supporting-leading": "1.6667",
|
|
66
|
+
"--text-display-1-size": "var(--font-size-5xl)",
|
|
67
|
+
"--text-display-1-weight": "var(--font-weight-normal)",
|
|
68
|
+
"--text-display-1-leading": "1.2381",
|
|
69
|
+
"--text-display-2-size": "var(--font-size-4xl)",
|
|
70
|
+
"--text-display-2-weight": "var(--font-weight-normal)",
|
|
71
|
+
"--text-display-2-leading": "1.2571",
|
|
72
|
+
"--text-display-3-size": "var(--font-size-3xl)",
|
|
73
|
+
"--text-display-3-weight": "var(--font-weight-normal)",
|
|
74
|
+
"--text-display-3-leading": "1.3793",
|
|
75
|
+
"--font-family-body": "Poppins, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif",
|
|
76
|
+
"--font-family-heading": "\"DM Sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif",
|
|
77
|
+
"--font-family-code": "\"JetBrains Mono\", \"SF Mono\", Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace",
|
|
78
|
+
"--color-accent": "light-dark(#87E64B, #87E64B)",
|
|
79
|
+
"--color-accent-muted": "light-dark(#25252a14, #f3f3f520)",
|
|
80
|
+
"--color-on-accent": "light-dark(#ffffff, #25252a)",
|
|
81
|
+
"--color-neutral": "light-dark(#25252a0f, #f3f3f51a)",
|
|
82
|
+
"--color-background-surface": "light-dark(#E0E0E0, #1b1b1f)",
|
|
83
|
+
"--color-background-body": "light-dark(#F2F2F2, #111015)",
|
|
84
|
+
"--color-overlay": "light-dark(#25252a80, #28282acc)",
|
|
85
|
+
"--color-overlay-hover": "light-dark(#25252a0d, #f3f3f50d)",
|
|
86
|
+
"--color-overlay-pressed": "light-dark(#25252a1a, #f3f3f51a)",
|
|
87
|
+
"--color-background-muted": "light-dark(#A9A9B2, #3b3b3f)",
|
|
88
|
+
"--color-text-primary": "light-dark(#25252a, #f3f3f5)",
|
|
89
|
+
"--color-text-secondary": "light-dark(#5e5e63, #ababb0)",
|
|
90
|
+
"--color-text-disabled": "light-dark(#d7d7da, #5e5e61)",
|
|
91
|
+
"--color-text-accent": "light-dark(#25252a, #f3f3f5)",
|
|
92
|
+
"--color-on-dark": "#FFFFFF",
|
|
93
|
+
"--color-on-light": "light-dark(#25252a, #28282a)",
|
|
94
|
+
"--color-icon-accent": "light-dark(#25252a, #f3f3f5)",
|
|
95
|
+
"--color-icon-primary": "light-dark(#25252a, #f3f3f5)",
|
|
96
|
+
"--color-icon-secondary": "light-dark(#83838a, #9d9da3)",
|
|
97
|
+
"--color-icon-disabled": "light-dark(#d7d7da, #5e5e61)",
|
|
98
|
+
"--color-background-card": "light-dark(#F7F7F7, #242325)",
|
|
99
|
+
"--color-background-popover": "light-dark(#ffffff, #25252a)",
|
|
100
|
+
"--color-background-inverted": "light-dark(#25252a, #f3f3f5)",
|
|
101
|
+
"--color-success": "light-dark(#374c36, #b4cdb2)",
|
|
102
|
+
"--color-success-muted": "light-dark(#d0e9ce, #b4cdb2)",
|
|
103
|
+
"--color-on-success": "light-dark(#374c36, #d0e9ce)",
|
|
104
|
+
"--color-error": "light-dark(#58413e, #dcc0bc)",
|
|
105
|
+
"--color-error-muted": "light-dark(#f9dcd7, #dcc0bc)",
|
|
106
|
+
"--color-on-error": "light-dark(#58413e, #f9dcd7)",
|
|
107
|
+
"--color-warning": "light-dark(#524622, #d7c59c)",
|
|
108
|
+
"--color-warning-muted": "light-dark(#f4e1b7, #d7c59c)",
|
|
109
|
+
"--color-on-warning": "light-dark(#524622, #f4e1b7)",
|
|
110
|
+
"--color-border": "light-dark(#e2e2e8, #f3f3f51a)",
|
|
111
|
+
"--color-border-emphasized": "light-dark(#83838a, #5e5e61)",
|
|
112
|
+
"--color-skeleton": "light-dark(#d4d4da, #5e5e64)",
|
|
113
|
+
"--color-shadow": "light-dark(#25252a1a, #0000004d)",
|
|
114
|
+
"--color-background-blue": "light-dark(#d7e4f5, #485362)",
|
|
115
|
+
"--color-border-blue": "light-dark(#c9d6e7, #313c4a)",
|
|
116
|
+
"--color-icon-blue": "light-dark(#3c4856, #d7e4f5)",
|
|
117
|
+
"--color-text-blue": "light-dark(#3c4856, #d7e4f5)",
|
|
118
|
+
"--color-background-cyan": "light-dark(#cce8e5, #3e5755)",
|
|
119
|
+
"--color-border-cyan": "light-dark(#bedad7, #28403e)",
|
|
120
|
+
"--color-icon-cyan": "light-dark(#334b49, #cce8e5)",
|
|
121
|
+
"--color-text-cyan": "light-dark(#334b49, #cce8e5)",
|
|
122
|
+
"--color-background-gray": "light-dark(#e2e2e8, #525257)",
|
|
123
|
+
"--color-border-gray": "light-dark(#d4d4da, #3b3b3f)",
|
|
124
|
+
"--color-icon-gray": "light-dark(#46464b, #e2e2e8)",
|
|
125
|
+
"--color-text-gray": "light-dark(#46464b, #e2e2e8)",
|
|
126
|
+
"--color-background-green": "light-dark(#d0e9ce, #425841)",
|
|
127
|
+
"--color-border-green": "light-dark(#c2dbc0, #2b402b)",
|
|
128
|
+
"--color-icon-green": "light-dark(#374c36, #d0e9ce)",
|
|
129
|
+
"--color-text-green": "light-dark(#374c36, #d0e9ce)",
|
|
130
|
+
"--color-background-orange": "light-dark(#ffdcbb, #684d32)",
|
|
131
|
+
"--color-border-orange": "light-dark(#f1ceae, #4f361c)",
|
|
132
|
+
"--color-icon-orange": "light-dark(#5b4227, #ffdcbb)",
|
|
133
|
+
"--color-text-orange": "light-dark(#5b4227, #ffdcbb)",
|
|
134
|
+
"--color-background-pink": "light-dark(#f0dde8, #5e4e57)",
|
|
135
|
+
"--color-border-pink": "light-dark(#e2cfda, #463740)",
|
|
136
|
+
"--color-icon-pink": "light-dark(#52424c, #f0dde8)",
|
|
137
|
+
"--color-text-pink": "light-dark(#52424c, #f0dde8)",
|
|
138
|
+
"--color-background-purple": "light-dark(#e8dff3, #564f60)",
|
|
139
|
+
"--color-border-purple": "light-dark(#d9d1e5, #3f3949)",
|
|
140
|
+
"--color-icon-purple": "light-dark(#4b4454, #e8dff3)",
|
|
141
|
+
"--color-text-purple": "light-dark(#4b4454, #e8dff3)",
|
|
142
|
+
"--color-background-red": "light-dark(#f9dcd7, #644d49)",
|
|
143
|
+
"--color-border-red": "light-dark(#ebcec9, #4c3633)",
|
|
144
|
+
"--color-icon-red": "light-dark(#58413e, #f9dcd7)",
|
|
145
|
+
"--color-text-red": "light-dark(#58413e, #f9dcd7)",
|
|
146
|
+
"--color-background-teal": "light-dark(#d4e7dc, #46564d)",
|
|
147
|
+
"--color-border-teal": "light-dark(#c6d9ce, #303f36)",
|
|
148
|
+
"--color-icon-teal": "light-dark(#3b4a41, #d4e7dc)",
|
|
149
|
+
"--color-text-teal": "light-dark(#3b4a41, #d4e7dc)",
|
|
150
|
+
"--color-background-yellow": "light-dark(#f4e1b7, #5e512d)",
|
|
151
|
+
"--color-border-yellow": "light-dark(#e5d3a9, #463a18)",
|
|
152
|
+
"--color-icon-yellow": "light-dark(#524622, #f4e1b7)",
|
|
153
|
+
"--color-text-yellow": "light-dark(#524622, #f4e1b7)",
|
|
154
|
+
"--spacing-0-5": "4px",
|
|
155
|
+
"--spacing-1": "8px",
|
|
156
|
+
"--spacing-1-5": "12px",
|
|
157
|
+
"--spacing-2": "16px",
|
|
158
|
+
"--spacing-3": "24px",
|
|
159
|
+
"--spacing-4": "32px",
|
|
160
|
+
"--spacing-5": "40px",
|
|
161
|
+
"--spacing-6": "48px",
|
|
162
|
+
"--spacing-7": "56px",
|
|
163
|
+
"--spacing-8": "64px",
|
|
164
|
+
"--spacing-9": "72px",
|
|
165
|
+
"--spacing-10": "80px",
|
|
166
|
+
"--spacing-11": "88px",
|
|
167
|
+
"--spacing-12": "96px",
|
|
168
|
+
"--radius-inner": "8px",
|
|
169
|
+
"--radius-element": "16px",
|
|
170
|
+
"--radius-container": "24px",
|
|
171
|
+
"--radius-page": "56px",
|
|
172
|
+
"--radius-chat": "56px",
|
|
173
|
+
"--shadow-low": "0 2px 4px #28282A0D, 0 4px 8px #28282A1A",
|
|
174
|
+
"--shadow-med": "0 2px 4px #28282A0D, 0 4px 12px #28282A1A",
|
|
175
|
+
"--shadow-high": "0 4px 6px #28282A1A, 0 12px 24px #28282A26",
|
|
176
|
+
"--shadow-inset-hover": "inset 0px 0px 0px 2px #28282A30",
|
|
177
|
+
"--shadow-inset-selected": "inset 0px 0px 0px 2px #28282A50",
|
|
178
|
+
"--shadow-inset-success": "inset 0px 0px 0px 2px #83838a30",
|
|
179
|
+
"--shadow-inset-warning": "inset 0px 0px 0px 2px #83838a30",
|
|
180
|
+
"--shadow-inset-error": "inset 0px 0px 0px 2px #83838a30",
|
|
181
|
+
"--duration-fast-min": "95ms",
|
|
182
|
+
"--duration-fast": "125ms",
|
|
183
|
+
"--duration-fast-max": "165ms",
|
|
184
|
+
"--duration-medium-min": "225ms",
|
|
185
|
+
"--duration-medium": "300ms",
|
|
186
|
+
"--duration-medium-max": "400ms",
|
|
187
|
+
"--duration-slow-min": "525ms",
|
|
188
|
+
"--duration-slow": "700ms",
|
|
189
|
+
"--duration-slow-max": "935ms",
|
|
190
|
+
"--color-syntax-keyword": "light-dark(#645a72, #b2a7c1)",
|
|
191
|
+
"--color-syntax-string": "light-dark(#4e6357, #9bb19a)",
|
|
192
|
+
"--color-syntax-comment": "light-dark(#5e5e5e, #ababb0)",
|
|
193
|
+
"--color-syntax-number": "light-dark(#755752, #bea792)",
|
|
194
|
+
"--color-syntax-function": "light-dark(#506072, #99adc6)",
|
|
195
|
+
"--color-syntax-type": "light-dark(#645a72, #b2a7c1)",
|
|
196
|
+
"--color-syntax-variable": "light-dark(#5e5e5e, #ababb0)",
|
|
197
|
+
"--color-syntax-operator": "light-dark(#5e5e5e, #ababb0)",
|
|
198
|
+
"--color-syntax-constant": "light-dark(#755752, #bea792)",
|
|
199
|
+
"--color-syntax-tag": "light-dark(#775751, #c7a39d)",
|
|
200
|
+
"--color-syntax-attribute": "light-dark(#79693f, #b6aa90)",
|
|
201
|
+
"--color-syntax-property": "light-dark(#4e6357, #94b2a0)",
|
|
202
|
+
"--color-syntax-punctuation": "light-dark(#5e5e5e, #ababb0)",
|
|
203
|
+
"--color-syntax-background": "light-dark(#f3f3f5, #171719)"
|
|
204
|
+
},
|
|
205
|
+
components: {
|
|
206
|
+
"heading": {
|
|
207
|
+
"level:1": {
|
|
208
|
+
"fontFamily": "var(--font-family-heading)",
|
|
209
|
+
"fontSize": "var(--text-heading-1-size)",
|
|
210
|
+
"fontWeight": "var(--text-heading-1-weight)",
|
|
211
|
+
"lineHeight": "var(--text-heading-1-leading)"
|
|
212
|
+
},
|
|
213
|
+
"level:2": {
|
|
214
|
+
"fontFamily": "var(--font-family-heading)",
|
|
215
|
+
"fontSize": "var(--text-heading-2-size)",
|
|
216
|
+
"fontWeight": "var(--text-heading-2-weight)",
|
|
217
|
+
"lineHeight": "var(--text-heading-2-leading)"
|
|
218
|
+
},
|
|
219
|
+
"level:3": {
|
|
220
|
+
"fontFamily": "var(--font-family-heading)",
|
|
221
|
+
"fontSize": "var(--text-heading-3-size)",
|
|
222
|
+
"fontWeight": "var(--text-heading-3-weight)",
|
|
223
|
+
"lineHeight": "var(--text-heading-3-leading)"
|
|
224
|
+
},
|
|
225
|
+
"level:4": {
|
|
226
|
+
"fontFamily": "var(--font-family-heading)",
|
|
227
|
+
"fontSize": "var(--text-heading-4-size)",
|
|
228
|
+
"fontWeight": "var(--text-heading-4-weight)",
|
|
229
|
+
"lineHeight": "var(--text-heading-4-leading)"
|
|
230
|
+
},
|
|
231
|
+
"level:5": {
|
|
232
|
+
"fontFamily": "var(--font-family-heading)",
|
|
233
|
+
"fontSize": "var(--text-heading-5-size)",
|
|
234
|
+
"fontWeight": "var(--text-heading-5-weight)",
|
|
235
|
+
"lineHeight": "var(--text-heading-5-leading)"
|
|
236
|
+
},
|
|
237
|
+
"level:6": {
|
|
238
|
+
"fontFamily": "var(--font-family-heading)",
|
|
239
|
+
"fontSize": "var(--text-heading-6-size)",
|
|
240
|
+
"fontWeight": "var(--text-heading-6-weight)",
|
|
241
|
+
"lineHeight": "var(--text-heading-6-leading)"
|
|
242
|
+
},
|
|
243
|
+
"type:display-1": {
|
|
244
|
+
"fontFamily": "var(--font-family-heading)",
|
|
245
|
+
"fontSize": "var(--text-display-1-size)",
|
|
246
|
+
"lineHeight": "var(--text-display-1-leading)"
|
|
247
|
+
},
|
|
248
|
+
"type:display-2": {
|
|
249
|
+
"fontFamily": "var(--font-family-heading)",
|
|
250
|
+
"fontSize": "var(--text-display-2-size)",
|
|
251
|
+
"lineHeight": "var(--text-display-2-leading)"
|
|
252
|
+
},
|
|
253
|
+
"type:display-3": {
|
|
254
|
+
"fontFamily": "var(--font-family-heading)",
|
|
255
|
+
"fontSize": "var(--text-display-3-size)",
|
|
256
|
+
"lineHeight": "var(--text-display-3-leading)"
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"text": {
|
|
260
|
+
"type:body": {
|
|
261
|
+
"fontFamily": "var(--font-family-body)",
|
|
262
|
+
"fontSize": "var(--text-body-size)",
|
|
263
|
+
"lineHeight": "var(--text-body-leading)"
|
|
264
|
+
},
|
|
265
|
+
"type:large": {
|
|
266
|
+
"fontFamily": "var(--font-family-body)",
|
|
267
|
+
"fontSize": "var(--text-large-size)",
|
|
268
|
+
"lineHeight": "var(--text-large-leading)"
|
|
269
|
+
},
|
|
270
|
+
"type:label": {
|
|
271
|
+
"fontFamily": "var(--font-family-body)",
|
|
272
|
+
"fontSize": "var(--text-label-size)",
|
|
273
|
+
"lineHeight": "var(--text-label-leading)"
|
|
274
|
+
},
|
|
275
|
+
"type:code": {
|
|
276
|
+
"fontFamily": "var(--font-family-code)",
|
|
277
|
+
"fontSize": "var(--text-code-size)",
|
|
278
|
+
"lineHeight": "var(--text-code-leading)"
|
|
279
|
+
},
|
|
280
|
+
"type:supporting": {
|
|
281
|
+
"fontFamily": "var(--font-family-body)",
|
|
282
|
+
"fontSize": "var(--text-supporting-size)",
|
|
283
|
+
"lineHeight": "var(--text-supporting-leading)"
|
|
284
|
+
},
|
|
285
|
+
"type:display-1": {
|
|
286
|
+
"fontFamily": "var(--font-family-heading)",
|
|
287
|
+
"fontSize": "var(--text-display-1-size)",
|
|
288
|
+
"lineHeight": "var(--text-display-1-leading)"
|
|
289
|
+
},
|
|
290
|
+
"type:display-2": {
|
|
291
|
+
"fontFamily": "var(--font-family-heading)",
|
|
292
|
+
"fontSize": "var(--text-display-2-size)",
|
|
293
|
+
"lineHeight": "var(--text-display-2-leading)"
|
|
294
|
+
},
|
|
295
|
+
"type:display-3": {
|
|
296
|
+
"fontFamily": "var(--font-family-heading)",
|
|
297
|
+
"fontSize": "var(--text-display-3-size)",
|
|
298
|
+
"lineHeight": "var(--text-display-3-leading)"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"button": {
|
|
302
|
+
"base": {
|
|
303
|
+
"borderRadius": "var(--radius-full)"
|
|
304
|
+
},
|
|
305
|
+
"variant:secondary": {
|
|
306
|
+
"backgroundColor": "transparent",
|
|
307
|
+
"borderWidth": "1.5px",
|
|
308
|
+
"borderStyle": "solid",
|
|
309
|
+
"borderColor": "var(--color-border-emphasized)",
|
|
310
|
+
":hover": {
|
|
311
|
+
"backgroundColor": "var(--color-neutral)"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"variant:destructive": {
|
|
315
|
+
"backgroundColor": "var(--color-background-red)",
|
|
316
|
+
"color": "var(--color-text-red)"
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
"badge": {
|
|
320
|
+
"variant:info": {
|
|
321
|
+
"backgroundColor": "var(--color-background-blue)",
|
|
322
|
+
"color": "var(--color-text-blue)"
|
|
323
|
+
},
|
|
324
|
+
"variant:neutral": {
|
|
325
|
+
"backgroundColor": "var(--color-background-gray)",
|
|
326
|
+
"color": "var(--color-text-gray)"
|
|
327
|
+
},
|
|
328
|
+
"variant:success": {
|
|
329
|
+
"backgroundColor": "var(--color-background-green)",
|
|
330
|
+
"color": "var(--color-text-green)"
|
|
331
|
+
},
|
|
332
|
+
"variant:warning": {
|
|
333
|
+
"backgroundColor": "var(--color-background-yellow)",
|
|
334
|
+
"color": "var(--color-text-yellow)"
|
|
335
|
+
},
|
|
336
|
+
"variant:error": {
|
|
337
|
+
"backgroundColor": "var(--color-background-red)",
|
|
338
|
+
"color": "var(--color-text-red)"
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
"banner": {
|
|
342
|
+
"status:info": {
|
|
343
|
+
"--color-accent-muted": "var(--color-background-blue)",
|
|
344
|
+
"--color-text-primary": "var(--color-text-blue)",
|
|
345
|
+
"--color-text-secondary": "var(--color-text-blue)",
|
|
346
|
+
"--color-accent": "var(--color-text-blue)"
|
|
347
|
+
},
|
|
348
|
+
"status:success": {
|
|
349
|
+
"--color-success-muted": "var(--color-background-green)",
|
|
350
|
+
"--color-text-primary": "var(--color-text-green)",
|
|
351
|
+
"--color-text-secondary": "var(--color-text-green)",
|
|
352
|
+
"--color-success": "var(--color-text-green)"
|
|
353
|
+
},
|
|
354
|
+
"status:warning": {
|
|
355
|
+
"--color-warning-muted": "var(--color-background-yellow)",
|
|
356
|
+
"--color-text-primary": "var(--color-text-yellow)",
|
|
357
|
+
"--color-text-secondary": "var(--color-text-yellow)",
|
|
358
|
+
"--color-warning": "var(--color-text-yellow)"
|
|
359
|
+
},
|
|
360
|
+
"status:error": {
|
|
361
|
+
"--color-error-muted": "var(--color-background-red)",
|
|
362
|
+
"--color-text-primary": "var(--color-text-red)",
|
|
363
|
+
"--color-text-secondary": "var(--color-text-red)",
|
|
364
|
+
"--color-error": "var(--color-text-red)"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"progressbar-fill": {
|
|
368
|
+
"variant:accent": {
|
|
369
|
+
"backgroundColor": "light-dark(#d7e4f5, #a0acbc)"
|
|
370
|
+
},
|
|
371
|
+
"variant:success": {
|
|
372
|
+
"backgroundColor": "light-dark(#d0e9ce, #9ab298)"
|
|
373
|
+
},
|
|
374
|
+
"variant:warning": {
|
|
375
|
+
"backgroundColor": "light-dark(#f4e1b7, #bbaa82)"
|
|
376
|
+
},
|
|
377
|
+
"variant:error": {
|
|
378
|
+
"backgroundColor": "light-dark(#f9dcd7, #c0a5a0)"
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
"progressbar-track": {
|
|
382
|
+
"base": {
|
|
383
|
+
"backgroundColor": "var(--color-skeleton)"
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
"switch": {
|
|
387
|
+
"base": {
|
|
388
|
+
"--color-background-gray": "var(--color-skeleton)"
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
"field-status": {
|
|
392
|
+
"type:success": {
|
|
393
|
+
"backgroundColor": "var(--color-background-green)"
|
|
394
|
+
},
|
|
395
|
+
"type:warning": {
|
|
396
|
+
"backgroundColor": "var(--color-background-yellow)"
|
|
397
|
+
},
|
|
398
|
+
"type:error": {
|
|
399
|
+
"backgroundColor": "var(--color-background-red)"
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
"text-input": {
|
|
403
|
+
"status:success": {
|
|
404
|
+
"--color-success": "light-dark(#7f977e, #99b298)"
|
|
405
|
+
},
|
|
406
|
+
"status:warning": {
|
|
407
|
+
"--color-warning": "light-dark(#9f8f68, #bbaa81)"
|
|
408
|
+
},
|
|
409
|
+
"status:error": {
|
|
410
|
+
"--color-error": "light-dark(#a58b86, #c0a5a1)"
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"textarea": {
|
|
414
|
+
"status:success": {
|
|
415
|
+
"--color-success": "light-dark(#7f977e, #99b298)"
|
|
416
|
+
},
|
|
417
|
+
"status:warning": {
|
|
418
|
+
"--color-warning": "light-dark(#9f8f68, #bbaa81)"
|
|
419
|
+
},
|
|
420
|
+
"status:error": {
|
|
421
|
+
"--color-error": "light-dark(#a58b86, #c0a5a1)"
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
"number-input": {
|
|
425
|
+
"status:success": {
|
|
426
|
+
"--color-success": "light-dark(#7f977e, #99b298)"
|
|
427
|
+
},
|
|
428
|
+
"status:warning": {
|
|
429
|
+
"--color-warning": "light-dark(#9f8f68, #bbaa81)"
|
|
430
|
+
},
|
|
431
|
+
"status:error": {
|
|
432
|
+
"--color-error": "light-dark(#a58b86, #c0a5a1)"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"date-input": {
|
|
436
|
+
"status:success": {
|
|
437
|
+
"--color-success": "light-dark(#7f977e, #99b298)"
|
|
438
|
+
},
|
|
439
|
+
"status:warning": {
|
|
440
|
+
"--color-warning": "light-dark(#9f8f68, #bbaa81)"
|
|
441
|
+
},
|
|
442
|
+
"status:error": {
|
|
443
|
+
"--color-error": "light-dark(#a58b86, #c0a5a1)"
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
"time-input": {
|
|
447
|
+
"status:success": {
|
|
448
|
+
"--color-success": "light-dark(#7f977e, #99b298)"
|
|
449
|
+
},
|
|
450
|
+
"status:warning": {
|
|
451
|
+
"--color-warning": "light-dark(#9f8f68, #bbaa81)"
|
|
452
|
+
},
|
|
453
|
+
"status:error": {
|
|
454
|
+
"--color-error": "light-dark(#a58b86, #c0a5a1)"
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
"selector": {
|
|
458
|
+
"status:success": {
|
|
459
|
+
"--color-success": "light-dark(#7f977e, #99b298)"
|
|
460
|
+
},
|
|
461
|
+
"status:warning": {
|
|
462
|
+
"--color-warning": "light-dark(#9f8f68, #bbaa81)"
|
|
463
|
+
},
|
|
464
|
+
"status:error": {
|
|
465
|
+
"--color-error": "light-dark(#a58b86, #c0a5a1)"
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
"multi-selector": {
|
|
469
|
+
"status:success": {
|
|
470
|
+
"--color-success": "light-dark(#7f977e, #99b298)"
|
|
471
|
+
},
|
|
472
|
+
"status:warning": {
|
|
473
|
+
"--color-warning": "light-dark(#9f8f68, #bbaa81)"
|
|
474
|
+
},
|
|
475
|
+
"status:error": {
|
|
476
|
+
"--color-error": "light-dark(#a58b86, #c0a5a1)"
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
"typeahead": {
|
|
480
|
+
"status:success": {
|
|
481
|
+
"--color-success": "light-dark(#7f977e, #99b298)"
|
|
482
|
+
},
|
|
483
|
+
"status:warning": {
|
|
484
|
+
"--color-warning": "light-dark(#9f8f68, #bbaa81)"
|
|
485
|
+
},
|
|
486
|
+
"status:error": {
|
|
487
|
+
"--color-error": "light-dark(#a58b86, #c0a5a1)"
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
"tokenizer": {
|
|
491
|
+
"status:success": {
|
|
492
|
+
"--color-success": "light-dark(#7f977e, #99b298)"
|
|
493
|
+
},
|
|
494
|
+
"status:warning": {
|
|
495
|
+
"--color-warning": "light-dark(#9f8f68, #bbaa81)"
|
|
496
|
+
},
|
|
497
|
+
"status:error": {
|
|
498
|
+
"--color-error": "light-dark(#a58b86, #c0a5a1)"
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
"card": {
|
|
502
|
+
"base": {
|
|
503
|
+
"padding": "var(--spacing-3)"
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
"section": {
|
|
507
|
+
"base": {
|
|
508
|
+
"padding": "var(--spacing-3)"
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
__onDark: {
|
|
513
|
+
"tokens": {
|
|
514
|
+
"color-scheme": "dark",
|
|
515
|
+
"--color-text-primary": "var(--color-on-dark)",
|
|
516
|
+
"--color-icon-primary": "var(--color-on-dark)",
|
|
517
|
+
"--color-accent": "var(--color-on-dark)"
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
__onLight: {
|
|
521
|
+
"tokens": {
|
|
522
|
+
"color-scheme": "light",
|
|
523
|
+
"--color-text-primary": "var(--color-on-light)",
|
|
524
|
+
"--color-icon-primary": "var(--color-on-light)",
|
|
525
|
+
"--color-accent": "var(--color-on-light)"
|
|
526
|
+
}
|
|
527
|
+
},
|
|
528
|
+
icons: dovisualIconRegistry,
|
|
529
|
+
};
|
|
530
|
+
|
|
531
|
+
export { dovisualIconRegistry };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated by `gomiui theme build` — do not edit manually.
|
|
3
|
+
* Source: src\dovisualTheme.ts
|
|
4
|
+
* Command: gomiui theme build src\dovisualTheme.ts --out dist\theme.css
|
|
5
|
+
* CLI: @gomiui/cli@0.0.2
|
|
6
|
+
* Core: @gomiui/core@0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
// Generated by gomiui theme build
|
|
10
|
+
export {};
|
|
11
|
+
|
|
12
|
+
declare module '@gomiui/core/ProgressBar' {
|
|
13
|
+
interface ProgressBarVariantMap {
|
|
14
|
+
'accent': true;
|
|
15
|
+
'success': true;
|
|
16
|
+
'warning': true;
|
|
17
|
+
'error': true;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dovisualTheme.d.ts","sourceRoot":"","sources":["../src/dovisualTheme.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,2CAsdxB,CAAC"}
|
package/dist/icons.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../src/icons.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAsCpD,eAAO,MAAM,oBAAoB,EAAE,YA6BlC,CAAC"}
|