@stenajs-webui/theme 20.6.11 → 20.7.1
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type BrandColor = "--core-blue" | "--modern-red" | "--snackskal" | "--snackskal-light" | "--sjobod" | "--tang" | "--modern-blue" | "--himmel" | "--himmel-light" | "--himmel-lighter" | "--hav" | "--mussla" | "--sand" | "--modern-green" | "--moln" | "--tjara" | "--sand-dark-10" | "--sand-dark-20" | "--sand-dark" | "--hav-30" | "--molnigare" | "--black" | "--silver" | "--silver-light" | "--silver-lighter" | "--silver-ui" | "--silver-dark" | "--efp-premium" | "--efp-flexi" | "--efp-economy";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type LhdsColor = "--lhds-color-blue-100" | "--lhds-color-blue-200" | "--lhds-color-blue-300" | "--lhds-color-blue-400" | "--lhds-color-blue-50" | "--lhds-color-blue-500" | "--lhds-color-blue-600" | "--lhds-color-blue-700" | "--lhds-color-blue-800" | "--lhds-color-blue-900" | "--lhds-color-green-100" | "--lhds-color-green-200" | "--lhds-color-green-300" | "--lhds-color-green-400" | "--lhds-color-green-50" | "--lhds-color-green-500" | "--lhds-color-green-600" | "--lhds-color-green-700" | "--lhds-color-green-800" | "--lhds-color-green-900" | "--lhds-color-orange-100" | "--lhds-color-orange-200" | "--lhds-color-orange-300" | "--lhds-color-orange-400" | "--lhds-color-orange-50" | "--lhds-color-orange-500" | "--lhds-color-orange-600" | "--lhds-color-orange-700" | "--lhds-color-orange-800" | "--lhds-color-orange-900" | "--lhds-color-red-100" | "--lhds-color-red-200" | "--lhds-color-red-300" | "--lhds-color-red-400" | "--lhds-color-red-50" | "--lhds-color-red-500" | "--lhds-color-red-600" | "--lhds-color-red-700" | "--lhds-color-red-800" | "--lhds-color-red-900" | "--lhds-color-turquoise-100" | "--lhds-color-turquoise-200" | "--lhds-color-turquoise-300" | "--lhds-color-turquoise-400" | "--lhds-color-turquoise-50" | "--lhds-color-turquoise-500" | "--lhds-color-turquoise-600" | "--lhds-color-turquoise-700" | "--lhds-color-turquoise-800" | "--lhds-color-turquoise-900" | "--lhds-color-ui-100" | "--lhds-color-ui-200" | "--lhds-color-ui-300" | "--lhds-color-ui-400" | "--lhds-color-ui-50" | "--lhds-color-ui-500" | "--lhds-color-ui-600" | "--lhds-color-ui-700" | "--lhds-color-ui-800" | "--lhds-color-ui-900";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ThemeColor = "--swui-text-primary-color" | "--swui-text-primary-color-light" | "--swui-text-disabled-color" | "--swui-text-disabled-color-light" | "--swui-text-darkmode-primary-color" | "--swui-text-darkmode-disabled-color" | "--swui-state-error-color" | "--swui-state-error-light-color" | "--swui-state-alert-color" | "--swui-state-alert-light-color" | "--swui-state-success-color" | "--swui-state-success-light-color" | "--swui-state-modified-color" | "--swui-state-modified-light-color" | "--swui-state-loading-color" | "--swui-state-loading-light-color" | "--swui-primary-action-color" | "--swui-primary-action-color-active" | "--swui-primary-action-color-focus" | "--swui-primary-action-color-hover" | "--swui-primary-action-color-disabled" | "--swui-font-weight-text" | "--swui-font-weight-text-bold";
|
package/dist/util/CssColor.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LhdsColor } from "../types/LhdsColor";
|
|
2
2
|
import { ThemeColor } from "../types/ThemeColor";
|
|
3
3
|
import { BrandColor } from "../types/BrandColor";
|
|
4
|
-
export
|
|
4
|
+
export type CssPropColor = LhdsColor | ThemeColor | BrandColor;
|
|
5
5
|
export declare const cssColor: (cssPropColor: CssPropColor) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stenajs-webui/theme",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.7.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "mattias800",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"files": [
|
|
49
49
|
"dist"
|
|
50
50
|
],
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "ecd4c387ff487b41a963a69ddc79ad7cf3cee419"
|
|
52
52
|
}
|