@biom3/design-tokens
Advanced tools
Comparing version
@@ -341,3 +341,5 @@ type Colors = { | ||
}; | ||
type ColorModes = 'lightOnDark' | 'darkOnLight'; | ||
type BaseTokens = { | ||
colorMode: ColorModes; | ||
color: Colors; | ||
@@ -442,2 +444,2 @@ shadow: Shadows; | ||
export { Animation, BaseTokens, BiomeTheme, BodySize, BodyWeight, BorderRadius, BorderRadiusTokenPaths, BorderTokenPaths, Borders, Breakpoints, CaptionSize, CaptionWeight, ColorTokenPaths, Colors, DesignTokens, Font, FontTokenPaths, GenerateDesignTokensPaths, Gradient, GradientTokenPaths, Gradients, HeadingSize, HeadingWeight, IconTokenPaths, Icons, IntRange, IsGradientTokenPath, LooseAutocomplete, ProcessedBaseTokens, ShadowTokenPaths, Shadows, ShortcircuitGradients, Spacing, SpacingTokenPaths, Text, TextTokenPaths, ZLevels, base, designTokens, fontFaceStylesImport, onDarkBase, base as onLightBase, pickTokenValue, smartPickTokenValue }; | ||
export { Animation, BaseTokens, BiomeTheme, BodySize, BodyWeight, BorderRadius, BorderRadiusTokenPaths, BorderTokenPaths, Borders, Breakpoints, CaptionSize, CaptionWeight, ColorModes, ColorTokenPaths, Colors, DesignTokens, Font, FontTokenPaths, GenerateDesignTokensPaths, Gradient, GradientTokenPaths, Gradients, HeadingSize, HeadingWeight, IconTokenPaths, Icons, IntRange, IsGradientTokenPath, LooseAutocomplete, ProcessedBaseTokens, ShadowTokenPaths, Shadows, ShortcircuitGradients, Spacing, SpacingTokenPaths, Text, TextTokenPaths, ZLevels, base, designTokens, fontFaceStylesImport, onDarkBase, base as onLightBase, pickTokenValue, smartPickTokenValue }; |
@@ -657,2 +657,3 @@ "use strict"; | ||
var base = { | ||
colorMode: "darkOnLight", | ||
color: onLightColors, | ||
@@ -672,2 +673,3 @@ gradient: onLightGradients, | ||
var onDarkBase = { | ||
colorMode: "lightOnDark", | ||
color: onDarkColors, | ||
@@ -674,0 +676,0 @@ gradient: onDarkGradients, |
{ | ||
"name": "@biom3/design-tokens", | ||
"version": "0.1.2-beta", | ||
"version": "0.1.3-beta", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "./dist/index.d.ts", |
@@ -336,2 +336,3 @@ import { | ||
export const base: BaseTokens = { | ||
colorMode: 'darkOnLight', | ||
color: onLightColors, | ||
@@ -352,2 +353,3 @@ gradient: onLightGradients, | ||
export const onDarkBase: BaseTokens = { | ||
colorMode: 'lightOnDark', | ||
color: onDarkColors, | ||
@@ -354,0 +356,0 @@ gradient: onDarkGradients, |
@@ -350,3 +350,6 @@ // Base Types | ||
export type ColorModes = 'lightOnDark' | 'darkOnLight'; | ||
export type BaseTokens = { | ||
colorMode: ColorModes; | ||
color: Colors; | ||
@@ -353,0 +356,0 @@ shadow: Shadows; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
117581
0.37%2966
0.34%