@arbor-css/core 0.0.89 → 0.0.91
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/cli/introspection.d.ts +1 -1
- package/dist/cli/introspection.d.ts.map +1 -1
- package/dist/cli/introspection.js +5 -8
- package/dist/cli/introspection.js.map +1 -1
- package/dist/cli/introspection.test.js +2 -9
- package/dist/cli/introspection.test.js.map +1 -1
- package/dist/cli/run.js +1 -1
- package/dist/cli/run.js.map +1 -1
- package/dist/cli/validate.d.ts.map +1 -1
- package/dist/cli/validate.js +0 -2
- package/dist/cli/validate.js.map +1 -1
- package/dist/cli/validate.test.js +0 -13
- package/dist/cli/validate.test.js.map +1 -1
- package/dist/getStructuredTokensMap.d.ts.map +1 -1
- package/dist/getStructuredTokensMap.js +0 -5
- package/dist/getStructuredTokensMap.js.map +1 -1
- package/dist/getStructuredTokensMap.test.js +3 -3
- package/dist/getStructuredTokensMap.test.js.map +1 -1
- package/dist/presets/arborPreset/index.d.ts +1 -2
- package/dist/presets/arborPreset/index.d.ts.map +1 -1
- package/dist/presets/arborPreset/index.js +1 -2
- package/dist/presets/arborPreset/index.js.map +1 -1
- package/dist/presets/arborPreset/modeSchema/intents/action.d.ts +67 -0
- package/dist/presets/arborPreset/modeSchema/intents/action.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeSchema/intents/action.js +17 -0
- package/dist/presets/arborPreset/modeSchema/intents/action.js.map +1 -0
- package/dist/presets/arborPreset/modeSchema/intents/common.d.ts +35 -0
- package/dist/presets/arborPreset/modeSchema/intents/common.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeSchema/intents/common.js +36 -0
- package/dist/presets/arborPreset/modeSchema/intents/common.js.map +1 -0
- package/dist/presets/arborPreset/modeSchema/intents/control.d.ts +37 -0
- package/dist/presets/arborPreset/modeSchema/intents/control.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeSchema/intents/control.js +15 -0
- package/dist/presets/arborPreset/modeSchema/intents/control.js.map +1 -0
- package/dist/presets/arborPreset/modeSchema/intents/surface.d.ts +67 -0
- package/dist/presets/arborPreset/modeSchema/intents/surface.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeSchema/intents/surface.js +17 -0
- package/dist/presets/arborPreset/modeSchema/intents/surface.js.map +1 -0
- package/dist/presets/arborPreset/modeSchema/intents/text.d.ts +21 -0
- package/dist/presets/arborPreset/modeSchema/intents/text.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeSchema/intents/text.js +8 -0
- package/dist/presets/arborPreset/modeSchema/intents/text.js.map +1 -0
- package/dist/presets/arborPreset/modeSchema/modeSchema.d.ts +820 -0
- package/dist/presets/arborPreset/modeSchema/modeSchema.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeSchema/modeSchema.js +47 -0
- package/dist/presets/arborPreset/modeSchema/modeSchema.js.map +1 -0
- package/dist/presets/arborPreset/modeSchema/modeSchema.test.d.ts +2 -0
- package/dist/presets/arborPreset/modeSchema/modeSchema.test.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeSchema/modeSchema.test.js +10 -0
- package/dist/presets/arborPreset/modeSchema/modeSchema.test.js.map +1 -0
- package/dist/presets/arborPreset/modeSchema/primitives/color.d.ts +93 -0
- package/dist/presets/arborPreset/modeSchema/primitives/color.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeSchema/primitives/color.js +42 -0
- package/dist/presets/arborPreset/modeSchema/primitives/color.js.map +1 -0
- package/dist/presets/arborPreset/modeSchema/primitives/duration.d.ts +10 -0
- package/dist/presets/arborPreset/modeSchema/primitives/duration.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeSchema/primitives/duration.js +11 -0
- package/dist/presets/arborPreset/modeSchema/primitives/duration.js.map +1 -0
- package/dist/presets/arborPreset/modeSchema/primitives/easing.d.ts +10 -0
- package/dist/presets/arborPreset/modeSchema/primitives/easing.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeSchema/primitives/easing.js +11 -0
- package/dist/presets/arborPreset/modeSchema/primitives/easing.js.map +1 -0
- package/dist/presets/arborPreset/modeSchema/primitives/shadow.d.ts +159 -0
- package/dist/presets/arborPreset/modeSchema/primitives/shadow.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeSchema/primitives/shadow.js +35 -0
- package/dist/presets/arborPreset/modeSchema/primitives/shadow.js.map +1 -0
- package/dist/presets/arborPreset/modeSchema/primitives/spacing.d.ts +14 -0
- package/dist/presets/arborPreset/modeSchema/primitives/spacing.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeSchema/primitives/spacing.js +15 -0
- package/dist/presets/arborPreset/modeSchema/primitives/spacing.js.map +1 -0
- package/dist/presets/arborPreset/modeSchema/primitives/typography.d.ts +157 -0
- package/dist/presets/arborPreset/modeSchema/primitives/typography.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeSchema/primitives/typography.js +28 -0
- package/dist/presets/arborPreset/modeSchema/primitives/typography.js.map +1 -0
- package/dist/presets/arborPreset/modeSchema/scalars/scalars.d.ts +7 -0
- package/dist/presets/arborPreset/modeSchema/scalars/scalars.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeSchema/scalars/scalars.js +8 -0
- package/dist/presets/arborPreset/modeSchema/scalars/scalars.js.map +1 -0
- package/dist/presets/arborPreset/modeSchema/semantics/color.d.ts +63 -0
- package/dist/presets/arborPreset/modeSchema/semantics/color.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeSchema/semantics/color.js +7 -0
- package/dist/presets/arborPreset/modeSchema/semantics/color.js.map +1 -0
- package/dist/presets/arborPreset/modeSchema/semantics/common.d.ts +27 -0
- package/dist/presets/arborPreset/modeSchema/semantics/common.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeSchema/semantics/common.js +28 -0
- package/dist/presets/arborPreset/modeSchema/semantics/common.js.map +1 -0
- package/dist/presets/arborPreset/modeSchema/semantics/duration.d.ts +19 -0
- package/dist/presets/arborPreset/modeSchema/semantics/duration.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeSchema/semantics/duration.js +20 -0
- package/dist/presets/arborPreset/modeSchema/semantics/duration.js.map +1 -0
- package/dist/presets/arborPreset/modeSchema/semantics/easing.d.ts +19 -0
- package/dist/presets/arborPreset/modeSchema/semantics/easing.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeSchema/semantics/easing.js +20 -0
- package/dist/presets/arborPreset/modeSchema/semantics/easing.js.map +1 -0
- package/dist/presets/arborPreset/modeSchema/semantics/lines.d.ts +19 -0
- package/dist/presets/arborPreset/modeSchema/semantics/lines.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeSchema/semantics/lines.js +20 -0
- package/dist/presets/arborPreset/modeSchema/semantics/lines.js.map +1 -0
- package/dist/presets/arborPreset/modeSchema/semantics/radius.d.ts +12 -0
- package/dist/presets/arborPreset/modeSchema/semantics/radius.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeSchema/semantics/radius.js +13 -0
- package/dist/presets/arborPreset/modeSchema/semantics/radius.js.map +1 -0
- package/dist/presets/arborPreset/modeSchema/semantics/shadow.d.ts +115 -0
- package/dist/presets/arborPreset/modeSchema/semantics/shadow.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeSchema/semantics/shadow.js +17 -0
- package/dist/presets/arborPreset/modeSchema/semantics/shadow.js.map +1 -0
- package/dist/presets/arborPreset/modeSchema/semantics/spacing.d.ts +12 -0
- package/dist/presets/arborPreset/modeSchema/semantics/spacing.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeSchema/semantics/spacing.js +12 -0
- package/dist/presets/arborPreset/modeSchema/semantics/spacing.js.map +1 -0
- package/dist/presets/arborPreset/modeValues/intents.d.ts +370 -0
- package/dist/presets/arborPreset/modeValues/intents.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeValues/intents.js +134 -0
- package/dist/presets/arborPreset/modeValues/intents.js.map +1 -0
- package/dist/presets/arborPreset/modeValues/semantics.d.ts +1048 -0
- package/dist/presets/arborPreset/modeValues/semantics.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeValues/semantics.js +92 -0
- package/dist/presets/arborPreset/modeValues/semantics.js.map +1 -0
- package/dist/presets/arborPreset/modeValues/types.d.ts +9 -0
- package/dist/presets/arborPreset/modeValues/types.d.ts.map +1 -0
- package/dist/presets/arborPreset/modeValues/types.js +2 -0
- package/dist/presets/arborPreset/modeValues/types.js.map +1 -0
- package/dist/presets/arborPreset/preset.d.ts +428 -52
- package/dist/presets/arborPreset/preset.d.ts.map +1 -1
- package/dist/presets/arborPreset/preset.js +72 -32
- package/dist/presets/arborPreset/preset.js.map +1 -1
- package/dist/presets/arborPreset/preset.test.js +2 -4
- package/dist/presets/arborPreset/preset.test.js.map +1 -1
- package/dist/presets/basicPreset/functions.test.js +6 -0
- package/dist/presets/basicPreset/functions.test.js.map +1 -1
- package/dist/presets/basicPreset/preset.d.ts +2 -1
- package/dist/presets/basicPreset/preset.d.ts.map +1 -1
- package/dist/presets/basicPreset/preset.js +62 -2
- package/dist/presets/basicPreset/preset.js.map +1 -1
- package/dist/runtime/components/BaseElement.d.ts +1 -1
- package/dist/runtime/components/BaseElement.d.ts.map +1 -1
- package/dist/runtime/components/GlobalsEditor.js +0 -40
- package/dist/runtime/components/GlobalsEditor.js.map +1 -1
- package/dist/runtime/components/SchemeSelector.js +1 -3
- package/dist/runtime/components/SchemeSelector.js.map +1 -1
- package/dist/runtime/components/SystemDemo.js +2 -2
- package/dist/runtime/components/SystemDemo.js.map +1 -1
- package/dist/stylesheet/generateStylesheet.d.ts.map +1 -1
- package/dist/stylesheet/generateStylesheet.js +40 -76
- package/dist/stylesheet/generateStylesheet.js.map +1 -1
- package/dist/stylesheet/generateStylesheet.test.js +3 -5
- package/dist/stylesheet/generateStylesheet.test.js.map +1 -1
- package/dist/stylesheet/modeToCss.d.ts.map +1 -1
- package/dist/stylesheet/modeToCss.js +22 -8
- package/dist/stylesheet/modeToCss.js.map +1 -1
- package/dist/stylesheet/modeToCss.test.js +19 -22
- package/dist/stylesheet/modeToCss.test.js.map +1 -1
- package/dist/util/resolveComputedTokenValue.js +5 -12
- package/dist/util/resolveComputedTokenValue.js.map +1 -1
- package/dist/util/resolveComputedTokenValue.test.js +4 -4
- package/dist/util/resolveComputedTokenValue.test.js.map +1 -1
- package/dist/util/resolveTokenReferences.d.ts.map +1 -1
- package/dist/util/resolveTokenReferences.js +1 -15
- package/dist/util/resolveTokenReferences.js.map +1 -1
- package/dist/util/resolveTokenReferences.test.js +3 -3
- package/dist/util/resolveTokenReferences.test.js.map +1 -1
- package/package.json +12 -12
- package/dist/presets/arborPreset/baseModeValues.d.ts +0 -16
- package/dist/presets/arborPreset/baseModeValues.d.ts.map +0 -1
- package/dist/presets/arborPreset/baseModeValues.js +0 -231
- package/dist/presets/arborPreset/baseModeValues.js.map +0 -1
- package/dist/presets/arborPreset/modeSchema.d.ts +0 -448
- package/dist/presets/arborPreset/modeSchema.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeSchema.js +0 -267
- package/dist/presets/arborPreset/modeSchema.js.map +0 -1
- package/dist/presets/basicPreset/functions.d.ts +0 -12
- package/dist/presets/basicPreset/functions.d.ts.map +0 -1
- package/dist/presets/basicPreset/functions.js +0 -52
- package/dist/presets/basicPreset/functions.js.map +0 -1
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
import { css } from '@arbor-css/calc';
|
|
2
|
-
function createShadowIntentLevel($, size) {
|
|
3
|
-
return {
|
|
4
|
-
$root: css `
|
|
5
|
-
${$.mode.shadow[size].x} ${$.mode.shadow[size].y} ${$.mode.shadow[size]
|
|
6
|
-
.blur} ${$.mode.shadow[size].spread} ${$.mode.shadow[size].color}
|
|
7
|
-
`,
|
|
8
|
-
x: css `
|
|
9
|
-
${$.primitives.shadow[size].x}
|
|
10
|
-
`,
|
|
11
|
-
y: css `
|
|
12
|
-
${$.primitives.shadow[size].y}
|
|
13
|
-
`,
|
|
14
|
-
blur: css `
|
|
15
|
-
${$.primitives.shadow[size].blur}
|
|
16
|
-
`,
|
|
17
|
-
spread: css `
|
|
18
|
-
${$.primitives.shadow[size].spread}
|
|
19
|
-
`,
|
|
20
|
-
color: css `oklch(from ${[
|
|
21
|
-
$.mode.shadow.color,
|
|
22
|
-
$.primitives.shadow[size].color,
|
|
23
|
-
]} l c h / 15%)`,
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
export function createArborModeValues(config) {
|
|
27
|
-
const mainColor = config.tokens.primitives.color[config.mainColor];
|
|
28
|
-
const spacingRoot = config.tokens.primitives.spacing.$root ?? '1rem';
|
|
29
|
-
const shadowRoot = config.tokens.primitives.shadow.$root;
|
|
30
|
-
const $ = config.tokens;
|
|
31
|
-
return {
|
|
32
|
-
color: {
|
|
33
|
-
main: mainColor,
|
|
34
|
-
neutral: mainColor.$neutral,
|
|
35
|
-
},
|
|
36
|
-
surface: {
|
|
37
|
-
padding: {
|
|
38
|
-
$root: css `
|
|
39
|
-
${$.mode.surface.padding.block} ${$.mode.surface.padding.inline}
|
|
40
|
-
`,
|
|
41
|
-
block: css `calc(${$.mode.spacing.lg} * max(1, ${$.mode.surface.roundness} * ${$.system.global.roundness}))`,
|
|
42
|
-
inline: css `calc(${$.mode.spacing.lg} * max(1, ${$.mode.surface.roundness} * ${$.system.global.roundness}))`,
|
|
43
|
-
},
|
|
44
|
-
roundness: 0.75,
|
|
45
|
-
radius: css `calc(${$.mode.radius.md} * ${$.mode.surface.roundness})`,
|
|
46
|
-
primary: {
|
|
47
|
-
bg: css `
|
|
48
|
-
${$.mode.color.main.light}
|
|
49
|
-
`,
|
|
50
|
-
fg: css `
|
|
51
|
-
${$.mode.color.main.ink}
|
|
52
|
-
`,
|
|
53
|
-
border: css `
|
|
54
|
-
${$.mode.color.main.heavy}
|
|
55
|
-
`,
|
|
56
|
-
},
|
|
57
|
-
secondary: {
|
|
58
|
-
bg: css `
|
|
59
|
-
${$.mode.color.main.wash}
|
|
60
|
-
`,
|
|
61
|
-
fg: css `
|
|
62
|
-
${$.mode.color.neutral.ink}
|
|
63
|
-
`,
|
|
64
|
-
border: css `
|
|
65
|
-
${$.mode.color.main.ink}
|
|
66
|
-
`,
|
|
67
|
-
},
|
|
68
|
-
ambient: {
|
|
69
|
-
bg: css `
|
|
70
|
-
${$.mode.color.neutral.paper}
|
|
71
|
-
`,
|
|
72
|
-
fg: css `
|
|
73
|
-
${$.mode.color.neutral.ink}
|
|
74
|
-
`,
|
|
75
|
-
border: css `
|
|
76
|
-
${$.mode.color.neutral.heavy}
|
|
77
|
-
`,
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
|
-
action: {
|
|
81
|
-
padding: {
|
|
82
|
-
$root: css `
|
|
83
|
-
${$.mode.action.padding.block} ${$.mode.action.padding.inline}
|
|
84
|
-
`,
|
|
85
|
-
block: css `calc(${$.primitives.spacing.md} / ${$.mode.density})`,
|
|
86
|
-
inline: css `calc((${$.primitives.spacing.lg} + ${$.system.global.roundness} * ${$.primitives.spacing.sm}) / ${$.mode.density})`,
|
|
87
|
-
},
|
|
88
|
-
roundness: 1,
|
|
89
|
-
radius: css `calc(${$.mode.radius.sm} * ${$.mode.action.roundness})`,
|
|
90
|
-
primary: {
|
|
91
|
-
bg: css `
|
|
92
|
-
${$.mode.color.main.mid}
|
|
93
|
-
`,
|
|
94
|
-
fg: css `
|
|
95
|
-
${$.mode.color.main.ink}
|
|
96
|
-
`,
|
|
97
|
-
border: css `
|
|
98
|
-
${$.mode.color.main.heavy}
|
|
99
|
-
`,
|
|
100
|
-
},
|
|
101
|
-
secondary: {
|
|
102
|
-
bg: css `
|
|
103
|
-
${$.mode.color.neutral.paper}
|
|
104
|
-
`,
|
|
105
|
-
fg: css `
|
|
106
|
-
${$.mode.color.neutral.ink}
|
|
107
|
-
`,
|
|
108
|
-
border: css `
|
|
109
|
-
${$.mode.color.neutral.heavy}
|
|
110
|
-
`,
|
|
111
|
-
},
|
|
112
|
-
ambient: {
|
|
113
|
-
bg: 'transparent',
|
|
114
|
-
fg: css `
|
|
115
|
-
${$.mode.color.main.ink}
|
|
116
|
-
`,
|
|
117
|
-
border: 'transparent',
|
|
118
|
-
},
|
|
119
|
-
},
|
|
120
|
-
control: {
|
|
121
|
-
padding: {
|
|
122
|
-
$root: css `
|
|
123
|
-
${$.mode.control.padding.block} ${$.mode.control.padding.inline}
|
|
124
|
-
`,
|
|
125
|
-
block: css `calc(${$.primitives.spacing.sm} / ${$.mode.density})`,
|
|
126
|
-
inline: css `calc((${$.primitives.spacing.md} + ${$.system.global.roundness} * ${$.primitives.spacing.sm}) / ${$.mode.density})`,
|
|
127
|
-
},
|
|
128
|
-
roundness: 1,
|
|
129
|
-
radius: css `calc(${$.mode.radius.sm} * ${$.mode.control.roundness})`,
|
|
130
|
-
bg: css `
|
|
131
|
-
${$.mode.color.neutral.paper}
|
|
132
|
-
`,
|
|
133
|
-
fg: css `
|
|
134
|
-
${$.mode.color.neutral.ink}
|
|
135
|
-
`,
|
|
136
|
-
border: css `
|
|
137
|
-
${$.mode.color.neutral.heavy}
|
|
138
|
-
`,
|
|
139
|
-
},
|
|
140
|
-
density: 1,
|
|
141
|
-
spacing: {
|
|
142
|
-
$root: css `calc(${spacingRoot} / ${$.mode.density})`,
|
|
143
|
-
xs: css `calc(${$.primitives.spacing.xs} / ${$.mode.density})`,
|
|
144
|
-
sm: css `calc(${$.primitives.spacing.sm} / ${$.mode.density})`,
|
|
145
|
-
md: css `calc(${$.primitives.spacing.md} / ${$.mode.density})`,
|
|
146
|
-
lg: css `calc(${$.primitives.spacing.lg} / ${$.mode.density})`,
|
|
147
|
-
xl: css `calc(${$.primitives.spacing.xl} / ${$.mode.density})`,
|
|
148
|
-
},
|
|
149
|
-
text: {
|
|
150
|
-
primary: {
|
|
151
|
-
size: css `calc(${$.primitives.typography['3xl'].size} / ${$.mode.density})`,
|
|
152
|
-
weight: $.primitives.typography['3xl'].weight,
|
|
153
|
-
lineHeight: $.primitives.typography['3xl'].lineHeight,
|
|
154
|
-
font: 'sans-serif',
|
|
155
|
-
},
|
|
156
|
-
secondary: {
|
|
157
|
-
size: css `calc(max(${$.primitives.typography.xs.size}, ${$.primitives.typography.md.size} / ${$.mode.density}))`,
|
|
158
|
-
weight: $.primitives.typography.md.weight,
|
|
159
|
-
lineHeight: $.primitives.typography.md.lineHeight,
|
|
160
|
-
font: 'sans-serif',
|
|
161
|
-
},
|
|
162
|
-
ambient: {
|
|
163
|
-
size: css `calc(max(${$.primitives.typography.xs.size}, ${$.primitives.typography.sm.size} / ${$.mode.density}))`,
|
|
164
|
-
weight: $.primitives.typography.sm.weight,
|
|
165
|
-
lineHeight: $.primitives.typography.sm.lineHeight,
|
|
166
|
-
font: 'sans-serif',
|
|
167
|
-
},
|
|
168
|
-
},
|
|
169
|
-
radius: {
|
|
170
|
-
$root: css `
|
|
171
|
-
${$.mode.radius.md}
|
|
172
|
-
`,
|
|
173
|
-
xs: css `calc(${$.system.global.roundness} * ${$.primitives.spacing.sm} * 2 / ${$.mode.density})`,
|
|
174
|
-
sm: css `calc(${$.system.global.roundness} * ${$.primitives.spacing.md} * 2 / ${$.mode.density})`,
|
|
175
|
-
md: css `calc(${$.system.global.roundness} * ${$.primitives.spacing.lg} * 2 / ${$.mode.density})`,
|
|
176
|
-
lg: css `calc(${$.system.global.roundness} * ${$.primitives.spacing.xl} * 2 / ${$.mode.density})`,
|
|
177
|
-
xl: css `calc(${$.system.global.roundness} * ${$.primitives.spacing['2xl']} * 2 / ${$.mode.density})`,
|
|
178
|
-
},
|
|
179
|
-
lineWidth: {
|
|
180
|
-
$root: css `
|
|
181
|
-
${$.system.global.lineWidth}
|
|
182
|
-
`,
|
|
183
|
-
sm: css `calc(max(1px, ${$.system.global.lineWidth} / 2))`,
|
|
184
|
-
md: css `
|
|
185
|
-
${$.system.global.lineWidth}
|
|
186
|
-
`,
|
|
187
|
-
lg: css `calc(${$.system.global.lineWidth} * 2)`,
|
|
188
|
-
},
|
|
189
|
-
shadow: {
|
|
190
|
-
$root: css `
|
|
191
|
-
${shadowRoot.x} ${shadowRoot.y} ${shadowRoot.blur} ${shadowRoot.spread} ${shadowRoot.color}
|
|
192
|
-
`,
|
|
193
|
-
color: css `
|
|
194
|
-
${$.mode.color.neutral.heavy}
|
|
195
|
-
`,
|
|
196
|
-
sm: createShadowIntentLevel($, 'sm'),
|
|
197
|
-
md: createShadowIntentLevel($, 'md'),
|
|
198
|
-
lg: createShadowIntentLevel($, 'lg'),
|
|
199
|
-
xl: createShadowIntentLevel($, 'xl'),
|
|
200
|
-
},
|
|
201
|
-
easing: {
|
|
202
|
-
$root: css `
|
|
203
|
-
${$.primitives.easing.medium}
|
|
204
|
-
`,
|
|
205
|
-
tight: css `
|
|
206
|
-
${$.primitives.easing.tight}
|
|
207
|
-
`,
|
|
208
|
-
medium: css `
|
|
209
|
-
${$.primitives.easing.medium}
|
|
210
|
-
`,
|
|
211
|
-
loose: css `
|
|
212
|
-
${$.primitives.easing.loose}
|
|
213
|
-
`,
|
|
214
|
-
},
|
|
215
|
-
duration: {
|
|
216
|
-
$root: css `
|
|
217
|
-
${$.primitives.duration.medium}
|
|
218
|
-
`,
|
|
219
|
-
fast: css `
|
|
220
|
-
${$.primitives.duration.fast}
|
|
221
|
-
`,
|
|
222
|
-
medium: css `
|
|
223
|
-
${$.primitives.duration.medium}
|
|
224
|
-
`,
|
|
225
|
-
slow: css `
|
|
226
|
-
${$.primitives.duration.slow}
|
|
227
|
-
`,
|
|
228
|
-
},
|
|
229
|
-
};
|
|
230
|
-
}
|
|
231
|
-
//# sourceMappingURL=baseModeValues.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"baseModeValues.js","sourceRoot":"","sources":["../../../src/presets/arborPreset/baseModeValues.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAsBtC,SAAS,uBAAuB,CAAC,CAAS,EAAE,IAA+B;IAC1E,OAAO;QACN,KAAK,EAAE,GAAG,CAAA;KACP,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,IAA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IAAI;IAC5B;SACD;KACqC,CAAC;AACzC,CAAC"}
|
|
@@ -1,448 +0,0 @@
|
|
|
1
|
-
export declare const arborModeSchema: {
|
|
2
|
-
color: {
|
|
3
|
-
main: {
|
|
4
|
-
$root: {
|
|
5
|
-
purpose: "color";
|
|
6
|
-
description: string;
|
|
7
|
-
};
|
|
8
|
-
paper: {
|
|
9
|
-
purpose: "color";
|
|
10
|
-
description: "A very light shade, good for backgrounds and surfaces";
|
|
11
|
-
};
|
|
12
|
-
wash: {
|
|
13
|
-
purpose: "color";
|
|
14
|
-
description: "A very faint but colorful shade, good for backgrounds and surfaces";
|
|
15
|
-
};
|
|
16
|
-
light: {
|
|
17
|
-
purpose: "color";
|
|
18
|
-
description: "A light shade of the mode's main color, good for emphasized surfaces.";
|
|
19
|
-
};
|
|
20
|
-
mid: {
|
|
21
|
-
purpose: "color";
|
|
22
|
-
description: "The main shade of the mode's main color, good for primary actions and decoration.";
|
|
23
|
-
};
|
|
24
|
-
heavy: {
|
|
25
|
-
purpose: "color";
|
|
26
|
-
description: "A heavy shade of the mode's main color, good for text emphasis and accents.";
|
|
27
|
-
};
|
|
28
|
-
ink: {
|
|
29
|
-
purpose: "color";
|
|
30
|
-
description: "A very dark but still colorful shade of the mode's main color, good for text and high contrast elements.";
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
neutral: {
|
|
34
|
-
$root: {
|
|
35
|
-
purpose: "color";
|
|
36
|
-
description: string;
|
|
37
|
-
};
|
|
38
|
-
paper: {
|
|
39
|
-
purpose: "color";
|
|
40
|
-
description: "A very light neutral shade, good for backgrounds and surfaces";
|
|
41
|
-
};
|
|
42
|
-
wash: {
|
|
43
|
-
purpose: "color";
|
|
44
|
-
description: "A faint neutral shade, good for backgrounds and surfaces";
|
|
45
|
-
};
|
|
46
|
-
light: {
|
|
47
|
-
purpose: "color";
|
|
48
|
-
description: "A light neutral shade, good for emphasized surfaces";
|
|
49
|
-
};
|
|
50
|
-
mid: {
|
|
51
|
-
purpose: "color";
|
|
52
|
-
description: "The main neutral shade, good for primary actions and decoration";
|
|
53
|
-
};
|
|
54
|
-
heavy: {
|
|
55
|
-
purpose: "color";
|
|
56
|
-
description: "A heavy neutral shade, good for low-emphasis text and accents";
|
|
57
|
-
};
|
|
58
|
-
ink: {
|
|
59
|
-
purpose: "color";
|
|
60
|
-
description: "A very dark neutral shade, good for text and high contrast elements";
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
action: {
|
|
65
|
-
padding: {
|
|
66
|
-
$root: {
|
|
67
|
-
purpose: "other";
|
|
68
|
-
description: string;
|
|
69
|
-
};
|
|
70
|
-
inline: {
|
|
71
|
-
purpose: "spacing";
|
|
72
|
-
description: "Inline (horizontal, usually) padding";
|
|
73
|
-
};
|
|
74
|
-
block: {
|
|
75
|
-
purpose: "spacing";
|
|
76
|
-
description: "Block (vertical, usually) padding";
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
roundness: {
|
|
80
|
-
purpose: "scalar";
|
|
81
|
-
description: "This token controls the overall roundness of actions and stacks with the root roundness token";
|
|
82
|
-
};
|
|
83
|
-
radius: {
|
|
84
|
-
purpose: "border-radius";
|
|
85
|
-
description: "This token captures the border-radius of actions, taking into account the overall roundness";
|
|
86
|
-
};
|
|
87
|
-
primary: {
|
|
88
|
-
fg: {
|
|
89
|
-
purpose: "color";
|
|
90
|
-
description: "Intended for use as the foreground color";
|
|
91
|
-
};
|
|
92
|
-
bg: {
|
|
93
|
-
purpose: "color";
|
|
94
|
-
description: "Intended for use as the background color";
|
|
95
|
-
};
|
|
96
|
-
border: {
|
|
97
|
-
purpose: "color";
|
|
98
|
-
description: "Intended for use as the border color, if desired";
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
secondary: {
|
|
102
|
-
fg: {
|
|
103
|
-
purpose: "color";
|
|
104
|
-
description: "Intended for use as the foreground color";
|
|
105
|
-
};
|
|
106
|
-
bg: {
|
|
107
|
-
purpose: "color";
|
|
108
|
-
description: "Intended for use as the background color";
|
|
109
|
-
};
|
|
110
|
-
border: {
|
|
111
|
-
purpose: "color";
|
|
112
|
-
description: "Intended for use as the border color, if desired";
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
ambient: {
|
|
116
|
-
fg: {
|
|
117
|
-
purpose: "color";
|
|
118
|
-
description: "Intended for use as the foreground color";
|
|
119
|
-
};
|
|
120
|
-
bg: {
|
|
121
|
-
purpose: "color";
|
|
122
|
-
description: "Intended for use as the background color";
|
|
123
|
-
};
|
|
124
|
-
border: {
|
|
125
|
-
purpose: "color";
|
|
126
|
-
description: "Intended for use as the border color, if desired";
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
control: {
|
|
131
|
-
fg: {
|
|
132
|
-
purpose: "color";
|
|
133
|
-
description: "Intended for use as the foreground color";
|
|
134
|
-
};
|
|
135
|
-
bg: {
|
|
136
|
-
purpose: "color";
|
|
137
|
-
description: "Intended for use as the background color";
|
|
138
|
-
};
|
|
139
|
-
border: {
|
|
140
|
-
purpose: "color";
|
|
141
|
-
description: "Intended for use as the border color, if desired";
|
|
142
|
-
};
|
|
143
|
-
padding: {
|
|
144
|
-
$root: {
|
|
145
|
-
purpose: "other";
|
|
146
|
-
description: string;
|
|
147
|
-
};
|
|
148
|
-
inline: {
|
|
149
|
-
purpose: "spacing";
|
|
150
|
-
description: "Inline (horizontal, usually) padding";
|
|
151
|
-
};
|
|
152
|
-
block: {
|
|
153
|
-
purpose: "spacing";
|
|
154
|
-
description: "Block (vertical, usually) padding";
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
roundness: {
|
|
158
|
-
purpose: "scalar";
|
|
159
|
-
description: "This token controls the overall roundness of controls and stacks with the root roundness token";
|
|
160
|
-
};
|
|
161
|
-
radius: {
|
|
162
|
-
purpose: "border-radius";
|
|
163
|
-
description: "This token captures the border-radius of controls, taking into account the overall roundness";
|
|
164
|
-
};
|
|
165
|
-
};
|
|
166
|
-
surface: {
|
|
167
|
-
padding: {
|
|
168
|
-
$root: {
|
|
169
|
-
purpose: "other";
|
|
170
|
-
description: string;
|
|
171
|
-
};
|
|
172
|
-
inline: {
|
|
173
|
-
purpose: "spacing";
|
|
174
|
-
description: "Inline (horizontal, usually) padding";
|
|
175
|
-
};
|
|
176
|
-
block: {
|
|
177
|
-
purpose: "spacing";
|
|
178
|
-
description: "Block (vertical, usually) padding";
|
|
179
|
-
};
|
|
180
|
-
};
|
|
181
|
-
roundness: {
|
|
182
|
-
purpose: "scalar";
|
|
183
|
-
description: "This token controls the overall roundness of surfaces and stacks with the root roundness token";
|
|
184
|
-
};
|
|
185
|
-
radius: {
|
|
186
|
-
purpose: "border-radius";
|
|
187
|
-
description: "This token captures the border-radius of surfaces, taking into account the overall roundness";
|
|
188
|
-
};
|
|
189
|
-
primary: {
|
|
190
|
-
fg: {
|
|
191
|
-
purpose: "color";
|
|
192
|
-
description: "Intended for use as the foreground color";
|
|
193
|
-
};
|
|
194
|
-
bg: {
|
|
195
|
-
purpose: "color";
|
|
196
|
-
description: "Intended for use as the background color";
|
|
197
|
-
};
|
|
198
|
-
border: {
|
|
199
|
-
purpose: "color";
|
|
200
|
-
description: "Intended for use as the border color, if desired";
|
|
201
|
-
};
|
|
202
|
-
};
|
|
203
|
-
secondary: {
|
|
204
|
-
fg: {
|
|
205
|
-
purpose: "color";
|
|
206
|
-
description: "Intended for use as the foreground color";
|
|
207
|
-
};
|
|
208
|
-
bg: {
|
|
209
|
-
purpose: "color";
|
|
210
|
-
description: "Intended for use as the background color";
|
|
211
|
-
};
|
|
212
|
-
border: {
|
|
213
|
-
purpose: "color";
|
|
214
|
-
description: "Intended for use as the border color, if desired";
|
|
215
|
-
};
|
|
216
|
-
};
|
|
217
|
-
ambient: {
|
|
218
|
-
fg: {
|
|
219
|
-
purpose: "color";
|
|
220
|
-
description: "Intended for use as the foreground color";
|
|
221
|
-
};
|
|
222
|
-
bg: {
|
|
223
|
-
purpose: "color";
|
|
224
|
-
description: "Intended for use as the background color";
|
|
225
|
-
};
|
|
226
|
-
border: {
|
|
227
|
-
purpose: "color";
|
|
228
|
-
description: "Intended for use as the border color, if desired";
|
|
229
|
-
};
|
|
230
|
-
};
|
|
231
|
-
};
|
|
232
|
-
text: {
|
|
233
|
-
primary: {
|
|
234
|
-
size: "font-size";
|
|
235
|
-
weight: "font-weight";
|
|
236
|
-
lineHeight: "line-height";
|
|
237
|
-
font: "font-family";
|
|
238
|
-
};
|
|
239
|
-
secondary: {
|
|
240
|
-
size: "font-size";
|
|
241
|
-
weight: "font-weight";
|
|
242
|
-
lineHeight: "line-height";
|
|
243
|
-
font: "font-family";
|
|
244
|
-
};
|
|
245
|
-
ambient: {
|
|
246
|
-
size: "font-size";
|
|
247
|
-
weight: "font-weight";
|
|
248
|
-
lineHeight: "line-height";
|
|
249
|
-
font: "font-family";
|
|
250
|
-
};
|
|
251
|
-
};
|
|
252
|
-
density: {
|
|
253
|
-
purpose: "scalar";
|
|
254
|
-
description: "A scaling factor for density. Higher density means smaller, tighter spacing and size";
|
|
255
|
-
};
|
|
256
|
-
spacing: {
|
|
257
|
-
$root: {
|
|
258
|
-
purpose: "spacing";
|
|
259
|
-
description: string;
|
|
260
|
-
};
|
|
261
|
-
xs: "spacing";
|
|
262
|
-
sm: "spacing";
|
|
263
|
-
md: "spacing";
|
|
264
|
-
lg: "spacing";
|
|
265
|
-
xl: "spacing";
|
|
266
|
-
};
|
|
267
|
-
lineWidth: {
|
|
268
|
-
$root: {
|
|
269
|
-
purpose: "border-width";
|
|
270
|
-
description: string;
|
|
271
|
-
};
|
|
272
|
-
sm: {
|
|
273
|
-
purpose: "border-width";
|
|
274
|
-
description: "A hairline border width. Always >= 1px. If the global border width is small, this may be the same as \"md\"";
|
|
275
|
-
};
|
|
276
|
-
md: {
|
|
277
|
-
purpose: "border-width";
|
|
278
|
-
description: "A general-purpose border width";
|
|
279
|
-
};
|
|
280
|
-
lg: {
|
|
281
|
-
purpose: "border-width";
|
|
282
|
-
description: "A thicker border, good for emphasis";
|
|
283
|
-
};
|
|
284
|
-
};
|
|
285
|
-
radius: {
|
|
286
|
-
$root: {
|
|
287
|
-
purpose: "border-radius";
|
|
288
|
-
description: string;
|
|
289
|
-
};
|
|
290
|
-
xs: "border-radius";
|
|
291
|
-
sm: "border-radius";
|
|
292
|
-
md: "border-radius";
|
|
293
|
-
lg: "border-radius";
|
|
294
|
-
xl: "border-radius";
|
|
295
|
-
};
|
|
296
|
-
shadow: {
|
|
297
|
-
$root: {
|
|
298
|
-
purpose: "shadow";
|
|
299
|
-
description: string;
|
|
300
|
-
};
|
|
301
|
-
color: {
|
|
302
|
-
purpose: "color";
|
|
303
|
-
description: "If specified, this token overrides shadow colors from primitives";
|
|
304
|
-
};
|
|
305
|
-
sm: {
|
|
306
|
-
x: {
|
|
307
|
-
purpose: "size";
|
|
308
|
-
description: "Horizontal offset of the shadow";
|
|
309
|
-
};
|
|
310
|
-
y: {
|
|
311
|
-
purpose: "size";
|
|
312
|
-
description: "Vertical offset of the shadow";
|
|
313
|
-
};
|
|
314
|
-
blur: {
|
|
315
|
-
purpose: "size";
|
|
316
|
-
description: "Blur radius of the shadow";
|
|
317
|
-
};
|
|
318
|
-
spread: {
|
|
319
|
-
purpose: "size";
|
|
320
|
-
description: "Spread radius of the shadow";
|
|
321
|
-
};
|
|
322
|
-
color: {
|
|
323
|
-
purpose: "color";
|
|
324
|
-
description: "Color of the shadow";
|
|
325
|
-
};
|
|
326
|
-
$root: {
|
|
327
|
-
purpose: "shadow";
|
|
328
|
-
description: string;
|
|
329
|
-
};
|
|
330
|
-
};
|
|
331
|
-
md: {
|
|
332
|
-
x: {
|
|
333
|
-
purpose: "size";
|
|
334
|
-
description: "Horizontal offset of the shadow";
|
|
335
|
-
};
|
|
336
|
-
y: {
|
|
337
|
-
purpose: "size";
|
|
338
|
-
description: "Vertical offset of the shadow";
|
|
339
|
-
};
|
|
340
|
-
blur: {
|
|
341
|
-
purpose: "size";
|
|
342
|
-
description: "Blur radius of the shadow";
|
|
343
|
-
};
|
|
344
|
-
spread: {
|
|
345
|
-
purpose: "size";
|
|
346
|
-
description: "Spread radius of the shadow";
|
|
347
|
-
};
|
|
348
|
-
color: {
|
|
349
|
-
purpose: "color";
|
|
350
|
-
description: "Color of the shadow";
|
|
351
|
-
};
|
|
352
|
-
$root: {
|
|
353
|
-
purpose: "shadow";
|
|
354
|
-
description: string;
|
|
355
|
-
};
|
|
356
|
-
};
|
|
357
|
-
lg: {
|
|
358
|
-
x: {
|
|
359
|
-
purpose: "size";
|
|
360
|
-
description: "Horizontal offset of the shadow";
|
|
361
|
-
};
|
|
362
|
-
y: {
|
|
363
|
-
purpose: "size";
|
|
364
|
-
description: "Vertical offset of the shadow";
|
|
365
|
-
};
|
|
366
|
-
blur: {
|
|
367
|
-
purpose: "size";
|
|
368
|
-
description: "Blur radius of the shadow";
|
|
369
|
-
};
|
|
370
|
-
spread: {
|
|
371
|
-
purpose: "size";
|
|
372
|
-
description: "Spread radius of the shadow";
|
|
373
|
-
};
|
|
374
|
-
color: {
|
|
375
|
-
purpose: "color";
|
|
376
|
-
description: "Color of the shadow";
|
|
377
|
-
};
|
|
378
|
-
$root: {
|
|
379
|
-
purpose: "shadow";
|
|
380
|
-
description: string;
|
|
381
|
-
};
|
|
382
|
-
};
|
|
383
|
-
xl: {
|
|
384
|
-
x: {
|
|
385
|
-
purpose: "size";
|
|
386
|
-
description: "Horizontal offset of the shadow";
|
|
387
|
-
};
|
|
388
|
-
y: {
|
|
389
|
-
purpose: "size";
|
|
390
|
-
description: "Vertical offset of the shadow";
|
|
391
|
-
};
|
|
392
|
-
blur: {
|
|
393
|
-
purpose: "size";
|
|
394
|
-
description: "Blur radius of the shadow";
|
|
395
|
-
};
|
|
396
|
-
spread: {
|
|
397
|
-
purpose: "size";
|
|
398
|
-
description: "Spread radius of the shadow";
|
|
399
|
-
};
|
|
400
|
-
color: {
|
|
401
|
-
purpose: "color";
|
|
402
|
-
description: "Color of the shadow";
|
|
403
|
-
};
|
|
404
|
-
$root: {
|
|
405
|
-
purpose: "shadow";
|
|
406
|
-
description: string;
|
|
407
|
-
};
|
|
408
|
-
};
|
|
409
|
-
};
|
|
410
|
-
easing: {
|
|
411
|
-
$root: {
|
|
412
|
-
purpose: "easing-function";
|
|
413
|
-
description: string;
|
|
414
|
-
};
|
|
415
|
-
tight: {
|
|
416
|
-
purpose: "easing-function";
|
|
417
|
-
description: "A short, snappy easing, good for tight interactions";
|
|
418
|
-
};
|
|
419
|
-
medium: {
|
|
420
|
-
purpose: "easing-function";
|
|
421
|
-
description: "A medium easing, good for general use";
|
|
422
|
-
};
|
|
423
|
-
loose: {
|
|
424
|
-
purpose: "easing-function";
|
|
425
|
-
description: "A long, relaxed easing, good for slow interactions and animations";
|
|
426
|
-
};
|
|
427
|
-
};
|
|
428
|
-
duration: {
|
|
429
|
-
$root: {
|
|
430
|
-
purpose: "duration";
|
|
431
|
-
description: string;
|
|
432
|
-
};
|
|
433
|
-
fast: {
|
|
434
|
-
purpose: "duration";
|
|
435
|
-
description: "A short, snappy duration, good for fast interactions and large animations";
|
|
436
|
-
};
|
|
437
|
-
medium: {
|
|
438
|
-
purpose: "duration";
|
|
439
|
-
description: "A medium duration, good for general use, fast enough for interactions";
|
|
440
|
-
};
|
|
441
|
-
slow: {
|
|
442
|
-
purpose: "duration";
|
|
443
|
-
description: "A long, relaxed duration, good for slow interactions and animations";
|
|
444
|
-
};
|
|
445
|
-
};
|
|
446
|
-
};
|
|
447
|
-
export type ArborModeSchema = typeof arborModeSchema;
|
|
448
|
-
//# sourceMappingURL=modeSchema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"modeSchema.d.ts","sourceRoot":"","sources":["../../../src/presets/arborPreset/modeSchema.ts"],"names":[],"mappings":"AAmEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsOC,CAAC;AAE9B,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC"}
|