@arbor-css/core 0.0.145 → 0.0.146
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/getStructuredTokensMap.test.js +9 -9
- package/dist/getStructuredTokensMap.test.js.map +1 -1
- package/dist/presets/v1/index.d.ts.map +1 -0
- package/dist/presets/v1/index.js.map +1 -0
- package/dist/presets/{v2 → v1}/preset.d.ts +5 -5
- package/dist/presets/v1/preset.d.ts.map +1 -0
- package/dist/presets/{v2 → v1}/preset.js +1 -1
- package/dist/presets/{v2 → v1}/preset.js.map +1 -1
- package/dist/presets/v1/preset.test.d.ts.map +1 -0
- package/dist/presets/{v2 → v1}/preset.test.js +3 -3
- package/dist/presets/{v2 → v1}/preset.test.js.map +1 -1
- package/dist/presets/{v2 → v1}/schema/global.d.ts.map +1 -1
- package/dist/presets/{v2 → v1}/schema/global.js.map +1 -1
- package/dist/presets/{v2 → v1}/schema/intents.d.ts.map +1 -1
- package/dist/presets/{v2 → v1}/schema/intents.js.map +1 -1
- package/dist/presets/{v2 → v1}/schema/schema.d.ts +2 -2
- package/dist/presets/{v2 → v1}/schema/schema.d.ts.map +1 -1
- package/dist/presets/{v2 → v1}/schema/schema.js +2 -2
- package/dist/presets/{v2 → v1}/schema/schema.js.map +1 -1
- package/dist/presets/{v2 → v1}/schema/semantics.d.ts.map +1 -1
- package/dist/presets/{v2 → v1}/schema/semantics.js.map +1 -1
- package/dist/presets/{v2 → v1}/values/color/color.d.ts.map +1 -1
- package/dist/presets/{v2 → v1}/values/color/color.js.map +1 -1
- package/dist/presets/{v2 → v1}/values/color/compile.d.ts.map +1 -1
- package/dist/presets/{v2 → v1}/values/color/compile.js.map +1 -1
- package/dist/presets/v1/values/color/compile.test.d.ts.map +1 -0
- package/dist/presets/{v2 → v1}/values/color/compile.test.js.map +1 -1
- package/dist/presets/{v2 → v1}/values/color/index.d.ts.map +1 -1
- package/dist/presets/{v2 → v1}/values/color/index.js.map +1 -1
- package/dist/presets/{v2 → v1}/values/color/ranges.d.ts.map +1 -1
- package/dist/presets/{v2 → v1}/values/color/ranges.js.map +1 -1
- package/dist/presets/{v2 → v1}/values/color/schemes.d.ts.map +1 -1
- package/dist/presets/{v2 → v1}/values/color/schemes.js.map +1 -1
- package/dist/presets/{v2 → v1}/values/intents.d.ts +2 -2
- package/dist/presets/v1/values/intents.d.ts.map +1 -0
- package/dist/presets/{v2 → v1}/values/intents.js +3 -3
- package/dist/presets/{v2 → v1}/values/intents.js.map +1 -1
- package/dist/presets/{v2 → v1}/values/semantics.d.ts.map +1 -1
- package/dist/presets/{v2 → v1}/values/semantics.js +1 -1
- package/dist/presets/{v2 → v1}/values/semantics.js.map +1 -1
- package/dist/presets/{v2 → v1}/values/shadow/index.d.ts.map +1 -1
- package/dist/presets/{v2 → v1}/values/shadow/index.js.map +1 -1
- package/dist/presets/{v2 → v1}/values/spacing/index.d.ts.map +1 -1
- package/dist/presets/{v2 → v1}/values/spacing/index.js.map +1 -1
- package/dist/presets/{v2 → v1}/values/types.d.ts.map +1 -1
- package/dist/presets/v1/values/types.js.map +1 -0
- package/dist/presets/{v2 → v1}/values/typography/index.d.ts.map +1 -1
- package/dist/presets/{arborPreset/modeValues → v1/values}/typography/index.js +1 -1
- package/dist/presets/{v2 → v1}/values/typography/index.js.map +1 -1
- package/dist/rendering/generateStylesheet.test.js +4 -4
- package/dist/rendering/generateStylesheet.test.js.map +1 -1
- package/dist/runtime/components/ColorSwatch.js +1 -1
- package/dist/runtime/components/EasingScale.js +6 -6
- package/dist/runtime/components/FunctionsList.d.ts.map +1 -1
- package/dist/runtime/components/FunctionsList.js +7 -10
- package/dist/runtime/components/FunctionsList.js.map +1 -1
- package/dist/runtime/components/IntentDemos.js +6 -6
- package/dist/runtime/components/LiveEditor.js +11 -11
- package/dist/runtime/components/MixinsList.d.ts.map +1 -1
- package/dist/runtime/components/MixinsList.js +7 -10
- package/dist/runtime/components/MixinsList.js.map +1 -1
- package/dist/runtime/components/ModeGraph.d.ts.map +1 -1
- package/dist/runtime/components/ModeGraph.js +13 -16
- package/dist/runtime/components/ModeGraph.js.map +1 -1
- package/dist/runtime/components/ShadowScale.js +6 -6
- package/dist/runtime/components/SpacingScale.js +3 -3
- package/dist/runtime/components/SystemDemo.js +1 -1
- package/dist/util/buildModeTokenGraph.test.js +3 -3
- package/dist/util/buildModeTokenGraph.test.js.map +1 -1
- package/dist/util/resolveComputedTokenValue.test.js +5 -5
- package/dist/util/resolveComputedTokenValue.test.js.map +1 -1
- package/dist/util/tokenValidation.d.ts.map +1 -1
- package/dist/util/tokenValidation.js +6 -4
- package/dist/util/tokenValidation.js.map +1 -1
- package/dist/util/tokenValidation.test.js +15 -0
- package/dist/util/tokenValidation.test.js.map +1 -1
- package/package.json +13 -19
- package/dist/presets/arborPreset/index.d.ts +0 -9
- package/dist/presets/arborPreset/index.d.ts.map +0 -1
- package/dist/presets/arborPreset/index.js +0 -9
- package/dist/presets/arborPreset/index.js.map +0 -1
- package/dist/presets/arborPreset/modeSchema/global.d.ts +0 -159
- package/dist/presets/arborPreset/modeSchema/global.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeSchema/global.js +0 -158
- package/dist/presets/arborPreset/modeSchema/global.js.map +0 -1
- package/dist/presets/arborPreset/modeSchema/intents/action.d.ts +0 -101
- package/dist/presets/arborPreset/modeSchema/intents/action.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeSchema/intents/action.js +0 -18
- package/dist/presets/arborPreset/modeSchema/intents/action.js.map +0 -1
- package/dist/presets/arborPreset/modeSchema/intents/common.d.ts +0 -45
- package/dist/presets/arborPreset/modeSchema/intents/common.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeSchema/intents/common.js +0 -46
- package/dist/presets/arborPreset/modeSchema/intents/common.js.map +0 -1
- package/dist/presets/arborPreset/modeSchema/intents/control.d.ts +0 -53
- package/dist/presets/arborPreset/modeSchema/intents/control.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeSchema/intents/control.js +0 -16
- package/dist/presets/arborPreset/modeSchema/intents/control.js.map +0 -1
- package/dist/presets/arborPreset/modeSchema/intents/prose.d.ts +0 -24
- package/dist/presets/arborPreset/modeSchema/intents/prose.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeSchema/intents/prose.js +0 -8
- package/dist/presets/arborPreset/modeSchema/intents/prose.js.map +0 -1
- package/dist/presets/arborPreset/modeSchema/intents/surface.d.ts +0 -101
- package/dist/presets/arborPreset/modeSchema/intents/surface.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeSchema/intents/surface.js +0 -18
- package/dist/presets/arborPreset/modeSchema/intents/surface.js.map +0 -1
- package/dist/presets/arborPreset/modeSchema/modeSchema.d.ts +0 -916
- package/dist/presets/arborPreset/modeSchema/modeSchema.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeSchema/modeSchema.js +0 -34
- package/dist/presets/arborPreset/modeSchema/modeSchema.js.map +0 -1
- package/dist/presets/arborPreset/modeSchema/modeSchema.test.d.ts +0 -2
- package/dist/presets/arborPreset/modeSchema/modeSchema.test.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeSchema/modeSchema.test.js +0 -10
- package/dist/presets/arborPreset/modeSchema/modeSchema.test.js.map +0 -1
- package/dist/presets/arborPreset/modeSchema/primitives/color.d.ts +0 -93
- package/dist/presets/arborPreset/modeSchema/primitives/color.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeSchema/primitives/color.js +0 -42
- package/dist/presets/arborPreset/modeSchema/primitives/color.js.map +0 -1
- package/dist/presets/arborPreset/modeSchema/primitives/duration.d.ts +0 -10
- package/dist/presets/arborPreset/modeSchema/primitives/duration.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeSchema/primitives/duration.js +0 -11
- package/dist/presets/arborPreset/modeSchema/primitives/duration.js.map +0 -1
- package/dist/presets/arborPreset/modeSchema/primitives/shadow.d.ts +0 -185
- package/dist/presets/arborPreset/modeSchema/primitives/shadow.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeSchema/primitives/shadow.js +0 -36
- package/dist/presets/arborPreset/modeSchema/primitives/shadow.js.map +0 -1
- package/dist/presets/arborPreset/modeSchema/primitives/spacing.d.ts +0 -14
- package/dist/presets/arborPreset/modeSchema/primitives/spacing.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeSchema/primitives/spacing.js +0 -15
- package/dist/presets/arborPreset/modeSchema/primitives/spacing.js.map +0 -1
- package/dist/presets/arborPreset/modeSchema/semantics/color.d.ts +0 -153
- package/dist/presets/arborPreset/modeSchema/semantics/color.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeSchema/semantics/color.js +0 -14
- package/dist/presets/arborPreset/modeSchema/semantics/color.js.map +0 -1
- package/dist/presets/arborPreset/modeSchema/semantics/common.d.ts +0 -27
- package/dist/presets/arborPreset/modeSchema/semantics/common.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeSchema/semantics/common.js +0 -28
- package/dist/presets/arborPreset/modeSchema/semantics/common.js.map +0 -1
- package/dist/presets/arborPreset/modeSchema/semantics/duration.d.ts +0 -19
- package/dist/presets/arborPreset/modeSchema/semantics/duration.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeSchema/semantics/duration.js +0 -20
- package/dist/presets/arborPreset/modeSchema/semantics/duration.js.map +0 -1
- package/dist/presets/arborPreset/modeSchema/semantics/easing.d.ts +0 -73
- package/dist/presets/arborPreset/modeSchema/semantics/easing.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeSchema/semantics/easing.js +0 -25
- package/dist/presets/arborPreset/modeSchema/semantics/easing.js.map +0 -1
- package/dist/presets/arborPreset/modeSchema/semantics/lines.d.ts +0 -19
- package/dist/presets/arborPreset/modeSchema/semantics/lines.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeSchema/semantics/lines.js +0 -20
- package/dist/presets/arborPreset/modeSchema/semantics/lines.js.map +0 -1
- package/dist/presets/arborPreset/modeSchema/semantics/radius.d.ts +0 -12
- package/dist/presets/arborPreset/modeSchema/semantics/radius.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeSchema/semantics/radius.js +0 -13
- package/dist/presets/arborPreset/modeSchema/semantics/radius.js.map +0 -1
- package/dist/presets/arborPreset/modeSchema/semantics/shadow.d.ts +0 -141
- package/dist/presets/arborPreset/modeSchema/semantics/shadow.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeSchema/semantics/shadow.js +0 -18
- package/dist/presets/arborPreset/modeSchema/semantics/shadow.js.map +0 -1
- package/dist/presets/arborPreset/modeSchema/semantics/spacing.d.ts +0 -12
- package/dist/presets/arborPreset/modeSchema/semantics/spacing.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeSchema/semantics/spacing.js +0 -12
- package/dist/presets/arborPreset/modeSchema/semantics/spacing.js.map +0 -1
- package/dist/presets/arborPreset/modeSchema/semantics/text.d.ts +0 -75
- package/dist/presets/arborPreset/modeSchema/semantics/text.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeSchema/semantics/text.js +0 -76
- package/dist/presets/arborPreset/modeSchema/semantics/text.js.map +0 -1
- package/dist/presets/arborPreset/modeValues/color/color.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeValues/color/color.js.map +0 -1
- package/dist/presets/arborPreset/modeValues/color/compile.d.ts +0 -50
- package/dist/presets/arborPreset/modeValues/color/compile.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeValues/color/compile.js +0 -77
- package/dist/presets/arborPreset/modeValues/color/compile.js.map +0 -1
- package/dist/presets/arborPreset/modeValues/color/compile.test.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeValues/color/compile.test.js +0 -195
- package/dist/presets/arborPreset/modeValues/color/compile.test.js.map +0 -1
- package/dist/presets/arborPreset/modeValues/color/index.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeValues/color/index.js.map +0 -1
- package/dist/presets/arborPreset/modeValues/color/ranges.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeValues/color/ranges.js.map +0 -1
- package/dist/presets/arborPreset/modeValues/color/schemes.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeValues/color/schemes.js.map +0 -1
- package/dist/presets/arborPreset/modeValues/intents.d.ts +0 -775
- package/dist/presets/arborPreset/modeValues/intents.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeValues/intents.js +0 -240
- package/dist/presets/arborPreset/modeValues/intents.js.map +0 -1
- package/dist/presets/arborPreset/modeValues/semantics.d.ts +0 -1118
- package/dist/presets/arborPreset/modeValues/semantics.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeValues/semantics.js +0 -197
- package/dist/presets/arborPreset/modeValues/semantics.js.map +0 -1
- package/dist/presets/arborPreset/modeValues/shadow/index.d.ts +0 -21
- package/dist/presets/arborPreset/modeValues/shadow/index.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeValues/shadow/index.js.map +0 -1
- package/dist/presets/arborPreset/modeValues/spacing/index.d.ts +0 -20
- package/dist/presets/arborPreset/modeValues/spacing/index.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeValues/spacing/index.js.map +0 -1
- package/dist/presets/arborPreset/modeValues/types.d.ts +0 -7
- package/dist/presets/arborPreset/modeValues/types.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeValues/types.js.map +0 -1
- package/dist/presets/arborPreset/modeValues/typography/index.d.ts +0 -25
- package/dist/presets/arborPreset/modeValues/typography/index.d.ts.map +0 -1
- package/dist/presets/arborPreset/modeValues/typography/index.js.map +0 -1
- package/dist/presets/arborPreset/preset.d.ts +0 -2851
- package/dist/presets/arborPreset/preset.d.ts.map +0 -1
- package/dist/presets/arborPreset/preset.js +0 -389
- package/dist/presets/arborPreset/preset.js.map +0 -1
- package/dist/presets/arborPreset/preset.test.d.ts.map +0 -1
- package/dist/presets/arborPreset/preset.test.js +0 -111
- package/dist/presets/arborPreset/preset.test.js.map +0 -1
- package/dist/presets/v2/index.d.ts.map +0 -1
- package/dist/presets/v2/index.js.map +0 -1
- package/dist/presets/v2/preset.d.ts.map +0 -1
- package/dist/presets/v2/preset.test.d.ts +0 -2
- package/dist/presets/v2/preset.test.d.ts.map +0 -1
- package/dist/presets/v2/values/color/color.d.ts +0 -25
- package/dist/presets/v2/values/color/color.js +0 -16
- package/dist/presets/v2/values/color/compile.test.d.ts +0 -2
- package/dist/presets/v2/values/color/compile.test.d.ts.map +0 -1
- package/dist/presets/v2/values/color/index.d.ts +0 -5
- package/dist/presets/v2/values/color/index.js +0 -5
- package/dist/presets/v2/values/color/ranges.d.ts +0 -75
- package/dist/presets/v2/values/color/ranges.js +0 -128
- package/dist/presets/v2/values/color/schemes.d.ts +0 -16
- package/dist/presets/v2/values/color/schemes.js +0 -15
- package/dist/presets/v2/values/intents.d.ts.map +0 -1
- package/dist/presets/v2/values/shadow/index.js +0 -62
- package/dist/presets/v2/values/spacing/index.js +0 -42
- package/dist/presets/v2/values/types.js +0 -2
- package/dist/presets/v2/values/types.js.map +0 -1
- package/dist/presets/v2/values/typography/index.js +0 -46
- /package/dist/presets/{v2 → v1}/index.d.ts +0 -0
- /package/dist/presets/{v2 → v1}/index.js +0 -0
- /package/dist/presets/{arborPreset → v1}/preset.test.d.ts +0 -0
- /package/dist/presets/{v2 → v1}/schema/global.d.ts +0 -0
- /package/dist/presets/{v2 → v1}/schema/global.js +0 -0
- /package/dist/presets/{v2 → v1}/schema/intents.d.ts +0 -0
- /package/dist/presets/{v2 → v1}/schema/intents.js +0 -0
- /package/dist/presets/{v2 → v1}/schema/semantics.d.ts +0 -0
- /package/dist/presets/{v2 → v1}/schema/semantics.js +0 -0
- /package/dist/presets/{arborPreset/modeValues → v1/values}/color/color.d.ts +0 -0
- /package/dist/presets/{arborPreset/modeValues → v1/values}/color/color.js +0 -0
- /package/dist/presets/{v2 → v1}/values/color/compile.d.ts +0 -0
- /package/dist/presets/{v2 → v1}/values/color/compile.js +0 -0
- /package/dist/presets/{arborPreset/modeValues → v1/values}/color/compile.test.d.ts +0 -0
- /package/dist/presets/{v2 → v1}/values/color/compile.test.js +0 -0
- /package/dist/presets/{arborPreset/modeValues → v1/values}/color/index.d.ts +0 -0
- /package/dist/presets/{arborPreset/modeValues → v1/values}/color/index.js +0 -0
- /package/dist/presets/{arborPreset/modeValues → v1/values}/color/ranges.d.ts +0 -0
- /package/dist/presets/{arborPreset/modeValues → v1/values}/color/ranges.js +0 -0
- /package/dist/presets/{arborPreset/modeValues → v1/values}/color/schemes.d.ts +0 -0
- /package/dist/presets/{arborPreset/modeValues → v1/values}/color/schemes.js +0 -0
- /package/dist/presets/{v2 → v1}/values/semantics.d.ts +0 -0
- /package/dist/presets/{v2 → v1}/values/shadow/index.d.ts +0 -0
- /package/dist/presets/{arborPreset/modeValues → v1/values}/shadow/index.js +0 -0
- /package/dist/presets/{v2 → v1}/values/spacing/index.d.ts +0 -0
- /package/dist/presets/{arborPreset/modeValues → v1/values}/spacing/index.js +0 -0
- /package/dist/presets/{v2 → v1}/values/types.d.ts +0 -0
- /package/dist/presets/{arborPreset/modeValues → v1/values}/types.js +0 -0
- /package/dist/presets/{v2 → v1}/values/typography/index.d.ts +0 -0
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
import { SimpleTokensAsTokenDefinitions } from '@arbor-css/tokens';
|
|
2
|
-
export declare const global: {
|
|
3
|
-
color: {
|
|
4
|
-
saturation: {
|
|
5
|
-
purpose: "scalar";
|
|
6
|
-
description: "Applies global saturation adjustments to all colors";
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
space: {
|
|
10
|
-
density: {
|
|
11
|
-
purpose: "scalar";
|
|
12
|
-
description: "A scaling factor for density. Higher density means smaller, tighter spacing and size";
|
|
13
|
-
};
|
|
14
|
-
baseSize: {
|
|
15
|
-
purpose: "spacing";
|
|
16
|
-
description: "Defines the base spacing unit used to derive spacing and layout tokens.";
|
|
17
|
-
};
|
|
18
|
-
scaleBase: {
|
|
19
|
-
purpose: "scalar";
|
|
20
|
-
description: "The \"base\" number of the scale equation - a linear scalar multiplier. Set this to scale by some linear factor if scaleExponent is \"1\"";
|
|
21
|
-
};
|
|
22
|
-
scaleExponentStep: {
|
|
23
|
-
purpose: "scalar";
|
|
24
|
-
description: "The exponent of the scale equation - the rate of exponential growth. `scaleBase` is raised to this exponent before being multiplied by the base spacing size. Set this to \"1\" to scale linearly by the `scaleBase` factor, or set it to a value greater than \"1\" to have exponential growth.";
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
shape: {
|
|
28
|
-
roundness: {
|
|
29
|
-
purpose: "scalar";
|
|
30
|
-
description: "Controls the roundness of corners. Larger roundness values also may affect padding.";
|
|
31
|
-
};
|
|
32
|
-
lineWidth: {
|
|
33
|
-
purpose: "scalar";
|
|
34
|
-
description: "Controls the width of lines used for borders, etc.";
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
shadow: {
|
|
38
|
-
spread: {
|
|
39
|
-
purpose: "scalar";
|
|
40
|
-
description: "Controls the spread size of all shadows.";
|
|
41
|
-
};
|
|
42
|
-
blur: {
|
|
43
|
-
purpose: "scalar";
|
|
44
|
-
description: "Controls the blur scaling of all shadows.";
|
|
45
|
-
};
|
|
46
|
-
color: {
|
|
47
|
-
purpose: "color";
|
|
48
|
-
description: "Provides the default shadow color used when a shadow token does not supply its own color.";
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
typography: {
|
|
52
|
-
baseFontSize: {
|
|
53
|
-
purpose: "font-size";
|
|
54
|
-
description: "Defines the root font size used to derive typography tokens.";
|
|
55
|
-
};
|
|
56
|
-
size: {
|
|
57
|
-
purpose: "scalar";
|
|
58
|
-
description: "A global parameter to influence the overall font size of all typography tokens.";
|
|
59
|
-
};
|
|
60
|
-
weightStep: {
|
|
61
|
-
purpose: "scalar";
|
|
62
|
-
description: "The amount of font weight change between each typography level. This is multiplied by the level index to determine how much to adjust font weight at each level.";
|
|
63
|
-
};
|
|
64
|
-
minWeight: {
|
|
65
|
-
purpose: "scalar";
|
|
66
|
-
description: "The minimum font weight to use in the typography scale.";
|
|
67
|
-
};
|
|
68
|
-
maxWeight: {
|
|
69
|
-
purpose: "scalar";
|
|
70
|
-
description: "The maximum font weight to use in the typography scale.";
|
|
71
|
-
};
|
|
72
|
-
baseWeight: {
|
|
73
|
-
purpose: "scalar";
|
|
74
|
-
description: "The base font weight from which to calculate typography levels. This is typically the \"normal\" font weight (e.g. 400), and level adjustments are applied as positive or negative offsets from this base.";
|
|
75
|
-
};
|
|
76
|
-
lineHeightStep: {
|
|
77
|
-
purpose: "scalar";
|
|
78
|
-
description: "The amount of line height change between each typography level. This is multiplied by the level index to determine how much to adjust line height at each level.";
|
|
79
|
-
};
|
|
80
|
-
minLineHeight: {
|
|
81
|
-
purpose: "scalar";
|
|
82
|
-
description: "The minimum line height to use in the typography scale.";
|
|
83
|
-
};
|
|
84
|
-
maxLineHeight: {
|
|
85
|
-
purpose: "scalar";
|
|
86
|
-
description: "The maximum line height to use in the typography scale.";
|
|
87
|
-
};
|
|
88
|
-
baseLineHeight: {
|
|
89
|
-
purpose: "scalar";
|
|
90
|
-
description: "The base line height from which to calculate typography levels. This is typically the line height used at the default typography level, and level adjustments are applied as positive or negative offsets from this base.";
|
|
91
|
-
};
|
|
92
|
-
minFontSize: {
|
|
93
|
-
purpose: "font-size";
|
|
94
|
-
description: "The minimum font size to use in the typography scale.";
|
|
95
|
-
};
|
|
96
|
-
maxFontSize: {
|
|
97
|
-
purpose: "font-size";
|
|
98
|
-
description: "The maximum font size to use in the typography scale.";
|
|
99
|
-
};
|
|
100
|
-
fontSizeScaleBase: {
|
|
101
|
-
purpose: "scalar";
|
|
102
|
-
description: "The \"base\" number of the font size scale equation - a linear scalar multiplier. Set this to scale by some linear factor if sizeExponent is \"1\"";
|
|
103
|
-
};
|
|
104
|
-
fontSizeScaleExponentStep: {
|
|
105
|
-
purpose: "scalar";
|
|
106
|
-
description: "The exponent of the font size scale equation - the rate of exponential growth. `fontSizeScaleBase` is raised to this exponent before being multiplied by the base font size. Set this to \"1\" to scale linearly by the `fontSizeScaleBase` factor, or set it to a value greater than \"1\" to have exponential growth.";
|
|
107
|
-
};
|
|
108
|
-
letterSpacingStep: {
|
|
109
|
-
purpose: "scalar";
|
|
110
|
-
description: "The amount of letter spacing change between each typography level. This is multiplied by the level index to determine how much to adjust letter spacing at each level.";
|
|
111
|
-
};
|
|
112
|
-
minLetterSpacing: {
|
|
113
|
-
purpose: "spacing";
|
|
114
|
-
description: "The minimum letter spacing to use in the typography scale.";
|
|
115
|
-
};
|
|
116
|
-
maxLetterSpacing: {
|
|
117
|
-
purpose: "spacing";
|
|
118
|
-
description: "The maximum letter spacing to use in the typography scale.";
|
|
119
|
-
};
|
|
120
|
-
baseLetterSpacing: {
|
|
121
|
-
purpose: "spacing";
|
|
122
|
-
description: "The base letter spacing from which to calculate typography levels. This is typically the letter spacing used at the default typography level, and level adjustments are applied as positive or negative offsets from this base.";
|
|
123
|
-
};
|
|
124
|
-
darkModeWeightAdjustment: {
|
|
125
|
-
purpose: "scalar";
|
|
126
|
-
description: "An adjustment applied to font weight when in dark mode to compensate for the irradiation illusion. This is typically a negative value to reduce font weight in dark mode, but it can be positive if your theme has very light text and you want to increase weight in dark mode.";
|
|
127
|
-
};
|
|
128
|
-
boldness: {
|
|
129
|
-
purpose: "scalar";
|
|
130
|
-
description: "An overall scaling factor for how heavy font weight tokens are.";
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
easing: {
|
|
134
|
-
bounciness: {
|
|
135
|
-
purpose: "scalar";
|
|
136
|
-
description: "Controls the bounciness of easing functions. Higher values result in more overshoot and bounce.";
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
duration: {
|
|
140
|
-
slowness: {
|
|
141
|
-
purpose: "scalar";
|
|
142
|
-
description: "Controls the overall slowness of durations. Higher values result in longer durations.";
|
|
143
|
-
};
|
|
144
|
-
base: {
|
|
145
|
-
purpose: "duration";
|
|
146
|
-
description: "The base duration used to derive all other durations. This can be thought of as the \"medium\" duration, and other durations are calculated as multiples or fractions of this base.";
|
|
147
|
-
};
|
|
148
|
-
min: {
|
|
149
|
-
purpose: "duration";
|
|
150
|
-
description: "The minimum duration to use in the duration scale.";
|
|
151
|
-
};
|
|
152
|
-
max: {
|
|
153
|
-
purpose: "duration";
|
|
154
|
-
description: "The maximum duration to use in the duration scale.";
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
export type ArborModeGlobalTokens = SimpleTokensAsTokenDefinitions<typeof global>;
|
|
159
|
-
//# sourceMappingURL=global.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../../../src/presets/arborPreset/modeSchema/global.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAC;AAEnE,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgLjB,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,8BAA8B,CACjE,OAAO,MAAM,CACb,CAAC"}
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
import { createModeSchema } from '@arbor-css/modes';
|
|
2
|
-
export const global = createModeSchema({
|
|
3
|
-
color: {
|
|
4
|
-
saturation: {
|
|
5
|
-
purpose: 'scalar',
|
|
6
|
-
description: 'Applies global saturation adjustments to all colors',
|
|
7
|
-
},
|
|
8
|
-
},
|
|
9
|
-
space: {
|
|
10
|
-
density: {
|
|
11
|
-
purpose: 'scalar',
|
|
12
|
-
description: 'A scaling factor for density. Higher density means smaller, tighter spacing and size',
|
|
13
|
-
},
|
|
14
|
-
baseSize: {
|
|
15
|
-
purpose: 'spacing',
|
|
16
|
-
description: 'Defines the base spacing unit used to derive spacing and layout tokens.',
|
|
17
|
-
},
|
|
18
|
-
scaleBase: {
|
|
19
|
-
purpose: 'scalar',
|
|
20
|
-
description: 'The "base" number of the scale equation - a linear scalar multiplier. Set this to scale by some linear factor if scaleExponent is "1"',
|
|
21
|
-
},
|
|
22
|
-
scaleExponentStep: {
|
|
23
|
-
purpose: 'scalar',
|
|
24
|
-
description: 'The exponent of the scale equation - the rate of exponential growth. `scaleBase` is raised to this exponent before being multiplied by the base spacing size. Set this to "1" to scale linearly by the `scaleBase` factor, or set it to a value greater than "1" to have exponential growth.',
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
shape: {
|
|
28
|
-
roundness: {
|
|
29
|
-
purpose: 'scalar',
|
|
30
|
-
description: 'Controls the roundness of corners. Larger roundness values also may affect padding.',
|
|
31
|
-
},
|
|
32
|
-
lineWidth: {
|
|
33
|
-
purpose: 'scalar',
|
|
34
|
-
description: 'Controls the width of lines used for borders, etc.',
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
shadow: {
|
|
38
|
-
spread: {
|
|
39
|
-
purpose: 'scalar',
|
|
40
|
-
description: 'Controls the spread size of all shadows.',
|
|
41
|
-
},
|
|
42
|
-
blur: {
|
|
43
|
-
purpose: 'scalar',
|
|
44
|
-
description: 'Controls the blur scaling of all shadows.',
|
|
45
|
-
},
|
|
46
|
-
color: {
|
|
47
|
-
purpose: 'color',
|
|
48
|
-
description: 'Provides the default shadow color used when a shadow token does not supply its own color.',
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
typography: {
|
|
52
|
-
baseFontSize: {
|
|
53
|
-
purpose: 'font-size',
|
|
54
|
-
description: 'Defines the root font size used to derive typography tokens.',
|
|
55
|
-
},
|
|
56
|
-
size: {
|
|
57
|
-
purpose: 'scalar',
|
|
58
|
-
description: 'A global parameter to influence the overall font size of all typography tokens.',
|
|
59
|
-
},
|
|
60
|
-
weightStep: {
|
|
61
|
-
purpose: 'scalar',
|
|
62
|
-
description: 'The amount of font weight change between each typography level. This is multiplied by the level index to determine how much to adjust font weight at each level.',
|
|
63
|
-
},
|
|
64
|
-
minWeight: {
|
|
65
|
-
purpose: 'scalar',
|
|
66
|
-
description: 'The minimum font weight to use in the typography scale.',
|
|
67
|
-
},
|
|
68
|
-
maxWeight: {
|
|
69
|
-
purpose: 'scalar',
|
|
70
|
-
description: 'The maximum font weight to use in the typography scale.',
|
|
71
|
-
},
|
|
72
|
-
baseWeight: {
|
|
73
|
-
purpose: 'scalar',
|
|
74
|
-
description: 'The base font weight from which to calculate typography levels. This is typically the "normal" font weight (e.g. 400), and level adjustments are applied as positive or negative offsets from this base.',
|
|
75
|
-
},
|
|
76
|
-
lineHeightStep: {
|
|
77
|
-
purpose: 'scalar',
|
|
78
|
-
description: 'The amount of line height change between each typography level. This is multiplied by the level index to determine how much to adjust line height at each level.',
|
|
79
|
-
},
|
|
80
|
-
minLineHeight: {
|
|
81
|
-
purpose: 'scalar',
|
|
82
|
-
description: 'The minimum line height to use in the typography scale.',
|
|
83
|
-
},
|
|
84
|
-
maxLineHeight: {
|
|
85
|
-
purpose: 'scalar',
|
|
86
|
-
description: 'The maximum line height to use in the typography scale.',
|
|
87
|
-
},
|
|
88
|
-
baseLineHeight: {
|
|
89
|
-
purpose: 'scalar',
|
|
90
|
-
description: 'The base line height from which to calculate typography levels. This is typically the line height used at the default typography level, and level adjustments are applied as positive or negative offsets from this base.',
|
|
91
|
-
},
|
|
92
|
-
minFontSize: {
|
|
93
|
-
purpose: 'font-size',
|
|
94
|
-
description: 'The minimum font size to use in the typography scale.',
|
|
95
|
-
},
|
|
96
|
-
maxFontSize: {
|
|
97
|
-
purpose: 'font-size',
|
|
98
|
-
description: 'The maximum font size to use in the typography scale.',
|
|
99
|
-
},
|
|
100
|
-
fontSizeScaleBase: {
|
|
101
|
-
purpose: 'scalar',
|
|
102
|
-
description: 'The "base" number of the font size scale equation - a linear scalar multiplier. Set this to scale by some linear factor if sizeExponent is "1"',
|
|
103
|
-
},
|
|
104
|
-
fontSizeScaleExponentStep: {
|
|
105
|
-
purpose: 'scalar',
|
|
106
|
-
description: 'The exponent of the font size scale equation - the rate of exponential growth. `fontSizeScaleBase` is raised to this exponent before being multiplied by the base font size. Set this to "1" to scale linearly by the `fontSizeScaleBase` factor, or set it to a value greater than "1" to have exponential growth.',
|
|
107
|
-
},
|
|
108
|
-
letterSpacingStep: {
|
|
109
|
-
purpose: 'scalar',
|
|
110
|
-
description: 'The amount of letter spacing change between each typography level. This is multiplied by the level index to determine how much to adjust letter spacing at each level.',
|
|
111
|
-
},
|
|
112
|
-
minLetterSpacing: {
|
|
113
|
-
purpose: 'spacing',
|
|
114
|
-
description: 'The minimum letter spacing to use in the typography scale.',
|
|
115
|
-
},
|
|
116
|
-
maxLetterSpacing: {
|
|
117
|
-
purpose: 'spacing',
|
|
118
|
-
description: 'The maximum letter spacing to use in the typography scale.',
|
|
119
|
-
},
|
|
120
|
-
baseLetterSpacing: {
|
|
121
|
-
purpose: 'spacing',
|
|
122
|
-
description: 'The base letter spacing from which to calculate typography levels. This is typically the letter spacing used at the default typography level, and level adjustments are applied as positive or negative offsets from this base.',
|
|
123
|
-
},
|
|
124
|
-
darkModeWeightAdjustment: {
|
|
125
|
-
purpose: 'scalar',
|
|
126
|
-
description: 'An adjustment applied to font weight when in dark mode to compensate for the irradiation illusion. This is typically a negative value to reduce font weight in dark mode, but it can be positive if your theme has very light text and you want to increase weight in dark mode.',
|
|
127
|
-
},
|
|
128
|
-
boldness: {
|
|
129
|
-
purpose: 'scalar',
|
|
130
|
-
description: 'An overall scaling factor for how heavy font weight tokens are.',
|
|
131
|
-
},
|
|
132
|
-
},
|
|
133
|
-
easing: {
|
|
134
|
-
bounciness: {
|
|
135
|
-
purpose: 'scalar',
|
|
136
|
-
description: 'Controls the bounciness of easing functions. Higher values result in more overshoot and bounce.',
|
|
137
|
-
},
|
|
138
|
-
},
|
|
139
|
-
duration: {
|
|
140
|
-
slowness: {
|
|
141
|
-
purpose: 'scalar',
|
|
142
|
-
description: 'Controls the overall slowness of durations. Higher values result in longer durations.',
|
|
143
|
-
},
|
|
144
|
-
base: {
|
|
145
|
-
purpose: 'duration',
|
|
146
|
-
description: 'The base duration used to derive all other durations. This can be thought of as the "medium" duration, and other durations are calculated as multiples or fractions of this base.',
|
|
147
|
-
},
|
|
148
|
-
min: {
|
|
149
|
-
purpose: 'duration',
|
|
150
|
-
description: 'The minimum duration to use in the duration scale.',
|
|
151
|
-
},
|
|
152
|
-
max: {
|
|
153
|
-
purpose: 'duration',
|
|
154
|
-
description: 'The maximum duration to use in the duration scale.',
|
|
155
|
-
},
|
|
156
|
-
},
|
|
157
|
-
});
|
|
158
|
-
//# sourceMappingURL=global.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"global.js","sourceRoot":"","sources":["../../../../src/presets/arborPreset/modeSchema/global.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
export declare const actionIntents: {
|
|
2
|
-
padding: {
|
|
3
|
-
$root: {
|
|
4
|
-
purpose: "other";
|
|
5
|
-
description: string;
|
|
6
|
-
};
|
|
7
|
-
inline: {
|
|
8
|
-
purpose: "spacing";
|
|
9
|
-
description: "Inline (horizontal, usually) padding";
|
|
10
|
-
};
|
|
11
|
-
block: {
|
|
12
|
-
purpose: "spacing";
|
|
13
|
-
description: "Block (vertical, usually) padding";
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
roundness: {
|
|
17
|
-
purpose: "scalar";
|
|
18
|
-
description: "This token controls the overall roundness of actions and stacks with the root roundness token";
|
|
19
|
-
};
|
|
20
|
-
radius: {
|
|
21
|
-
purpose: "border-radius";
|
|
22
|
-
description: "This token captures the border-radius of actions, taking into account the overall roundness";
|
|
23
|
-
};
|
|
24
|
-
text: {
|
|
25
|
-
size: "font-size";
|
|
26
|
-
weight: "font-weight";
|
|
27
|
-
lineHeight: "line-height";
|
|
28
|
-
font: "font-family";
|
|
29
|
-
letterSpacing: "letter-spacing";
|
|
30
|
-
};
|
|
31
|
-
primary: {
|
|
32
|
-
fg: {
|
|
33
|
-
purpose: "color";
|
|
34
|
-
description: "Foreground color";
|
|
35
|
-
};
|
|
36
|
-
bg: {
|
|
37
|
-
purpose: "background";
|
|
38
|
-
description: "Background - can be a color or a more complex value like a gradient or image";
|
|
39
|
-
};
|
|
40
|
-
borderColor: {
|
|
41
|
-
purpose: "color";
|
|
42
|
-
};
|
|
43
|
-
borderWidth: {
|
|
44
|
-
purpose: "border-width";
|
|
45
|
-
};
|
|
46
|
-
borderStyle: {
|
|
47
|
-
purpose: "border-style";
|
|
48
|
-
};
|
|
49
|
-
border: {
|
|
50
|
-
purpose: "border";
|
|
51
|
-
description: "Compiles the border color, width, and style into a single token for direct assignment to border.";
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
secondary: {
|
|
55
|
-
fg: {
|
|
56
|
-
purpose: "color";
|
|
57
|
-
description: "Foreground color";
|
|
58
|
-
};
|
|
59
|
-
bg: {
|
|
60
|
-
purpose: "background";
|
|
61
|
-
description: "Background - can be a color or a more complex value like a gradient or image";
|
|
62
|
-
};
|
|
63
|
-
borderColor: {
|
|
64
|
-
purpose: "color";
|
|
65
|
-
};
|
|
66
|
-
borderWidth: {
|
|
67
|
-
purpose: "border-width";
|
|
68
|
-
};
|
|
69
|
-
borderStyle: {
|
|
70
|
-
purpose: "border-style";
|
|
71
|
-
};
|
|
72
|
-
border: {
|
|
73
|
-
purpose: "border";
|
|
74
|
-
description: "Compiles the border color, width, and style into a single token for direct assignment to border.";
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
ambient: {
|
|
78
|
-
fg: {
|
|
79
|
-
purpose: "color";
|
|
80
|
-
description: "Foreground color";
|
|
81
|
-
};
|
|
82
|
-
bg: {
|
|
83
|
-
purpose: "background";
|
|
84
|
-
description: "Background - can be a color or a more complex value like a gradient or image";
|
|
85
|
-
};
|
|
86
|
-
borderColor: {
|
|
87
|
-
purpose: "color";
|
|
88
|
-
};
|
|
89
|
-
borderWidth: {
|
|
90
|
-
purpose: "border-width";
|
|
91
|
-
};
|
|
92
|
-
borderStyle: {
|
|
93
|
-
purpose: "border-style";
|
|
94
|
-
};
|
|
95
|
-
border: {
|
|
96
|
-
purpose: "border";
|
|
97
|
-
description: "Compiles the border color, width, and style into a single token for direct assignment to border.";
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
//# sourceMappingURL=action.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/intents/action.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBxB,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { createModeSchema } from '@arbor-css/modes';
|
|
2
|
-
import { boxIntents, textAndFontIntents, visualIntents } from './common.js';
|
|
3
|
-
export const actionIntents = createModeSchema({
|
|
4
|
-
padding: boxIntents,
|
|
5
|
-
roundness: {
|
|
6
|
-
purpose: 'scalar',
|
|
7
|
-
description: 'This token controls the overall roundness of actions and stacks with the root roundness token',
|
|
8
|
-
},
|
|
9
|
-
radius: {
|
|
10
|
-
purpose: 'border-radius',
|
|
11
|
-
description: 'This token captures the border-radius of actions, taking into account the overall roundness',
|
|
12
|
-
},
|
|
13
|
-
text: textAndFontIntents,
|
|
14
|
-
primary: visualIntents,
|
|
15
|
-
secondary: visualIntents,
|
|
16
|
-
ambient: visualIntents,
|
|
17
|
-
});
|
|
18
|
-
//# sourceMappingURL=action.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"action.js","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/intents/action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5E,MAAM,CAAC,MAAM,aAAa,GAAG,gBAAgB,CAAC;IAC7C,OAAO,EAAE,UAAU;IACnB,SAAS,EAAE;QACV,OAAO,EAAE,QAAQ;QACjB,WAAW,EACV,+FAA+F;KAChG;IACD,MAAM,EAAE;QACP,OAAO,EAAE,eAAe;QACxB,WAAW,EACV,6FAA6F;KAC9F;IACD,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,aAAa;IACxB,OAAO,EAAE,aAAa;CACtB,CAAC,CAAC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export declare const visualIntents: {
|
|
2
|
-
fg: {
|
|
3
|
-
purpose: "color";
|
|
4
|
-
description: "Foreground color";
|
|
5
|
-
};
|
|
6
|
-
bg: {
|
|
7
|
-
purpose: "background";
|
|
8
|
-
description: "Background - can be a color or a more complex value like a gradient or image";
|
|
9
|
-
};
|
|
10
|
-
borderColor: {
|
|
11
|
-
purpose: "color";
|
|
12
|
-
};
|
|
13
|
-
borderWidth: {
|
|
14
|
-
purpose: "border-width";
|
|
15
|
-
};
|
|
16
|
-
borderStyle: {
|
|
17
|
-
purpose: "border-style";
|
|
18
|
-
};
|
|
19
|
-
border: {
|
|
20
|
-
purpose: "border";
|
|
21
|
-
description: "Compiles the border color, width, and style into a single token for direct assignment to border.";
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export declare const boxIntents: {
|
|
25
|
-
$root: {
|
|
26
|
-
purpose: "other";
|
|
27
|
-
description: string;
|
|
28
|
-
};
|
|
29
|
-
inline: {
|
|
30
|
-
purpose: "spacing";
|
|
31
|
-
description: "Inline (horizontal, usually) padding";
|
|
32
|
-
};
|
|
33
|
-
block: {
|
|
34
|
-
purpose: "spacing";
|
|
35
|
-
description: "Block (vertical, usually) padding";
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
export declare const textAndFontIntents: {
|
|
39
|
-
size: "font-size";
|
|
40
|
-
weight: "font-weight";
|
|
41
|
-
lineHeight: "line-height";
|
|
42
|
-
font: "font-family";
|
|
43
|
-
letterSpacing: "letter-spacing";
|
|
44
|
-
};
|
|
45
|
-
//# sourceMappingURL=common.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/intents/common.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;CAwBxB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;CAcrB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;CAM7B,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { createModeSchema } from '@arbor-css/modes';
|
|
2
|
-
export const visualIntents = createModeSchema({
|
|
3
|
-
fg: {
|
|
4
|
-
purpose: 'color',
|
|
5
|
-
description: 'Foreground color',
|
|
6
|
-
},
|
|
7
|
-
bg: {
|
|
8
|
-
purpose: 'background',
|
|
9
|
-
description: 'Background - can be a color or a more complex value like a gradient or image',
|
|
10
|
-
},
|
|
11
|
-
borderColor: {
|
|
12
|
-
purpose: 'color',
|
|
13
|
-
},
|
|
14
|
-
borderWidth: {
|
|
15
|
-
purpose: 'border-width',
|
|
16
|
-
},
|
|
17
|
-
borderStyle: {
|
|
18
|
-
purpose: 'border-style',
|
|
19
|
-
},
|
|
20
|
-
border: {
|
|
21
|
-
purpose: 'border',
|
|
22
|
-
description: 'Compiles the border color, width, and style into a single token for direct assignment to border.',
|
|
23
|
-
},
|
|
24
|
-
});
|
|
25
|
-
export const boxIntents = createModeSchema({
|
|
26
|
-
$root: {
|
|
27
|
-
purpose: 'other',
|
|
28
|
-
description: 'Combines inline and block padding, can be passed directly to "padding"',
|
|
29
|
-
},
|
|
30
|
-
inline: {
|
|
31
|
-
purpose: 'spacing',
|
|
32
|
-
description: 'Inline (horizontal, usually) padding',
|
|
33
|
-
},
|
|
34
|
-
block: {
|
|
35
|
-
purpose: 'spacing',
|
|
36
|
-
description: 'Block (vertical, usually) padding',
|
|
37
|
-
},
|
|
38
|
-
});
|
|
39
|
-
export const textAndFontIntents = createModeSchema({
|
|
40
|
-
size: 'font-size',
|
|
41
|
-
weight: 'font-weight',
|
|
42
|
-
lineHeight: 'line-height',
|
|
43
|
-
font: 'font-family',
|
|
44
|
-
letterSpacing: 'letter-spacing',
|
|
45
|
-
});
|
|
46
|
-
//# sourceMappingURL=common.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/intents/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,CAAC,MAAM,aAAa,GAAG,gBAAgB,CAAC;IAC7C,EAAE,EAAE;QACH,OAAO,EAAE,OAAO;QAChB,WAAW,EAAE,kBAAkB;KAC/B;IACD,EAAE,EAAE;QACH,OAAO,EAAE,YAAY;QACrB,WAAW,EACV,8EAA8E;KAC/E;IACD,WAAW,EAAE;QACZ,OAAO,EAAE,OAAO;KAChB;IACD,WAAW,EAAE;QACZ,OAAO,EAAE,cAAc;KACvB;IACD,WAAW,EAAE;QACZ,OAAO,EAAE,cAAc;KACvB;IACD,MAAM,EAAE;QACP,OAAO,EAAE,QAAQ;QACjB,WAAW,EACV,kGAAkG;KACnG;CACD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC;IAC1C,KAAK,EAAE;QACN,OAAO,EAAE,OAAO;QAChB,WAAW,EACV,wEAAwE;KACzE;IACD,MAAM,EAAE;QACP,OAAO,EAAE,SAAS;QAClB,WAAW,EAAE,sCAAsC;KACnD;IACD,KAAK,EAAE;QACN,OAAO,EAAE,SAAS;QAClB,WAAW,EAAE,mCAAmC;KAChD;CACD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG,gBAAgB,CAAC;IAClD,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,aAAa;IACrB,UAAU,EAAE,aAAa;IACzB,IAAI,EAAE,aAAa;IACnB,aAAa,EAAE,gBAAgB;CAC/B,CAAC,CAAC"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
export declare const controlIntents: {
|
|
2
|
-
text: {
|
|
3
|
-
size: "font-size";
|
|
4
|
-
weight: "font-weight";
|
|
5
|
-
lineHeight: "line-height";
|
|
6
|
-
font: "font-family";
|
|
7
|
-
letterSpacing: "letter-spacing";
|
|
8
|
-
};
|
|
9
|
-
fg: {
|
|
10
|
-
purpose: "color";
|
|
11
|
-
description: "Foreground color";
|
|
12
|
-
};
|
|
13
|
-
bg: {
|
|
14
|
-
purpose: "background";
|
|
15
|
-
description: "Background - can be a color or a more complex value like a gradient or image";
|
|
16
|
-
};
|
|
17
|
-
borderColor: {
|
|
18
|
-
purpose: "color";
|
|
19
|
-
};
|
|
20
|
-
borderWidth: {
|
|
21
|
-
purpose: "border-width";
|
|
22
|
-
};
|
|
23
|
-
borderStyle: {
|
|
24
|
-
purpose: "border-style";
|
|
25
|
-
};
|
|
26
|
-
border: {
|
|
27
|
-
purpose: "border";
|
|
28
|
-
description: "Compiles the border color, width, and style into a single token for direct assignment to border.";
|
|
29
|
-
};
|
|
30
|
-
padding: {
|
|
31
|
-
$root: {
|
|
32
|
-
purpose: "other";
|
|
33
|
-
description: string;
|
|
34
|
-
};
|
|
35
|
-
inline: {
|
|
36
|
-
purpose: "spacing";
|
|
37
|
-
description: "Inline (horizontal, usually) padding";
|
|
38
|
-
};
|
|
39
|
-
block: {
|
|
40
|
-
purpose: "spacing";
|
|
41
|
-
description: "Block (vertical, usually) padding";
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
roundness: {
|
|
45
|
-
purpose: "scalar";
|
|
46
|
-
description: "This token controls the overall roundness of controls and stacks with the root roundness token";
|
|
47
|
-
};
|
|
48
|
-
radius: {
|
|
49
|
-
purpose: "border-radius";
|
|
50
|
-
description: "This token captures the border-radius of controls, taking into account the overall roundness";
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
//# sourceMappingURL=control.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"control.d.ts","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/intents/control.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAczB,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { createModeSchema } from '@arbor-css/modes';
|
|
2
|
-
import { boxIntents, textAndFontIntents, visualIntents } from './common.js';
|
|
3
|
-
export const controlIntents = createModeSchema({
|
|
4
|
-
padding: boxIntents,
|
|
5
|
-
roundness: {
|
|
6
|
-
purpose: 'scalar',
|
|
7
|
-
description: 'This token controls the overall roundness of controls and stacks with the root roundness token',
|
|
8
|
-
},
|
|
9
|
-
radius: {
|
|
10
|
-
purpose: 'border-radius',
|
|
11
|
-
description: 'This token captures the border-radius of controls, taking into account the overall roundness',
|
|
12
|
-
},
|
|
13
|
-
...visualIntents,
|
|
14
|
-
text: textAndFontIntents,
|
|
15
|
-
});
|
|
16
|
-
//# sourceMappingURL=control.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"control.js","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/intents/control.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5E,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAAC;IAC9C,OAAO,EAAE,UAAU;IACnB,SAAS,EAAE;QACV,OAAO,EAAE,QAAQ;QACjB,WAAW,EACV,gGAAgG;KACjG;IACD,MAAM,EAAE;QACP,OAAO,EAAE,eAAe;QACxB,WAAW,EACV,8FAA8F;KAC/F;IACD,GAAG,aAAa;IAChB,IAAI,EAAE,kBAAkB;CACxB,CAAC,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export declare const proseIntents: {
|
|
2
|
-
primary: {
|
|
3
|
-
size: "font-size";
|
|
4
|
-
weight: "font-weight";
|
|
5
|
-
lineHeight: "line-height";
|
|
6
|
-
font: "font-family";
|
|
7
|
-
letterSpacing: "letter-spacing";
|
|
8
|
-
};
|
|
9
|
-
secondary: {
|
|
10
|
-
size: "font-size";
|
|
11
|
-
weight: "font-weight";
|
|
12
|
-
lineHeight: "line-height";
|
|
13
|
-
font: "font-family";
|
|
14
|
-
letterSpacing: "letter-spacing";
|
|
15
|
-
};
|
|
16
|
-
ambient: {
|
|
17
|
-
size: "font-size";
|
|
18
|
-
weight: "font-weight";
|
|
19
|
-
lineHeight: "line-height";
|
|
20
|
-
font: "font-family";
|
|
21
|
-
letterSpacing: "letter-spacing";
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=prose.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"prose.d.ts","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/intents/prose.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;CAIvB,CAAC"}
|