zyzz 0.0.0 → 0.0.2
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/LICENSE +21 -0
- package/README.md +380 -0
- package/dist/Config.d.ts +170 -0
- package/dist/Config.d.ts.map +1 -0
- package/dist/Config.js +249 -0
- package/dist/Config.js.map +1 -0
- package/dist/Props.d.ts +7 -0
- package/dist/Props.d.ts.map +1 -0
- package/dist/Props.js +3 -0
- package/dist/Props.js.map +1 -0
- package/dist/Style.d.ts +167 -0
- package/dist/Style.d.ts.map +1 -0
- package/dist/Style.js +284 -0
- package/dist/Style.js.map +1 -0
- package/dist/Theme.d.ts +154 -0
- package/dist/Theme.d.ts.map +1 -0
- package/dist/Theme.js +257 -0
- package/dist/Theme.js.map +1 -0
- package/dist/babel/NativeEdits.d.ts +8 -0
- package/dist/babel/NativeEdits.d.ts.map +1 -0
- package/dist/babel/NativeEdits.js +233 -0
- package/dist/babel/NativeEdits.js.map +1 -0
- package/dist/babel/NativeJsx.d.ts +10 -0
- package/dist/babel/NativeJsx.d.ts.map +1 -0
- package/dist/babel/NativeJsx.js +204 -0
- package/dist/babel/NativeJsx.js.map +1 -0
- package/dist/babel/index.d.ts +51 -0
- package/dist/babel/index.d.ts.map +1 -0
- package/dist/babel/index.js +220 -0
- package/dist/babel/index.js.map +1 -0
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +178 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/compiler/Graph.d.ts +64 -0
- package/dist/compiler/Graph.d.ts.map +1 -0
- package/dist/compiler/Graph.js +1111 -0
- package/dist/compiler/Graph.js.map +1 -0
- package/dist/compiler/Native.d.ts +53 -0
- package/dist/compiler/Native.d.ts.map +1 -0
- package/dist/compiler/Native.js +617 -0
- package/dist/compiler/Native.js.map +1 -0
- package/dist/compiler/Source.d.ts +165 -0
- package/dist/compiler/Source.d.ts.map +1 -0
- package/dist/compiler/Source.js +990 -0
- package/dist/compiler/Source.js.map +1 -0
- package/dist/compiler/Transform.d.ts +57 -0
- package/dist/compiler/Transform.d.ts.map +1 -0
- package/dist/compiler/Transform.js +884 -0
- package/dist/compiler/Transform.js.map +1 -0
- package/dist/compiler/index.d.ts +13 -0
- package/dist/compiler/index.d.ts.map +1 -0
- package/dist/compiler/index.js +13 -0
- package/dist/compiler/index.js.map +1 -0
- package/dist/compiler/internal/Applications.d.ts +35 -0
- package/dist/compiler/internal/Applications.d.ts.map +1 -0
- package/dist/compiler/internal/Applications.js +248 -0
- package/dist/compiler/internal/Applications.js.map +1 -0
- package/dist/compiler/internal/AtRules.d.ts +8 -0
- package/dist/compiler/internal/AtRules.d.ts.map +1 -0
- package/dist/compiler/internal/AtRules.js +180 -0
- package/dist/compiler/internal/AtRules.js.map +1 -0
- package/dist/compiler/internal/Catalogs.d.ts +19 -0
- package/dist/compiler/internal/Catalogs.d.ts.map +1 -0
- package/dist/compiler/internal/Catalogs.js +68 -0
- package/dist/compiler/internal/Catalogs.js.map +1 -0
- package/dist/compiler/internal/ColorProfiles.d.ts +3 -0
- package/dist/compiler/internal/ColorProfiles.d.ts.map +1 -0
- package/dist/compiler/internal/ColorProfiles.js +84 -0
- package/dist/compiler/internal/ColorProfiles.js.map +1 -0
- package/dist/compiler/internal/CompositionBindings.d.ts +16 -0
- package/dist/compiler/internal/CompositionBindings.d.ts.map +1 -0
- package/dist/compiler/internal/CompositionBindings.js +89 -0
- package/dist/compiler/internal/CompositionBindings.js.map +1 -0
- package/dist/compiler/internal/Compositions.d.ts +32 -0
- package/dist/compiler/internal/Compositions.d.ts.map +1 -0
- package/dist/compiler/internal/Compositions.js +464 -0
- package/dist/compiler/internal/Compositions.js.map +1 -0
- package/dist/compiler/internal/Configurations.d.ts +21 -0
- package/dist/compiler/internal/Configurations.d.ts.map +1 -0
- package/dist/compiler/internal/Configurations.js +171 -0
- package/dist/compiler/internal/Configurations.js.map +1 -0
- package/dist/compiler/internal/Contract.d.ts +27 -0
- package/dist/compiler/internal/Contract.d.ts.map +1 -0
- package/dist/compiler/internal/Contract.js +600 -0
- package/dist/compiler/internal/Contract.js.map +1 -0
- package/dist/compiler/internal/Contributions.d.ts +54 -0
- package/dist/compiler/internal/Contributions.d.ts.map +1 -0
- package/dist/compiler/internal/Contributions.js +1109 -0
- package/dist/compiler/internal/Contributions.js.map +1 -0
- package/dist/compiler/internal/Descriptors.d.ts +15 -0
- package/dist/compiler/internal/Descriptors.d.ts.map +1 -0
- package/dist/compiler/internal/Descriptors.js +183 -0
- package/dist/compiler/internal/Descriptors.js.map +1 -0
- package/dist/compiler/internal/Dynamic.d.ts +14 -0
- package/dist/compiler/internal/Dynamic.d.ts.map +1 -0
- package/dist/compiler/internal/Dynamic.js +172 -0
- package/dist/compiler/internal/Dynamic.js.map +1 -0
- package/dist/compiler/internal/Edits.d.ts +12 -0
- package/dist/compiler/internal/Edits.d.ts.map +1 -0
- package/dist/compiler/internal/Edits.js +5 -0
- package/dist/compiler/internal/Edits.js.map +1 -0
- package/dist/compiler/internal/Expression.d.ts +12 -0
- package/dist/compiler/internal/Expression.d.ts.map +1 -0
- package/dist/compiler/internal/Expression.js +98 -0
- package/dist/compiler/internal/Expression.js.map +1 -0
- package/dist/compiler/internal/Functions.d.ts +5 -0
- package/dist/compiler/internal/Functions.d.ts.map +1 -0
- package/dist/compiler/internal/Functions.js +191 -0
- package/dist/compiler/internal/Functions.js.map +1 -0
- package/dist/compiler/internal/Identifiers.d.ts +9 -0
- package/dist/compiler/internal/Identifiers.d.ts.map +1 -0
- package/dist/compiler/internal/Identifiers.js +106 -0
- package/dist/compiler/internal/Identifiers.js.map +1 -0
- package/dist/compiler/internal/Keyframes.d.ts +5 -0
- package/dist/compiler/internal/Keyframes.d.ts.map +1 -0
- package/dist/compiler/internal/Keyframes.js +51 -0
- package/dist/compiler/internal/Keyframes.js.map +1 -0
- package/dist/compiler/internal/Namespaces.d.ts +17 -0
- package/dist/compiler/internal/Namespaces.d.ts.map +1 -0
- package/dist/compiler/internal/Namespaces.js +265 -0
- package/dist/compiler/internal/Namespaces.js.map +1 -0
- package/dist/compiler/internal/NativeBindings.d.ts +74 -0
- package/dist/compiler/internal/NativeBindings.d.ts.map +1 -0
- package/dist/compiler/internal/NativeBindings.js +117 -0
- package/dist/compiler/internal/NativeBindings.js.map +1 -0
- package/dist/compiler/internal/PackedStyles.d.ts +35 -0
- package/dist/compiler/internal/PackedStyles.d.ts.map +1 -0
- package/dist/compiler/internal/PackedStyles.js +345 -0
- package/dist/compiler/internal/PackedStyles.js.map +1 -0
- package/dist/compiler/internal/Properties.d.ts +5 -0
- package/dist/compiler/internal/Properties.d.ts.map +1 -0
- package/dist/compiler/internal/Properties.js +82 -0
- package/dist/compiler/internal/Properties.js.map +1 -0
- package/dist/compiler/internal/RecipeConditions.d.ts +41 -0
- package/dist/compiler/internal/RecipeConditions.d.ts.map +1 -0
- package/dist/compiler/internal/RecipeConditions.js +82 -0
- package/dist/compiler/internal/RecipeConditions.js.map +1 -0
- package/dist/compiler/internal/RecipePayloads.d.ts +31 -0
- package/dist/compiler/internal/RecipePayloads.d.ts.map +1 -0
- package/dist/compiler/internal/RecipePayloads.js +99 -0
- package/dist/compiler/internal/RecipePayloads.js.map +1 -0
- package/dist/compiler/internal/Recipes.d.ts +32 -0
- package/dist/compiler/internal/Recipes.d.ts.map +1 -0
- package/dist/compiler/internal/Recipes.js +339 -0
- package/dist/compiler/internal/Recipes.js.map +1 -0
- package/dist/compiler/internal/Relative.d.ts +19 -0
- package/dist/compiler/internal/Relative.d.ts.map +1 -0
- package/dist/compiler/internal/Relative.js +62 -0
- package/dist/compiler/internal/Relative.js.map +1 -0
- package/dist/compiler/internal/Scope.d.ts +10 -0
- package/dist/compiler/internal/Scope.d.ts.map +1 -0
- package/dist/compiler/internal/Scope.js +28 -0
- package/dist/compiler/internal/Scope.js.map +1 -0
- package/dist/compiler/internal/Selectors.d.ts +12 -0
- package/dist/compiler/internal/Selectors.d.ts.map +1 -0
- package/dist/compiler/internal/Selectors.js +265 -0
- package/dist/compiler/internal/Selectors.js.map +1 -0
- package/dist/compiler/internal/Static.d.ts +39 -0
- package/dist/compiler/internal/Static.d.ts.map +1 -0
- package/dist/compiler/internal/Static.js +532 -0
- package/dist/compiler/internal/Static.js.map +1 -0
- package/dist/compiler/internal/Stylesheets.d.ts +47 -0
- package/dist/compiler/internal/Stylesheets.d.ts.map +1 -0
- package/dist/compiler/internal/Stylesheets.js +272 -0
- package/dist/compiler/internal/Stylesheets.js.map +1 -0
- package/dist/compiler/internal/Syntax.d.ts +17 -0
- package/dist/compiler/internal/Syntax.d.ts.map +1 -0
- package/dist/compiler/internal/Syntax.js +19 -0
- package/dist/compiler/internal/Syntax.js.map +1 -0
- package/dist/compiler/internal/Themes.d.ts +158 -0
- package/dist/compiler/internal/Themes.d.ts.map +1 -0
- package/dist/compiler/internal/Themes.js +1169 -0
- package/dist/compiler/internal/Themes.js.map +1 -0
- package/dist/compiler/internal/Variables.d.ts +31 -0
- package/dist/compiler/internal/Variables.d.ts.map +1 -0
- package/dist/compiler/internal/Variables.js +376 -0
- package/dist/compiler/internal/Variables.js.map +1 -0
- package/dist/compiler/internal/ViewTransitions.d.ts +3 -0
- package/dist/compiler/internal/ViewTransitions.d.ts.map +1 -0
- package/dist/compiler/internal/ViewTransitions.js +68 -0
- package/dist/compiler/internal/ViewTransitions.js.map +1 -0
- package/dist/cx.d.ts +18 -0
- package/dist/cx.d.ts.map +1 -0
- package/dist/cx.js +60 -0
- package/dist/cx.js.map +1 -0
- package/dist/default.d.ts +2008 -0
- package/dist/default.d.ts.map +1 -0
- package/dist/default.js +243 -0
- package/dist/default.js.map +7 -0
- package/dist/default.js.zyzz.json +1 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +19 -0
- package/dist/index.js.map +1 -0
- package/dist/internal/Authoring.d.ts +26 -0
- package/dist/internal/Authoring.d.ts.map +1 -0
- package/dist/internal/Authoring.js +134 -0
- package/dist/internal/Authoring.js.map +1 -0
- package/dist/internal/Binding.d.ts +64 -0
- package/dist/internal/Binding.d.ts.map +1 -0
- package/dist/internal/Binding.js +27 -0
- package/dist/internal/Binding.js.map +1 -0
- package/dist/internal/BindingDomains.d.ts +11 -0
- package/dist/internal/BindingDomains.d.ts.map +1 -0
- package/dist/internal/BindingDomains.js +459 -0
- package/dist/internal/BindingDomains.js.map +1 -0
- package/dist/internal/Cascade.d.ts +45 -0
- package/dist/internal/Cascade.d.ts.map +1 -0
- package/dist/internal/Cascade.js +165 -0
- package/dist/internal/Cascade.js.map +1 -0
- package/dist/internal/Compound.d.ts +132 -0
- package/dist/internal/Compound.d.ts.map +1 -0
- package/dist/internal/Compound.js +2 -0
- package/dist/internal/Compound.js.map +1 -0
- package/dist/internal/Condition.d.ts +33 -0
- package/dist/internal/Condition.d.ts.map +1 -0
- package/dist/internal/Condition.js +180 -0
- package/dist/internal/Condition.js.map +1 -0
- package/dist/internal/Corner.d.ts +9 -0
- package/dist/internal/Corner.d.ts.map +1 -0
- package/dist/internal/Corner.js +14 -0
- package/dist/internal/Corner.js.map +1 -0
- package/dist/internal/FunctionSyntax.d.ts +27 -0
- package/dist/internal/FunctionSyntax.d.ts.map +1 -0
- package/dist/internal/FunctionSyntax.js +91 -0
- package/dist/internal/FunctionSyntax.js.map +1 -0
- package/dist/internal/FunctionValue.d.ts +19 -0
- package/dist/internal/FunctionValue.d.ts.map +1 -0
- package/dist/internal/FunctionValue.js +2 -0
- package/dist/internal/FunctionValue.js.map +1 -0
- package/dist/internal/Geometry.d.ts +8 -0
- package/dist/internal/Geometry.d.ts.map +1 -0
- package/dist/internal/Geometry.js +2 -0
- package/dist/internal/Geometry.js.map +1 -0
- package/dist/internal/Grid.d.ts +15 -0
- package/dist/internal/Grid.d.ts.map +1 -0
- package/dist/internal/Grid.js +2 -0
- package/dist/internal/Grid.js.map +1 -0
- package/dist/internal/Identifier.d.ts +15 -0
- package/dist/internal/Identifier.d.ts.map +1 -0
- package/dist/internal/Identifier.js +2 -0
- package/dist/internal/Identifier.js.map +1 -0
- package/dist/internal/Identity.d.ts +16 -0
- package/dist/internal/Identity.d.ts.map +1 -0
- package/dist/internal/Identity.js +78 -0
- package/dist/internal/Identity.js.map +1 -0
- package/dist/internal/Lexical.d.ts +89 -0
- package/dist/internal/Lexical.d.ts.map +1 -0
- package/dist/internal/Lexical.js +15 -0
- package/dist/internal/Lexical.js.map +1 -0
- package/dist/internal/Literal.d.ts +3459 -0
- package/dist/internal/Literal.d.ts.map +1 -0
- package/dist/internal/Literal.js +3371 -0
- package/dist/internal/Literal.js.map +1 -0
- package/dist/internal/NativeProperties.d.ts +596 -0
- package/dist/internal/NativeProperties.d.ts.map +1 -0
- package/dist/internal/NativeProperties.js +2 -0
- package/dist/internal/NativeProperties.js.map +1 -0
- package/dist/internal/Numeric.d.ts +23 -0
- package/dist/internal/Numeric.d.ts.map +1 -0
- package/dist/internal/Numeric.js +2 -0
- package/dist/internal/Numeric.js.map +1 -0
- package/dist/internal/Query.d.ts +15 -0
- package/dist/internal/Query.d.ts.map +1 -0
- package/dist/internal/Query.js +58 -0
- package/dist/internal/Query.js.map +1 -0
- package/dist/internal/Recipe.d.ts +17 -0
- package/dist/internal/Recipe.d.ts.map +1 -0
- package/dist/internal/Recipe.js +2 -0
- package/dist/internal/Recipe.js.map +1 -0
- package/dist/internal/RuleReference.d.ts +23 -0
- package/dist/internal/RuleReference.d.ts.map +1 -0
- package/dist/internal/RuleReference.js +65 -0
- package/dist/internal/RuleReference.js.map +1 -0
- package/dist/internal/Scheme.d.ts +12 -0
- package/dist/internal/Scheme.d.ts.map +1 -0
- package/dist/internal/Scheme.js +16 -0
- package/dist/internal/Scheme.js.map +1 -0
- package/dist/internal/Shorthands.d.ts +20 -0
- package/dist/internal/Shorthands.d.ts.map +1 -0
- package/dist/internal/Shorthands.js +49 -0
- package/dist/internal/Shorthands.js.map +1 -0
- package/dist/internal/Targets.d.ts +43 -0
- package/dist/internal/Targets.d.ts.map +1 -0
- package/dist/internal/Targets.js +60 -0
- package/dist/internal/Targets.js.map +1 -0
- package/dist/internal/Token.d.ts +104 -0
- package/dist/internal/Token.d.ts.map +1 -0
- package/dist/internal/Token.js +162 -0
- package/dist/internal/Token.js.map +1 -0
- package/dist/internal/Tuple.d.ts +23 -0
- package/dist/internal/Tuple.d.ts.map +1 -0
- package/dist/internal/Tuple.js +2 -0
- package/dist/internal/Tuple.js.map +1 -0
- package/dist/internal/Value.d.ts +74 -0
- package/dist/internal/Value.d.ts.map +1 -0
- package/dist/internal/Value.js +60 -0
- package/dist/internal/Value.js.map +1 -0
- package/dist/metro/Graph.d.ts +8 -0
- package/dist/metro/Graph.d.ts.map +1 -0
- package/dist/metro/Graph.js +63 -0
- package/dist/metro/Graph.js.map +1 -0
- package/dist/metro/Watch.d.ts +21 -0
- package/dist/metro/Watch.d.ts.map +1 -0
- package/dist/metro/Watch.js +51 -0
- package/dist/metro/Watch.js.map +1 -0
- package/dist/metro/index.d.ts +30 -0
- package/dist/metro/index.d.ts.map +1 -0
- package/dist/metro/index.js +52 -0
- package/dist/metro/index.js.map +1 -0
- package/dist/metro/transformer.d.ts +21 -0
- package/dist/metro/transformer.d.ts.map +1 -0
- package/dist/metro/transformer.js +71 -0
- package/dist/metro/transformer.js.map +1 -0
- package/dist/next/index.d.ts +18 -0
- package/dist/next/index.d.ts.map +1 -0
- package/dist/next/index.js +92 -0
- package/dist/next/index.js.map +1 -0
- package/dist/next/loader.d.ts +16 -0
- package/dist/next/loader.d.ts.map +1 -0
- package/dist/next/loader.js +282 -0
- package/dist/next/loader.js.map +1 -0
- package/dist/node/Host.d.ts +80 -0
- package/dist/node/Host.d.ts.map +1 -0
- package/dist/node/Host.js +882 -0
- package/dist/node/Host.js.map +1 -0
- package/dist/node/index.d.ts +7 -0
- package/dist/node/index.d.ts.map +1 -0
- package/dist/node/index.js +7 -0
- package/dist/node/index.js.map +1 -0
- package/dist/react-native/Host.d.ts +76 -0
- package/dist/react-native/Host.d.ts.map +1 -0
- package/dist/react-native/Host.js +209 -0
- package/dist/react-native/Host.js.map +1 -0
- package/dist/react-native/StyleSheet.d.ts +226 -0
- package/dist/react-native/StyleSheet.d.ts.map +1 -0
- package/dist/react-native/StyleSheet.js +606 -0
- package/dist/react-native/StyleSheet.js.map +1 -0
- package/dist/react-native/Variants.d.ts +38 -0
- package/dist/react-native/Variants.d.ts.map +1 -0
- package/dist/react-native/Variants.js +66 -0
- package/dist/react-native/Variants.js.map +1 -0
- package/dist/react-native/index.d.ts +8 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +8 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/internal/Color.d.ts +7 -0
- package/dist/react-native/internal/Color.d.ts.map +1 -0
- package/dist/react-native/internal/Color.js +93 -0
- package/dist/react-native/internal/Color.js.map +1 -0
- package/dist/react-native/internal/NativeSchema.d.ts +5138 -0
- package/dist/react-native/internal/NativeSchema.d.ts.map +1 -0
- package/dist/react-native/internal/NativeSchema.js +3097 -0
- package/dist/react-native/internal/NativeSchema.js.map +1 -0
- package/dist/react-native/internal/Scalar.d.ts +95 -0
- package/dist/react-native/internal/Scalar.d.ts.map +1 -0
- package/dist/react-native/internal/Scalar.js +199 -0
- package/dist/react-native/internal/Scalar.js.map +1 -0
- package/dist/react-native/internal/Values.d.ts +5 -0
- package/dist/react-native/internal/Values.d.ts.map +1 -0
- package/dist/react-native/internal/Values.js +65 -0
- package/dist/react-native/internal/Values.js.map +1 -0
- package/dist/react-native/react.d.ts +22 -0
- package/dist/react-native/react.d.ts.map +1 -0
- package/dist/react-native/react.js +26 -0
- package/dist/react-native/react.js.map +1 -0
- package/dist/reset.css +244 -0
- package/dist/runtime/Appearance.d.ts +55 -0
- package/dist/runtime/Appearance.d.ts.map +1 -0
- package/dist/runtime/Appearance.js +84 -0
- package/dist/runtime/Appearance.js.map +1 -0
- package/dist/runtime/Composition.d.ts +46 -0
- package/dist/runtime/Composition.d.ts.map +1 -0
- package/dist/runtime/Composition.js +52 -0
- package/dist/runtime/Composition.js.map +1 -0
- package/dist/runtime/CompositionHtml.d.ts +15 -0
- package/dist/runtime/CompositionHtml.d.ts.map +1 -0
- package/dist/runtime/CompositionHtml.js +20 -0
- package/dist/runtime/CompositionHtml.js.map +1 -0
- package/dist/runtime/ConditionalRecipe.d.ts +30 -0
- package/dist/runtime/ConditionalRecipe.d.ts.map +1 -0
- package/dist/runtime/ConditionalRecipe.js +39 -0
- package/dist/runtime/ConditionalRecipe.js.map +1 -0
- package/dist/runtime/Dynamic.d.ts +19 -0
- package/dist/runtime/Dynamic.d.ts.map +1 -0
- package/dist/runtime/Dynamic.js +22 -0
- package/dist/runtime/Dynamic.js.map +1 -0
- package/dist/runtime/Html.d.ts +32 -0
- package/dist/runtime/Html.d.ts.map +1 -0
- package/dist/runtime/Html.js +63 -0
- package/dist/runtime/Html.js.map +1 -0
- package/dist/runtime/Native.d.ts +48 -0
- package/dist/runtime/Native.d.ts.map +1 -0
- package/dist/runtime/Native.js +78 -0
- package/dist/runtime/Native.js.map +1 -0
- package/dist/runtime/NativeContext.d.ts +17 -0
- package/dist/runtime/NativeContext.d.ts.map +1 -0
- package/dist/runtime/NativeContext.js +47 -0
- package/dist/runtime/NativeContext.js.map +1 -0
- package/dist/runtime/NativeDynamic.d.ts +47 -0
- package/dist/runtime/NativeDynamic.d.ts.map +1 -0
- package/dist/runtime/NativeDynamic.js +141 -0
- package/dist/runtime/NativeDynamic.js.map +1 -0
- package/dist/runtime/PayloadRecipe.d.ts +22 -0
- package/dist/runtime/PayloadRecipe.d.ts.map +1 -0
- package/dist/runtime/PayloadRecipe.js +59 -0
- package/dist/runtime/PayloadRecipe.js.map +1 -0
- package/dist/runtime/Props.d.ts +21 -0
- package/dist/runtime/Props.d.ts.map +1 -0
- package/dist/runtime/Props.js +17 -0
- package/dist/runtime/Props.js.map +1 -0
- package/dist/runtime/Recipe.d.ts +52 -0
- package/dist/runtime/Recipe.d.ts.map +1 -0
- package/dist/runtime/Recipe.js +30 -0
- package/dist/runtime/Recipe.js.map +1 -0
- package/dist/runtime/Selection.d.ts +31 -0
- package/dist/runtime/Selection.d.ts.map +1 -0
- package/dist/runtime/Selection.js +30 -0
- package/dist/runtime/Selection.js.map +1 -0
- package/dist/runtime/Variable.d.ts +6 -0
- package/dist/runtime/Variable.d.ts.map +1 -0
- package/dist/runtime/Variable.js +10 -0
- package/dist/runtime/Variable.js.map +1 -0
- package/dist/runtime/index.d.ts +33 -0
- package/dist/runtime/index.d.ts.map +1 -0
- package/dist/runtime/index.js +33 -0
- package/dist/runtime/index.js.map +1 -0
- package/dist/styleFunction.d.ts +72 -0
- package/dist/styleFunction.d.ts.map +1 -0
- package/dist/styleFunction.js +18 -0
- package/dist/styleFunction.js.map +1 -0
- package/dist/themes/LICENSE.tailwind +21 -0
- package/dist/variable.d.ts +50 -0
- package/dist/variable.d.ts.map +1 -0
- package/dist/variable.js +20 -0
- package/dist/variable.js.map +1 -0
- package/dist/variants.d.ts +84 -0
- package/dist/variants.d.ts.map +1 -0
- package/dist/variants.js +21 -0
- package/dist/variants.js.map +1 -0
- package/dist/vite/index.d.ts +24 -0
- package/dist/vite/index.d.ts.map +1 -0
- package/dist/vite/index.js +1089 -0
- package/dist/vite/index.js.map +1 -0
- package/dist/web/Css.d.ts +81 -0
- package/dist/web/Css.d.ts.map +1 -0
- package/dist/web/Css.js +593 -0
- package/dist/web/Css.js.map +1 -0
- package/dist/web/colorProfile.d.ts +28 -0
- package/dist/web/colorProfile.d.ts.map +1 -0
- package/dist/web/colorProfile.js +8 -0
- package/dist/web/colorProfile.js.map +1 -0
- package/dist/web/counterStyle.d.ts +48 -0
- package/dist/web/counterStyle.d.ts.map +1 -0
- package/dist/web/counterStyle.js +8 -0
- package/dist/web/counterStyle.js.map +1 -0
- package/dist/web/cssFunction.d.ts +80 -0
- package/dist/web/cssFunction.d.ts.map +1 -0
- package/dist/web/cssFunction.js +18 -0
- package/dist/web/cssFunction.js.map +1 -0
- package/dist/web/customMedia.d.ts +12 -0
- package/dist/web/customMedia.d.ts.map +1 -0
- package/dist/web/customMedia.js +7 -0
- package/dist/web/customMedia.js.map +1 -0
- package/dist/web/fontFace.d.ts +26 -0
- package/dist/web/fontFace.d.ts.map +1 -0
- package/dist/web/fontFace.js +7 -0
- package/dist/web/fontFace.js.map +1 -0
- package/dist/web/fontFeatureValues.d.ts +40 -0
- package/dist/web/fontFeatureValues.d.ts.map +1 -0
- package/dist/web/fontFeatureValues.js +7 -0
- package/dist/web/fontFeatureValues.js.map +1 -0
- package/dist/web/fontPaletteValues.d.ts +21 -0
- package/dist/web/fontPaletteValues.d.ts.map +1 -0
- package/dist/web/fontPaletteValues.js +9 -0
- package/dist/web/fontPaletteValues.js.map +1 -0
- package/dist/web/global.d.ts +19 -0
- package/dist/web/global.d.ts.map +1 -0
- package/dist/web/global.js +6 -0
- package/dist/web/global.js.map +1 -0
- package/dist/web/importCss.d.ts +18 -0
- package/dist/web/importCss.d.ts.map +1 -0
- package/dist/web/importCss.js +7 -0
- package/dist/web/importCss.js.map +1 -0
- package/dist/web/index.d.ts +22 -0
- package/dist/web/index.d.ts.map +1 -0
- package/dist/web/index.js +22 -0
- package/dist/web/index.js.map +1 -0
- package/dist/web/internal/Block.d.ts +18 -0
- package/dist/web/internal/Block.d.ts.map +1 -0
- package/dist/web/internal/Block.js +13 -0
- package/dist/web/internal/Block.js.map +1 -0
- package/dist/web/internal/ClassName.d.ts +19 -0
- package/dist/web/internal/ClassName.d.ts.map +1 -0
- package/dist/web/internal/ClassName.js +77 -0
- package/dist/web/internal/ClassName.js.map +1 -0
- package/dist/web/internal/Context.d.ts +11 -0
- package/dist/web/internal/Context.d.ts.map +1 -0
- package/dist/web/internal/Context.js +2 -0
- package/dist/web/internal/Context.js.map +1 -0
- package/dist/web/internal/Contributions.d.ts +70 -0
- package/dist/web/internal/Contributions.d.ts.map +1 -0
- package/dist/web/internal/Contributions.js +109 -0
- package/dist/web/internal/Contributions.js.map +1 -0
- package/dist/web/internal/Namespace.d.ts +13 -0
- package/dist/web/internal/Namespace.d.ts.map +1 -0
- package/dist/web/internal/Namespace.js +13 -0
- package/dist/web/internal/Namespace.js.map +1 -0
- package/dist/web/internal/Themes.d.ts +13 -0
- package/dist/web/internal/Themes.d.ts.map +1 -0
- package/dist/web/internal/Themes.js +96 -0
- package/dist/web/internal/Themes.js.map +1 -0
- package/dist/web/keyframes.d.ts +14 -0
- package/dist/web/keyframes.d.ts.map +1 -0
- package/dist/web/keyframes.js +8 -0
- package/dist/web/keyframes.js.map +1 -0
- package/dist/web/layers.d.ts +4 -0
- package/dist/web/layers.d.ts.map +1 -0
- package/dist/web/layers.js +7 -0
- package/dist/web/layers.js.map +1 -0
- package/dist/web/namespace.d.ts +14 -0
- package/dist/web/namespace.d.ts.map +1 -0
- package/dist/web/namespace.js +7 -0
- package/dist/web/namespace.js.map +1 -0
- package/dist/web/page.d.ts +38 -0
- package/dist/web/page.d.ts.map +1 -0
- package/dist/web/page.js +7 -0
- package/dist/web/page.js.map +1 -0
- package/dist/web/positionTry.d.ts +14 -0
- package/dist/web/positionTry.d.ts.map +1 -0
- package/dist/web/positionTry.js +9 -0
- package/dist/web/positionTry.js.map +1 -0
- package/dist/web/property.d.ts +24 -0
- package/dist/web/property.d.ts.map +1 -0
- package/dist/web/property.js +7 -0
- package/dist/web/property.js.map +1 -0
- package/dist/web/viewTransition.d.ts +29 -0
- package/dist/web/viewTransition.d.ts.map +1 -0
- package/dist/web/viewTransition.js +7 -0
- package/dist/web/viewTransition.js.map +1 -0
- package/package.json +136 -10
- package/src/Config.ts +690 -0
- package/src/Props.ts +8 -0
- package/src/Style.ts +748 -0
- package/src/Theme.ts +713 -0
- package/src/babel/NativeEdits.ts +273 -0
- package/src/babel/NativeJsx.ts +260 -0
- package/src/babel/index.ts +332 -0
- package/src/cli/index.ts +196 -0
- package/src/compiler/Graph.ts +1586 -0
- package/src/compiler/Native.ts +801 -0
- package/src/compiler/Source.ts +1550 -0
- package/src/compiler/Transform.ts +1235 -0
- package/src/compiler/index.ts +12 -0
- package/src/compiler/internal/Applications.ts +378 -0
- package/src/compiler/internal/AtRules.ts +202 -0
- package/src/compiler/internal/Catalogs.ts +114 -0
- package/src/compiler/internal/ColorProfiles.ts +93 -0
- package/src/compiler/internal/CompositionBindings.ts +120 -0
- package/src/compiler/internal/Compositions.ts +629 -0
- package/src/compiler/internal/Configurations.ts +244 -0
- package/src/compiler/internal/Contract.ts +846 -0
- package/src/compiler/internal/Contributions.ts +1507 -0
- package/src/compiler/internal/Descriptors.ts +238 -0
- package/src/compiler/internal/Dynamic.ts +266 -0
- package/src/compiler/internal/Edits.ts +13 -0
- package/src/compiler/internal/Expression.ts +135 -0
- package/src/compiler/internal/Functions.ts +206 -0
- package/src/compiler/internal/Identifiers.ts +124 -0
- package/src/compiler/internal/Keyframes.ts +62 -0
- package/src/compiler/internal/Namespaces.ts +296 -0
- package/src/compiler/internal/NativeBindings.ts +151 -0
- package/src/compiler/internal/PackedStyles.ts +464 -0
- package/src/compiler/internal/Properties.ts +121 -0
- package/src/compiler/internal/RecipeConditions.ts +139 -0
- package/src/compiler/internal/RecipePayloads.ts +132 -0
- package/src/compiler/internal/Recipes.ts +531 -0
- package/src/compiler/internal/Relative.ts +87 -0
- package/src/compiler/internal/Scope.ts +36 -0
- package/src/compiler/internal/Selectors.ts +334 -0
- package/src/compiler/internal/Static.ts +783 -0
- package/src/compiler/internal/Stylesheets.ts +361 -0
- package/src/compiler/internal/Syntax.ts +31 -0
- package/src/compiler/internal/Themes.ts +1794 -0
- package/src/compiler/internal/Variables.ts +497 -0
- package/src/compiler/internal/ViewTransitions.ts +82 -0
- package/src/cx.ts +98 -0
- package/src/default.ts +484 -0
- package/src/index.ts +20 -0
- package/src/internal/Authoring.ts +199 -0
- package/src/internal/Binding.ts +187 -0
- package/src/internal/BindingDomains.ts +458 -0
- package/src/internal/Cascade.ts +165 -0
- package/src/internal/Compound.ts +522 -0
- package/src/internal/Condition.ts +283 -0
- package/src/internal/Corner.ts +17 -0
- package/src/internal/FunctionSyntax.ts +271 -0
- package/src/internal/FunctionValue.ts +96 -0
- package/src/internal/Geometry.ts +30 -0
- package/src/internal/Grid.ts +67 -0
- package/src/internal/Identifier.ts +14 -0
- package/src/internal/Identity.ts +89 -0
- package/src/internal/Lexical.ts +202 -0
- package/src/internal/Literal.ts +3820 -0
- package/src/internal/NativeProperties.ts +936 -0
- package/src/internal/Numeric.ts +77 -0
- package/src/internal/Query.ts +87 -0
- package/src/internal/Recipe.ts +17 -0
- package/src/internal/RuleReference.ts +102 -0
- package/src/internal/Scheme.ts +20 -0
- package/src/internal/Shorthands.ts +120 -0
- package/src/internal/Targets.ts +162 -0
- package/src/internal/Token.ts +380 -0
- package/src/internal/Tuple.ts +29 -0
- package/src/internal/Value.ts +320 -0
- package/src/metro/Graph.ts +78 -0
- package/src/metro/Watch.ts +88 -0
- package/src/metro/index.ts +99 -0
- package/src/metro/transformer.ts +97 -0
- package/src/next/index.ts +114 -0
- package/src/next/loader.ts +369 -0
- package/src/node/Host.ts +1204 -0
- package/src/node/index.ts +6 -0
- package/src/react-native/Host.ts +289 -0
- package/src/react-native/StyleSheet.ts +1084 -0
- package/src/react-native/Variants.ts +122 -0
- package/src/react-native/index.ts +7 -0
- package/src/react-native/internal/Color.ts +110 -0
- package/src/react-native/internal/NativeSchema.ts +3096 -0
- package/src/react-native/internal/Scalar.ts +253 -0
- package/src/react-native/internal/Values.ts +87 -0
- package/src/react-native/react.ts +47 -0
- package/src/reset.css +244 -0
- package/src/runtime/Appearance.ts +155 -0
- package/src/runtime/Composition.ts +87 -0
- package/src/runtime/CompositionHtml.ts +38 -0
- package/src/runtime/ConditionalRecipe.ts +70 -0
- package/src/runtime/Dynamic.ts +51 -0
- package/src/runtime/Html.ts +91 -0
- package/src/runtime/Native.ts +144 -0
- package/src/runtime/NativeContext.ts +74 -0
- package/src/runtime/NativeDynamic.ts +246 -0
- package/src/runtime/PayloadRecipe.ts +96 -0
- package/src/runtime/Props.ts +33 -0
- package/src/runtime/Recipe.ts +74 -0
- package/src/runtime/Selection.ts +82 -0
- package/src/runtime/Variable.ts +15 -0
- package/src/runtime/index.ts +45 -0
- package/src/styleFunction.ts +138 -0
- package/src/themes/LICENSE.tailwind +21 -0
- package/src/variable.ts +105 -0
- package/src/variants.ts +218 -0
- package/src/vite/index.ts +1473 -0
- package/src/web/Css.ts +801 -0
- package/src/web/colorProfile.ts +60 -0
- package/src/web/counterStyle.ts +82 -0
- package/src/web/cssFunction.ts +181 -0
- package/src/web/customMedia.ts +16 -0
- package/src/web/fontFace.ts +41 -0
- package/src/web/fontFeatureValues.ts +79 -0
- package/src/web/fontPaletteValues.ts +42 -0
- package/src/web/global.ts +39 -0
- package/src/web/importCss.ts +23 -0
- package/src/web/index.ts +22 -0
- package/src/web/internal/Block.ts +29 -0
- package/src/web/internal/ClassName.ts +112 -0
- package/src/web/internal/Context.ts +16 -0
- package/src/web/internal/Contributions.ts +219 -0
- package/src/web/internal/Namespace.ts +21 -0
- package/src/web/internal/Themes.ts +133 -0
- package/src/web/keyframes.ts +43 -0
- package/src/web/layers.ts +6 -0
- package/src/web/namespace.ts +19 -0
- package/src/web/page.ts +140 -0
- package/src/web/positionTry.ts +71 -0
- package/src/web/property.ts +35 -0
- package/src/web/viewTransition.ts +89 -0
package/src/default.ts
ADDED
|
@@ -0,0 +1,484 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Opt-in default configuration with appearance controls and bundled design tokens.
|
|
3
|
+
* @module
|
|
4
|
+
*/
|
|
5
|
+
import { Config } from 'zyzz'
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Raw bundled values, independent of portable references.
|
|
9
|
+
*
|
|
10
|
+
* Breakpoints, containers, spacing, radii, font sizes, weights, tracking, and
|
|
11
|
+
* leading use the conventional named and quarter-rem scales. Fractional spacing
|
|
12
|
+
* steps are omitted because token paths reserve the dot separator. Colors are
|
|
13
|
+
* ten-step light/dark scales plus `background`, `grayAlpha`, `black`, and
|
|
14
|
+
* `white`. `foreground` aliases `gray.1000` and `surface` aliases
|
|
15
|
+
* `background.100`. Font stacks lead with the named faces and fall back to
|
|
16
|
+
* system fonts. No fonts are loaded.
|
|
17
|
+
*/
|
|
18
|
+
export const tokens = {
|
|
19
|
+
borderRadius: {
|
|
20
|
+
xs: '0.125rem',
|
|
21
|
+
sm: '0.25rem',
|
|
22
|
+
md: '0.375rem',
|
|
23
|
+
lg: '0.5rem',
|
|
24
|
+
xl: '0.75rem',
|
|
25
|
+
'2xl': '1rem',
|
|
26
|
+
'3xl': '1.5rem',
|
|
27
|
+
'4xl': '2rem',
|
|
28
|
+
},
|
|
29
|
+
breakpoints: {
|
|
30
|
+
sm: '40rem',
|
|
31
|
+
md: '48rem',
|
|
32
|
+
lg: '64rem',
|
|
33
|
+
xl: '80rem',
|
|
34
|
+
'2xl': '96rem',
|
|
35
|
+
},
|
|
36
|
+
color: {
|
|
37
|
+
amber: {
|
|
38
|
+
100: { dark: '#291800', light: '#fff6e1' },
|
|
39
|
+
200: { dark: '#331b00', light: '#fff4d4' },
|
|
40
|
+
300: { dark: '#4f2900', light: '#fff1c8' },
|
|
41
|
+
400: { dark: '#573200', light: '#ffdd84' },
|
|
42
|
+
500: { dark: '#6c4100', light: '#ffc85e' },
|
|
43
|
+
600: { dark: '#e99c00', light: '#fa0' },
|
|
44
|
+
700: '#ffb200',
|
|
45
|
+
800: '#f90',
|
|
46
|
+
900: { dark: '#f90', light: '#a64f00' },
|
|
47
|
+
1000: { dark: '#fff3d9', light: '#541c00' },
|
|
48
|
+
},
|
|
49
|
+
background: {
|
|
50
|
+
100: { dark: '#000', light: '#fff' },
|
|
51
|
+
200: { dark: '#000', light: '#fafafa' },
|
|
52
|
+
},
|
|
53
|
+
black: '#000',
|
|
54
|
+
blue: {
|
|
55
|
+
100: { dark: '#06193a', light: '#f0f7ff' },
|
|
56
|
+
200: { dark: '#022248', light: '#eaf4ff' },
|
|
57
|
+
300: { dark: '#002f62', light: '#e0efff' },
|
|
58
|
+
400: { dark: '#003771', light: '#cce7ff' },
|
|
59
|
+
500: { dark: '#004287', light: '#97ccff' },
|
|
60
|
+
600: { dark: '#0090ff', light: '#51aeff' },
|
|
61
|
+
700: { dark: '#0071f6', light: '#0070f7' },
|
|
62
|
+
800: { dark: '#005fd8', light: '#005edc' },
|
|
63
|
+
900: { dark: '#50a8ff', light: '#0064e2' },
|
|
64
|
+
1000: { dark: '#ebf6ff', light: '#002453' },
|
|
65
|
+
},
|
|
66
|
+
foreground: { dark: '#ededed', light: '#171717' },
|
|
67
|
+
gray: {
|
|
68
|
+
100: { dark: '#1a1a1a', light: '#f2f2f2' },
|
|
69
|
+
200: { dark: '#1f1f1f', light: '#ebebeb' },
|
|
70
|
+
300: { dark: '#292929', light: '#e6e6e6' },
|
|
71
|
+
400: { dark: '#2e2e2e', light: '#eaeaea' },
|
|
72
|
+
500: { dark: '#454545', light: '#c9c9c9' },
|
|
73
|
+
600: { dark: '#878787', light: '#a8a8a8' },
|
|
74
|
+
700: '#8f8f8f',
|
|
75
|
+
800: '#7d7d7d',
|
|
76
|
+
900: { dark: '#a0a0a0', light: '#4d4d4d' },
|
|
77
|
+
1000: { dark: '#ededed', light: '#171717' },
|
|
78
|
+
},
|
|
79
|
+
grayAlpha: {
|
|
80
|
+
100: { dark: '#ffffff0f', light: '#0000000d' },
|
|
81
|
+
200: { dark: '#ffffff17', light: '#00000015' },
|
|
82
|
+
300: { dark: '#ffffff21', light: '#0000001a' },
|
|
83
|
+
400: { dark: '#ffffff24', light: '#00000014' },
|
|
84
|
+
500: { dark: '#ffffff3d', light: '#00000036' },
|
|
85
|
+
600: { dark: '#ffffff82', light: '#0000003d' },
|
|
86
|
+
700: { dark: '#ffffff8a', light: '#00000070' },
|
|
87
|
+
800: { dark: '#ffffff78', light: '#00000082' },
|
|
88
|
+
900: { dark: '#ffffff9c', light: '#000000b3' },
|
|
89
|
+
1000: { dark: '#ffffffeb', light: '#000000e8' },
|
|
90
|
+
},
|
|
91
|
+
green: {
|
|
92
|
+
100: { dark: '#00250a', light: '#ecfdec' },
|
|
93
|
+
200: { dark: '#003110', light: '#e5fce7' },
|
|
94
|
+
300: { dark: '#003814', light: '#d3fad1' },
|
|
95
|
+
400: { dark: '#004616', light: '#b9f5bc' },
|
|
96
|
+
500: { dark: '#00661d', light: '#82eb8d' },
|
|
97
|
+
600: { dark: '#009431', light: '#4ce15e' },
|
|
98
|
+
700: { dark: '#00ab3e', light: '#28a948' },
|
|
99
|
+
800: { dark: '#009335', light: '#279141' },
|
|
100
|
+
900: { dark: '#00ca52', light: '#107d32' },
|
|
101
|
+
1000: { dark: '#daffe5', light: '#00370d' },
|
|
102
|
+
},
|
|
103
|
+
pink: {
|
|
104
|
+
100: { dark: '#310d1e', light: '#ffeaf5' },
|
|
105
|
+
200: { dark: '#420c25', light: '#ffeaf2' },
|
|
106
|
+
300: { dark: '#571032', light: '#ffe0eb' },
|
|
107
|
+
400: { dark: '#5d0c34', light: '#ffd5e1' },
|
|
108
|
+
500: { dark: '#76063f', light: '#fdb3cc' },
|
|
109
|
+
600: { dark: '#b90056', light: '#f97ea7' },
|
|
110
|
+
700: { dark: '#f12b82', light: '#f22782' },
|
|
111
|
+
800: { dark: '#e6006e', light: '#e4106e' },
|
|
112
|
+
900: { dark: '#ff518d', light: '#c41562' },
|
|
113
|
+
1000: { dark: '#ffeaf4', light: '#460523' },
|
|
114
|
+
},
|
|
115
|
+
purple: {
|
|
116
|
+
100: { dark: '#290c33', light: '#f9f0ff' },
|
|
117
|
+
200: { dark: '#341142', light: '#f9f1ff' },
|
|
118
|
+
300: { dark: '#47185e', light: '#f5e8ff' },
|
|
119
|
+
400: { dark: '#541a76', light: '#f1d9ff' },
|
|
120
|
+
500: { dark: '#642290', light: '#dda9ff' },
|
|
121
|
+
600: { dark: '#9440d5', light: '#c77dff' },
|
|
122
|
+
700: { dark: '#9440d5', light: '#9f00f4' },
|
|
123
|
+
800: { dark: '#7d2bba', light: '#8400cd' },
|
|
124
|
+
900: { dark: '#c472fb', light: '#7c00c9' },
|
|
125
|
+
1000: { dark: '#faedff', light: '#2e004d' },
|
|
126
|
+
},
|
|
127
|
+
red: {
|
|
128
|
+
100: { dark: '#330a11', light: '#ffeef0' },
|
|
129
|
+
200: { dark: '#440d13', light: '#ffe9ea' },
|
|
130
|
+
300: { dark: '#5d0e17', light: '#ffe4e5' },
|
|
131
|
+
400: { dark: '#6f101b', light: '#ffd8d7' },
|
|
132
|
+
500: { dark: '#88151f', light: '#ffb5b6' },
|
|
133
|
+
600: { dark: '#f32e40', light: '#ff6a6e' },
|
|
134
|
+
700: { dark: '#f13242', light: '#fc0035' },
|
|
135
|
+
800: { dark: '#e2162a', light: '#e70022' },
|
|
136
|
+
900: { dark: '#ff5e63', light: '#d60020' },
|
|
137
|
+
1000: { dark: '#ffeaed', light: '#46000c' },
|
|
138
|
+
},
|
|
139
|
+
surface: { dark: '#000', light: '#fff' },
|
|
140
|
+
teal: {
|
|
141
|
+
100: { dark: '#00211b', light: '#dffffb' },
|
|
142
|
+
200: { dark: '#002922', light: '#ddfef6' },
|
|
143
|
+
300: { dark: '#003b33', light: '#ccf9f1' },
|
|
144
|
+
400: { dark: '#003f35', light: '#b1f7ec' },
|
|
145
|
+
500: { dark: '#005f53', light: '#52f0db' },
|
|
146
|
+
600: { dark: '#009885', light: '#00e2c4' },
|
|
147
|
+
700: { dark: '#00a794', light: '#00a694' },
|
|
148
|
+
800: '#008d7d',
|
|
149
|
+
900: { dark: '#00c9b5', light: '#007a6e' },
|
|
150
|
+
1000: { dark: '#cefff5', light: '#003d34' },
|
|
151
|
+
},
|
|
152
|
+
white: '#fff',
|
|
153
|
+
},
|
|
154
|
+
containers: {
|
|
155
|
+
'3xs': '16rem',
|
|
156
|
+
'2xs': '18rem',
|
|
157
|
+
xs: '20rem',
|
|
158
|
+
sm: '24rem',
|
|
159
|
+
md: '28rem',
|
|
160
|
+
lg: '32rem',
|
|
161
|
+
xl: '36rem',
|
|
162
|
+
'2xl': '42rem',
|
|
163
|
+
'3xl': '48rem',
|
|
164
|
+
'4xl': '56rem',
|
|
165
|
+
'5xl': '64rem',
|
|
166
|
+
'6xl': '72rem',
|
|
167
|
+
'7xl': '80rem',
|
|
168
|
+
},
|
|
169
|
+
fontFamily: {
|
|
170
|
+
mono: '"Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',
|
|
171
|
+
sans: 'Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',
|
|
172
|
+
serif: 'ui-serif, Georgia, Cambria, "Times New Roman", Times, serif',
|
|
173
|
+
},
|
|
174
|
+
fontSize: {
|
|
175
|
+
xs: '0.75rem',
|
|
176
|
+
sm: '0.875rem',
|
|
177
|
+
base: '1rem',
|
|
178
|
+
lg: '1.125rem',
|
|
179
|
+
xl: '1.25rem',
|
|
180
|
+
'2xl': '1.5rem',
|
|
181
|
+
'3xl': '1.875rem',
|
|
182
|
+
'4xl': '2.25rem',
|
|
183
|
+
'5xl': '3rem',
|
|
184
|
+
'6xl': '3.75rem',
|
|
185
|
+
'7xl': '4.5rem',
|
|
186
|
+
'8xl': '6rem',
|
|
187
|
+
'9xl': '8rem',
|
|
188
|
+
},
|
|
189
|
+
fontWeight: {
|
|
190
|
+
thin: 100,
|
|
191
|
+
extralight: 200,
|
|
192
|
+
light: 300,
|
|
193
|
+
normal: 400,
|
|
194
|
+
medium: 500,
|
|
195
|
+
semibold: 600,
|
|
196
|
+
bold: 700,
|
|
197
|
+
extrabold: 800,
|
|
198
|
+
black: 900,
|
|
199
|
+
},
|
|
200
|
+
letterSpacing: {
|
|
201
|
+
tighter: '-0.05em',
|
|
202
|
+
tight: '-0.025em',
|
|
203
|
+
normal: '0em',
|
|
204
|
+
wide: '0.025em',
|
|
205
|
+
wider: '0.05em',
|
|
206
|
+
widest: '0.1em',
|
|
207
|
+
},
|
|
208
|
+
lineHeight: {
|
|
209
|
+
tight: 1.25,
|
|
210
|
+
snug: 1.375,
|
|
211
|
+
normal: 1.5,
|
|
212
|
+
relaxed: 1.625,
|
|
213
|
+
loose: 2,
|
|
214
|
+
},
|
|
215
|
+
spacing: {
|
|
216
|
+
0: '0rem',
|
|
217
|
+
1: '0.25rem',
|
|
218
|
+
2: '0.5rem',
|
|
219
|
+
3: '0.75rem',
|
|
220
|
+
4: '1rem',
|
|
221
|
+
5: '1.25rem',
|
|
222
|
+
6: '1.5rem',
|
|
223
|
+
7: '1.75rem',
|
|
224
|
+
8: '2rem',
|
|
225
|
+
9: '2.25rem',
|
|
226
|
+
10: '2.5rem',
|
|
227
|
+
11: '2.75rem',
|
|
228
|
+
12: '3rem',
|
|
229
|
+
14: '3.5rem',
|
|
230
|
+
16: '4rem',
|
|
231
|
+
20: '5rem',
|
|
232
|
+
24: '6rem',
|
|
233
|
+
28: '7rem',
|
|
234
|
+
32: '8rem',
|
|
235
|
+
36: '9rem',
|
|
236
|
+
40: '10rem',
|
|
237
|
+
44: '11rem',
|
|
238
|
+
48: '12rem',
|
|
239
|
+
52: '13rem',
|
|
240
|
+
56: '14rem',
|
|
241
|
+
60: '15rem',
|
|
242
|
+
64: '16rem',
|
|
243
|
+
72: '18rem',
|
|
244
|
+
80: '20rem',
|
|
245
|
+
96: '24rem',
|
|
246
|
+
px: '1px',
|
|
247
|
+
},
|
|
248
|
+
} as const
|
|
249
|
+
|
|
250
|
+
/** Default appearance, restoration script, and authoring helpers with bundled light/dark tokens. */
|
|
251
|
+
// Generated from tokens by scripts/default-theme.ts; edit tokens and regenerate.
|
|
252
|
+
export const { appearance, script, style, theme, variants } = Config.create({
|
|
253
|
+
theme: {
|
|
254
|
+
borderRadius: {
|
|
255
|
+
xs: '0.125rem',
|
|
256
|
+
sm: '0.25rem',
|
|
257
|
+
md: '0.375rem',
|
|
258
|
+
lg: '0.5rem',
|
|
259
|
+
xl: '0.75rem',
|
|
260
|
+
'2xl': '1rem',
|
|
261
|
+
'3xl': '1.5rem',
|
|
262
|
+
'4xl': '2rem',
|
|
263
|
+
},
|
|
264
|
+
breakpoints: {
|
|
265
|
+
sm: '40rem',
|
|
266
|
+
md: '48rem',
|
|
267
|
+
lg: '64rem',
|
|
268
|
+
xl: '80rem',
|
|
269
|
+
'2xl': '96rem',
|
|
270
|
+
},
|
|
271
|
+
color: {
|
|
272
|
+
amber: {
|
|
273
|
+
100: { dark: '#291800', light: '#fff6e1' },
|
|
274
|
+
200: { dark: '#331b00', light: '#fff4d4' },
|
|
275
|
+
300: { dark: '#4f2900', light: '#fff1c8' },
|
|
276
|
+
400: { dark: '#573200', light: '#ffdd84' },
|
|
277
|
+
500: { dark: '#6c4100', light: '#ffc85e' },
|
|
278
|
+
600: { dark: '#e99c00', light: '#fa0' },
|
|
279
|
+
700: '#ffb200',
|
|
280
|
+
800: '#f90',
|
|
281
|
+
900: { dark: '#f90', light: '#a64f00' },
|
|
282
|
+
1000: { dark: '#fff3d9', light: '#541c00' },
|
|
283
|
+
},
|
|
284
|
+
background: {
|
|
285
|
+
100: { dark: '#000', light: '#fff' },
|
|
286
|
+
200: { dark: '#000', light: '#fafafa' },
|
|
287
|
+
},
|
|
288
|
+
black: '#000',
|
|
289
|
+
blue: {
|
|
290
|
+
100: { dark: '#06193a', light: '#f0f7ff' },
|
|
291
|
+
200: { dark: '#022248', light: '#eaf4ff' },
|
|
292
|
+
300: { dark: '#002f62', light: '#e0efff' },
|
|
293
|
+
400: { dark: '#003771', light: '#cce7ff' },
|
|
294
|
+
500: { dark: '#004287', light: '#97ccff' },
|
|
295
|
+
600: { dark: '#0090ff', light: '#51aeff' },
|
|
296
|
+
700: { dark: '#0071f6', light: '#0070f7' },
|
|
297
|
+
800: { dark: '#005fd8', light: '#005edc' },
|
|
298
|
+
900: { dark: '#50a8ff', light: '#0064e2' },
|
|
299
|
+
1000: { dark: '#ebf6ff', light: '#002453' },
|
|
300
|
+
},
|
|
301
|
+
foreground: { dark: '#ededed', light: '#171717' },
|
|
302
|
+
gray: {
|
|
303
|
+
100: { dark: '#1a1a1a', light: '#f2f2f2' },
|
|
304
|
+
200: { dark: '#1f1f1f', light: '#ebebeb' },
|
|
305
|
+
300: { dark: '#292929', light: '#e6e6e6' },
|
|
306
|
+
400: { dark: '#2e2e2e', light: '#eaeaea' },
|
|
307
|
+
500: { dark: '#454545', light: '#c9c9c9' },
|
|
308
|
+
600: { dark: '#878787', light: '#a8a8a8' },
|
|
309
|
+
700: '#8f8f8f',
|
|
310
|
+
800: '#7d7d7d',
|
|
311
|
+
900: { dark: '#a0a0a0', light: '#4d4d4d' },
|
|
312
|
+
1000: { dark: '#ededed', light: '#171717' },
|
|
313
|
+
},
|
|
314
|
+
grayAlpha: {
|
|
315
|
+
100: { dark: '#ffffff0f', light: '#0000000d' },
|
|
316
|
+
200: { dark: '#ffffff17', light: '#00000015' },
|
|
317
|
+
300: { dark: '#ffffff21', light: '#0000001a' },
|
|
318
|
+
400: { dark: '#ffffff24', light: '#00000014' },
|
|
319
|
+
500: { dark: '#ffffff3d', light: '#00000036' },
|
|
320
|
+
600: { dark: '#ffffff82', light: '#0000003d' },
|
|
321
|
+
700: { dark: '#ffffff8a', light: '#00000070' },
|
|
322
|
+
800: { dark: '#ffffff78', light: '#00000082' },
|
|
323
|
+
900: { dark: '#ffffff9c', light: '#000000b3' },
|
|
324
|
+
1000: { dark: '#ffffffeb', light: '#000000e8' },
|
|
325
|
+
},
|
|
326
|
+
green: {
|
|
327
|
+
100: { dark: '#00250a', light: '#ecfdec' },
|
|
328
|
+
200: { dark: '#003110', light: '#e5fce7' },
|
|
329
|
+
300: { dark: '#003814', light: '#d3fad1' },
|
|
330
|
+
400: { dark: '#004616', light: '#b9f5bc' },
|
|
331
|
+
500: { dark: '#00661d', light: '#82eb8d' },
|
|
332
|
+
600: { dark: '#009431', light: '#4ce15e' },
|
|
333
|
+
700: { dark: '#00ab3e', light: '#28a948' },
|
|
334
|
+
800: { dark: '#009335', light: '#279141' },
|
|
335
|
+
900: { dark: '#00ca52', light: '#107d32' },
|
|
336
|
+
1000: { dark: '#daffe5', light: '#00370d' },
|
|
337
|
+
},
|
|
338
|
+
pink: {
|
|
339
|
+
100: { dark: '#310d1e', light: '#ffeaf5' },
|
|
340
|
+
200: { dark: '#420c25', light: '#ffeaf2' },
|
|
341
|
+
300: { dark: '#571032', light: '#ffe0eb' },
|
|
342
|
+
400: { dark: '#5d0c34', light: '#ffd5e1' },
|
|
343
|
+
500: { dark: '#76063f', light: '#fdb3cc' },
|
|
344
|
+
600: { dark: '#b90056', light: '#f97ea7' },
|
|
345
|
+
700: { dark: '#f12b82', light: '#f22782' },
|
|
346
|
+
800: { dark: '#e6006e', light: '#e4106e' },
|
|
347
|
+
900: { dark: '#ff518d', light: '#c41562' },
|
|
348
|
+
1000: { dark: '#ffeaf4', light: '#460523' },
|
|
349
|
+
},
|
|
350
|
+
purple: {
|
|
351
|
+
100: { dark: '#290c33', light: '#f9f0ff' },
|
|
352
|
+
200: { dark: '#341142', light: '#f9f1ff' },
|
|
353
|
+
300: { dark: '#47185e', light: '#f5e8ff' },
|
|
354
|
+
400: { dark: '#541a76', light: '#f1d9ff' },
|
|
355
|
+
500: { dark: '#642290', light: '#dda9ff' },
|
|
356
|
+
600: { dark: '#9440d5', light: '#c77dff' },
|
|
357
|
+
700: { dark: '#9440d5', light: '#9f00f4' },
|
|
358
|
+
800: { dark: '#7d2bba', light: '#8400cd' },
|
|
359
|
+
900: { dark: '#c472fb', light: '#7c00c9' },
|
|
360
|
+
1000: { dark: '#faedff', light: '#2e004d' },
|
|
361
|
+
},
|
|
362
|
+
red: {
|
|
363
|
+
100: { dark: '#330a11', light: '#ffeef0' },
|
|
364
|
+
200: { dark: '#440d13', light: '#ffe9ea' },
|
|
365
|
+
300: { dark: '#5d0e17', light: '#ffe4e5' },
|
|
366
|
+
400: { dark: '#6f101b', light: '#ffd8d7' },
|
|
367
|
+
500: { dark: '#88151f', light: '#ffb5b6' },
|
|
368
|
+
600: { dark: '#f32e40', light: '#ff6a6e' },
|
|
369
|
+
700: { dark: '#f13242', light: '#fc0035' },
|
|
370
|
+
800: { dark: '#e2162a', light: '#e70022' },
|
|
371
|
+
900: { dark: '#ff5e63', light: '#d60020' },
|
|
372
|
+
1000: { dark: '#ffeaed', light: '#46000c' },
|
|
373
|
+
},
|
|
374
|
+
surface: { dark: '#000', light: '#fff' },
|
|
375
|
+
teal: {
|
|
376
|
+
100: { dark: '#00211b', light: '#dffffb' },
|
|
377
|
+
200: { dark: '#002922', light: '#ddfef6' },
|
|
378
|
+
300: { dark: '#003b33', light: '#ccf9f1' },
|
|
379
|
+
400: { dark: '#003f35', light: '#b1f7ec' },
|
|
380
|
+
500: { dark: '#005f53', light: '#52f0db' },
|
|
381
|
+
600: { dark: '#009885', light: '#00e2c4' },
|
|
382
|
+
700: { dark: '#00a794', light: '#00a694' },
|
|
383
|
+
800: '#008d7d',
|
|
384
|
+
900: { dark: '#00c9b5', light: '#007a6e' },
|
|
385
|
+
1000: { dark: '#cefff5', light: '#003d34' },
|
|
386
|
+
},
|
|
387
|
+
white: '#fff',
|
|
388
|
+
},
|
|
389
|
+
containers: {
|
|
390
|
+
'3xs': '16rem',
|
|
391
|
+
'2xs': '18rem',
|
|
392
|
+
xs: '20rem',
|
|
393
|
+
sm: '24rem',
|
|
394
|
+
md: '28rem',
|
|
395
|
+
lg: '32rem',
|
|
396
|
+
xl: '36rem',
|
|
397
|
+
'2xl': '42rem',
|
|
398
|
+
'3xl': '48rem',
|
|
399
|
+
'4xl': '56rem',
|
|
400
|
+
'5xl': '64rem',
|
|
401
|
+
'6xl': '72rem',
|
|
402
|
+
'7xl': '80rem',
|
|
403
|
+
},
|
|
404
|
+
fontFamily: {
|
|
405
|
+
mono: '"Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',
|
|
406
|
+
sans: 'Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',
|
|
407
|
+
serif: 'ui-serif, Georgia, Cambria, "Times New Roman", Times, serif',
|
|
408
|
+
},
|
|
409
|
+
fontSize: {
|
|
410
|
+
xs: '0.75rem',
|
|
411
|
+
sm: '0.875rem',
|
|
412
|
+
base: '1rem',
|
|
413
|
+
lg: '1.125rem',
|
|
414
|
+
xl: '1.25rem',
|
|
415
|
+
'2xl': '1.5rem',
|
|
416
|
+
'3xl': '1.875rem',
|
|
417
|
+
'4xl': '2.25rem',
|
|
418
|
+
'5xl': '3rem',
|
|
419
|
+
'6xl': '3.75rem',
|
|
420
|
+
'7xl': '4.5rem',
|
|
421
|
+
'8xl': '6rem',
|
|
422
|
+
'9xl': '8rem',
|
|
423
|
+
},
|
|
424
|
+
fontWeight: {
|
|
425
|
+
thin: 100,
|
|
426
|
+
extralight: 200,
|
|
427
|
+
light: 300,
|
|
428
|
+
normal: 400,
|
|
429
|
+
medium: 500,
|
|
430
|
+
semibold: 600,
|
|
431
|
+
bold: 700,
|
|
432
|
+
extrabold: 800,
|
|
433
|
+
black: 900,
|
|
434
|
+
},
|
|
435
|
+
letterSpacing: {
|
|
436
|
+
tighter: '-0.05em',
|
|
437
|
+
tight: '-0.025em',
|
|
438
|
+
normal: '0em',
|
|
439
|
+
wide: '0.025em',
|
|
440
|
+
wider: '0.05em',
|
|
441
|
+
widest: '0.1em',
|
|
442
|
+
},
|
|
443
|
+
lineHeight: {
|
|
444
|
+
tight: 1.25,
|
|
445
|
+
snug: 1.375,
|
|
446
|
+
normal: 1.5,
|
|
447
|
+
relaxed: 1.625,
|
|
448
|
+
loose: 2,
|
|
449
|
+
},
|
|
450
|
+
spacing: {
|
|
451
|
+
0: '0rem',
|
|
452
|
+
1: '0.25rem',
|
|
453
|
+
2: '0.5rem',
|
|
454
|
+
3: '0.75rem',
|
|
455
|
+
4: '1rem',
|
|
456
|
+
5: '1.25rem',
|
|
457
|
+
6: '1.5rem',
|
|
458
|
+
7: '1.75rem',
|
|
459
|
+
8: '2rem',
|
|
460
|
+
9: '2.25rem',
|
|
461
|
+
10: '2.5rem',
|
|
462
|
+
11: '2.75rem',
|
|
463
|
+
12: '3rem',
|
|
464
|
+
14: '3.5rem',
|
|
465
|
+
16: '4rem',
|
|
466
|
+
20: '5rem',
|
|
467
|
+
24: '6rem',
|
|
468
|
+
28: '7rem',
|
|
469
|
+
32: '8rem',
|
|
470
|
+
36: '9rem',
|
|
471
|
+
40: '10rem',
|
|
472
|
+
44: '11rem',
|
|
473
|
+
48: '12rem',
|
|
474
|
+
52: '13rem',
|
|
475
|
+
56: '14rem',
|
|
476
|
+
60: '15rem',
|
|
477
|
+
64: '16rem',
|
|
478
|
+
72: '18rem',
|
|
479
|
+
80: '20rem',
|
|
480
|
+
96: '24rem',
|
|
481
|
+
px: '1px',
|
|
482
|
+
},
|
|
483
|
+
},
|
|
484
|
+
})
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Exposes token-free authoring, ordered style definitions, and theme contracts.
|
|
3
|
+
* @module
|
|
4
|
+
*/
|
|
5
|
+
/** Explicit theme and layer authoring contracts. */
|
|
6
|
+
export * as Config from './Config.js'
|
|
7
|
+
/** Token-free literal authoring; requires a compile-time source transform. */
|
|
8
|
+
export { style } from './styleFunction.js'
|
|
9
|
+
/** Ordered composition of applied styling props. */
|
|
10
|
+
export { cx } from './cx.js'
|
|
11
|
+
/** Inferred component inputs from callable style definitions. */
|
|
12
|
+
export type * as Props from './Props.js'
|
|
13
|
+
/** Typed literal style definitions and validation diagnostics. */
|
|
14
|
+
export * as Style from './Style.js'
|
|
15
|
+
/** Typed theme contracts and compatible token overrides. */
|
|
16
|
+
export * as Theme from './Theme.js'
|
|
17
|
+
/** Typed CSS variable declarations and inline assignments. */
|
|
18
|
+
export { variable } from './variable.js'
|
|
19
|
+
/** Single-element finite recipes compiled ahead of time. */
|
|
20
|
+
export { variants } from './variants.js'
|