@sk-web-gui/theme
Advanced tools
Comparing version 0.1.9 to 0.1.10
@@ -38,8 +38,4 @@ "use strict"; | ||
light: '#4b4b4b', | ||
// lighter: "#F9F9F9", | ||
active: '#F4F4F4' | ||
// stroke: "#939393", | ||
// middle: "#ECECEC", | ||
}, | ||
'gray-light': { | ||
@@ -46,0 +42,0 @@ DEFAULT: '#F4F4F4', |
@@ -34,8 +34,4 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
light: '#4b4b4b', | ||
// lighter: "#F9F9F9", | ||
active: '#F4F4F4' | ||
// stroke: "#939393", | ||
// middle: "#ECECEC", | ||
}, | ||
'gray-light': { | ||
@@ -42,0 +38,0 @@ DEFAULT: '#F4F4F4', |
@@ -1,2 +0,2 @@ | ||
export declare type Operand = string | number | { | ||
export type Operand = string | number | { | ||
reference: string; | ||
@@ -3,0 +3,0 @@ }; |
import { Dict } from '@sk-web-gui/utils'; | ||
declare const tokens: readonly ["colors", "cursor", "rounded"]; | ||
export declare type ThemeScale = typeof tokens[number] | 'transition.duration' | 'transition.property' | 'transition.easing'; | ||
export type ThemeScale = typeof tokens[number] | 'transition.duration' | 'transition.property' | 'transition.easing'; | ||
export declare function extractTokens(theme: Dict): { | ||
@@ -5,0 +5,0 @@ [x: string]: any; |
import { DeepPartial } from '@sk-web-gui/utils'; | ||
export declare type RecursiveProperty<Nested = string | number> = RecursiveObject<Nested> | Nested; | ||
export type RecursiveProperty<Nested = string | number> = RecursiveObject<Nested> | Nested; | ||
export interface RecursiveObject<Nested = string | number> { | ||
@@ -24,3 +24,3 @@ [property: string]: RecursiveProperty<Nested>; | ||
} | ||
export declare type Colors = RecursiveObject<Record<string, Partial<ColorHues>> | string>; | ||
export type Colors = RecursiveObject<Record<string, Partial<ColorHues>> | string>; | ||
export interface ColorScheme { | ||
@@ -57,2 +57,2 @@ id: string; | ||
} | ||
export declare type GuiThemeOverride = DeepPartial<GuiTheme>; | ||
export type GuiThemeOverride = DeepPartial<GuiTheme>; |
{ | ||
"name": "@sk-web-gui/theme", | ||
"version": "0.1.9", | ||
"version": "0.1.10", | ||
"sideEffects": false, | ||
@@ -47,3 +47,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "dd3650fce0b8d23030cd3dabac563651e5cf3545" | ||
"gitHead": "bf3806107dcb55bb01ff90098828c57dcc5a8f43" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
129025
1652
1