@liiift-studio/mac-os9-ui 0.1.4 → 0.1.6
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/ATTRIBUTION.md +6 -6
- package/README.md +6 -5
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +195 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1,3 +1,198 @@
|
|
|
1
|
+
/* src/styles/theme.css */
|
|
2
|
+
:root {
|
|
3
|
+
--color-gray-100: #ffffff;
|
|
4
|
+
--color-gray-200: #eeeeee;
|
|
5
|
+
--color-gray-300: #dddddd;
|
|
6
|
+
--color-gray-400: #cccccc;
|
|
7
|
+
--color-gray-500: #999999;
|
|
8
|
+
--color-gray-600: #666666;
|
|
9
|
+
--color-gray-700: #4d4d4d;
|
|
10
|
+
--color-gray-800: #333333;
|
|
11
|
+
--color-gray-900: #262626;
|
|
12
|
+
--color-lavender: #ccccff;
|
|
13
|
+
--color-azul: #0066cc;
|
|
14
|
+
--color-link-red: #cc0000;
|
|
15
|
+
--color-background: var(--color-gray-200);
|
|
16
|
+
--color-foreground: var(--color-gray-900);
|
|
17
|
+
--color-border: var(--color-gray-900);
|
|
18
|
+
--color-text: var(--color-gray-900);
|
|
19
|
+
--color-text-inverse: var(--color-gray-100);
|
|
20
|
+
--color-surface: var(--color-gray-200);
|
|
21
|
+
--color-surface-inset: var(--color-gray-100);
|
|
22
|
+
--color-black: var(--color-gray-900);
|
|
23
|
+
--color-white: var(--color-gray-100);
|
|
24
|
+
--color-focus: #000080;
|
|
25
|
+
--color-error: #cc0000;
|
|
26
|
+
--color-success: #008000;
|
|
27
|
+
--color-warning: #ff8c00;
|
|
28
|
+
--font-system:
|
|
29
|
+
Charcoal,
|
|
30
|
+
"Charcoal CY",
|
|
31
|
+
Chicago,
|
|
32
|
+
"Chicago Classic",
|
|
33
|
+
-apple-system,
|
|
34
|
+
BlinkMacSystemFont,
|
|
35
|
+
"Segoe UI",
|
|
36
|
+
Helvetica,
|
|
37
|
+
Arial,
|
|
38
|
+
sans-serif;
|
|
39
|
+
--font-body:
|
|
40
|
+
Geneva,
|
|
41
|
+
"Geneva CY",
|
|
42
|
+
"Lucida Grande",
|
|
43
|
+
"Lucida Sans Unicode",
|
|
44
|
+
sans-serif;
|
|
45
|
+
--font-display:
|
|
46
|
+
"Apple Garamond Light",
|
|
47
|
+
"Apple Garamond",
|
|
48
|
+
Garamond,
|
|
49
|
+
Georgia,
|
|
50
|
+
serif;
|
|
51
|
+
--font-chicago:
|
|
52
|
+
Chicago,
|
|
53
|
+
"Chicago Classic",
|
|
54
|
+
"Charcoal CY",
|
|
55
|
+
Charcoal,
|
|
56
|
+
monospace;
|
|
57
|
+
--font-mono:
|
|
58
|
+
Monaco,
|
|
59
|
+
"Monaco CY",
|
|
60
|
+
"SF Mono",
|
|
61
|
+
"Courier New",
|
|
62
|
+
Courier,
|
|
63
|
+
monospace;
|
|
64
|
+
--font-size-xs: 9px;
|
|
65
|
+
--font-size-sm: 10px;
|
|
66
|
+
--font-size-md: 12px;
|
|
67
|
+
--font-size-lg: 13px;
|
|
68
|
+
--font-size-xl: 14px;
|
|
69
|
+
--font-size-2xl: 16px;
|
|
70
|
+
--font-size-3xl: 18px;
|
|
71
|
+
--font-size-4xl: 20px;
|
|
72
|
+
--font-size-5xl: 24px;
|
|
73
|
+
--font-weight-normal: 700;
|
|
74
|
+
--font-weight-medium: 700;
|
|
75
|
+
--font-weight-semibold: 700;
|
|
76
|
+
--font-weight-bold: 700;
|
|
77
|
+
--font-weight-light: 400;
|
|
78
|
+
--line-height-tight: 1.2;
|
|
79
|
+
--line-height-snug: 1.3;
|
|
80
|
+
--line-height-normal: 1.4;
|
|
81
|
+
--line-height-relaxed: 1.5;
|
|
82
|
+
--line-height-loose: 1.6;
|
|
83
|
+
--letter-spacing-tighter: -0.02em;
|
|
84
|
+
--letter-spacing-tight: -0.01em;
|
|
85
|
+
--letter-spacing-normal: 0;
|
|
86
|
+
--letter-spacing-wide: 0.01em;
|
|
87
|
+
--letter-spacing-wider: 0.02em;
|
|
88
|
+
--spacing-0: 0;
|
|
89
|
+
--spacing-px: 1px;
|
|
90
|
+
--spacing-0_5: 2px;
|
|
91
|
+
--spacing-1: 4px;
|
|
92
|
+
--spacing-1_5: 6px;
|
|
93
|
+
--spacing-2: 8px;
|
|
94
|
+
--spacing-2_5: 10px;
|
|
95
|
+
--spacing-3: 12px;
|
|
96
|
+
--spacing-4: 16px;
|
|
97
|
+
--spacing-5: 20px;
|
|
98
|
+
--spacing-6: 24px;
|
|
99
|
+
--spacing-8: 32px;
|
|
100
|
+
--spacing-10: 40px;
|
|
101
|
+
--spacing-12: 48px;
|
|
102
|
+
--spacing-16: 64px;
|
|
103
|
+
--spacing-xs: 2px;
|
|
104
|
+
--spacing-sm: 4px;
|
|
105
|
+
--spacing-md: 8px;
|
|
106
|
+
--spacing-lg: 12px;
|
|
107
|
+
--spacing-xl: 16px;
|
|
108
|
+
--spacing-2xl: 24px;
|
|
109
|
+
--spacing-3xl: 32px;
|
|
110
|
+
--shadow-bevel:
|
|
111
|
+
inset 2px 2px 0 rgba(255, 255, 255, 0.6),
|
|
112
|
+
inset -2px -2px 0 rgba(38, 38, 38, 0.4),
|
|
113
|
+
2px 2px 0 rgba(38, 38, 38, 1);
|
|
114
|
+
--shadow-inset:
|
|
115
|
+
inset -2px -2px 0 rgba(255, 255, 255, 0.6),
|
|
116
|
+
inset 2px 2px 0 rgba(38, 38, 38, 0.4),
|
|
117
|
+
inset 0px 0px 0px rgba(38, 38, 38, 1);
|
|
118
|
+
--shadow-drop: 2px 2px 0 rgba(38, 38, 38, 1);
|
|
119
|
+
--shadow-highlight: inset 2px 2px 0 rgba(255, 255, 255, 0.6);
|
|
120
|
+
--shadow-dark: inset -2px -2px 0 rgba(38, 38, 38, 0.4);
|
|
121
|
+
--shadow-none: none;
|
|
122
|
+
--border-width-none: 0;
|
|
123
|
+
--border-width-thin: 1px;
|
|
124
|
+
--border-width-medium: 2px;
|
|
125
|
+
--border-width-thick: 3px;
|
|
126
|
+
--border-radius-none: 0;
|
|
127
|
+
--border-radius-sm: 0;
|
|
128
|
+
--border-radius-md: 0;
|
|
129
|
+
--border-radius-lg: 0;
|
|
130
|
+
--border-radius-full: 0;
|
|
131
|
+
--z-index-base: 0;
|
|
132
|
+
--z-index-dropdown: 1000;
|
|
133
|
+
--z-index-sticky: 1100;
|
|
134
|
+
--z-index-modal: 1200;
|
|
135
|
+
--z-index-popover: 1300;
|
|
136
|
+
--z-index-tooltip: 1400;
|
|
137
|
+
--transition-instant: 0ms;
|
|
138
|
+
--transition-fast: 100ms;
|
|
139
|
+
--transition-normal: 200ms;
|
|
140
|
+
--transition-slow: 300ms;
|
|
141
|
+
--transition-timing-linear: linear;
|
|
142
|
+
--transition-timing-ease-in: cubic-bezier(0.4, 0, 1, 1);
|
|
143
|
+
--transition-timing-ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
144
|
+
--transition-timing-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
145
|
+
}
|
|
146
|
+
*,
|
|
147
|
+
*::before,
|
|
148
|
+
*::after {
|
|
149
|
+
box-sizing: border-box;
|
|
150
|
+
}
|
|
151
|
+
html {
|
|
152
|
+
font-size: 16px;
|
|
153
|
+
-webkit-font-smoothing: antialiased;
|
|
154
|
+
-moz-osx-font-smoothing: grayscale;
|
|
155
|
+
}
|
|
156
|
+
body {
|
|
157
|
+
margin: 0;
|
|
158
|
+
padding: 0;
|
|
159
|
+
font-family: var(--font-system);
|
|
160
|
+
font-size: var(--font-size-md);
|
|
161
|
+
line-height: var(--line-height-normal);
|
|
162
|
+
color: var(--color-text);
|
|
163
|
+
background-color: var(--color-background);
|
|
164
|
+
}
|
|
165
|
+
.bevel {
|
|
166
|
+
box-shadow: var(--shadow-bevel);
|
|
167
|
+
}
|
|
168
|
+
.bevel-inset {
|
|
169
|
+
box-shadow: var(--shadow-inset);
|
|
170
|
+
}
|
|
171
|
+
.border {
|
|
172
|
+
border: var(--border-width-thin) solid var(--color-border);
|
|
173
|
+
}
|
|
174
|
+
.border-none {
|
|
175
|
+
border: none;
|
|
176
|
+
}
|
|
177
|
+
.surface {
|
|
178
|
+
background-color: var(--color-surface);
|
|
179
|
+
}
|
|
180
|
+
.surface-inset {
|
|
181
|
+
background-color: var(--color-surface-inset);
|
|
182
|
+
}
|
|
183
|
+
.text-inverse {
|
|
184
|
+
color: var(--color-text-inverse);
|
|
185
|
+
}
|
|
186
|
+
.focus-visible:focus-visible {
|
|
187
|
+
outline: 1px dotted var(--color-focus);
|
|
188
|
+
outline-offset: 2px;
|
|
189
|
+
}
|
|
190
|
+
.disabled {
|
|
191
|
+
opacity: 0.5;
|
|
192
|
+
cursor: not-allowed;
|
|
193
|
+
pointer-events: none;
|
|
194
|
+
}
|
|
195
|
+
|
|
1
196
|
/* src/components/Button/Button.module.css */
|
|
2
197
|
.button {
|
|
3
198
|
position: relative;
|