vira 31.13.2 → 31.14.0
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/elements/vira-button.element.d.ts +2 -2
- package/dist/elements/vira-button.element.js +62 -168
- package/dist/elements/vira-collapsible-card.element.js +5 -7
- package/dist/elements/vira-tabs.element.d.ts +3 -3
- package/dist/elements/vira-tabs.element.js +44 -11
- package/dist/elements/vira-tag.element.d.ts +3 -3
- package/dist/elements/vira-tag.element.js +23 -18
- package/dist/styles/form-styles.js +7 -7
- package/dist/styles/form-variants.d.ts +5 -3
- package/dist/styles/form-variants.js +9 -3
- package/dist/styles/vira-color-palette.d.ts +0 -19
- package/dist/styles/vira-color-palette.js +0 -19
- package/dist/styles/vira-color-theme-object.d.ts +1 -1
- package/dist/styles/vira-color-theme.d.ts +24 -310
- package/dist/styles/vira-color-theme.js +24 -280
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ export var ViraColorVariant;
|
|
|
11
11
|
*
|
|
12
12
|
* @default blue colored
|
|
13
13
|
*/
|
|
14
|
-
ViraColorVariant["
|
|
14
|
+
ViraColorVariant["Info"] = "info";
|
|
15
15
|
/** @default black colored */
|
|
16
16
|
ViraColorVariant["Plain"] = "plain";
|
|
17
17
|
/** @default grey colored */
|
|
@@ -22,6 +22,8 @@ export var ViraColorVariant;
|
|
|
22
22
|
ViraColorVariant["Warning"] = "warning";
|
|
23
23
|
/** @default green colored */
|
|
24
24
|
ViraColorVariant["Positive"] = "positive";
|
|
25
|
+
/** @default purple colored */
|
|
26
|
+
ViraColorVariant["Special"] = "special";
|
|
25
27
|
/**
|
|
26
28
|
* No color variant styles will be applied at all. All related CSS vars are free to customize to
|
|
27
29
|
* your wishes.
|
|
@@ -35,11 +37,14 @@ export var ViraColorVariant;
|
|
|
35
37
|
* @category Internal
|
|
36
38
|
*/
|
|
37
39
|
export const viraColorVariantToColorName = {
|
|
38
|
-
[ViraColorVariant.
|
|
40
|
+
[ViraColorVariant.Info]: ViraThemeColorName.blue,
|
|
39
41
|
[ViraColorVariant.Neutral]: ViraThemeColorName.grey,
|
|
40
42
|
[ViraColorVariant.Danger]: ViraThemeColorName.red,
|
|
41
43
|
[ViraColorVariant.Warning]: ViraThemeColorName.yellow,
|
|
42
44
|
[ViraColorVariant.Positive]: ViraThemeColorName.green,
|
|
45
|
+
[ViraColorVariant.Special]: ViraThemeColorName.purple,
|
|
46
|
+
[ViraColorVariant.Plain]: ViraThemeColorName.grey,
|
|
47
|
+
[ViraColorVariant.None]: ViraThemeColorName.grey,
|
|
43
48
|
};
|
|
44
49
|
/**
|
|
45
50
|
* All defined color variants starting with the default.
|
|
@@ -47,12 +52,13 @@ export const viraColorVariantToColorName = {
|
|
|
47
52
|
* @category Internal
|
|
48
53
|
*/
|
|
49
54
|
export const viraColorVariants = [
|
|
50
|
-
ViraColorVariant.
|
|
55
|
+
ViraColorVariant.Info,
|
|
51
56
|
ViraColorVariant.Plain,
|
|
52
57
|
ViraColorVariant.Neutral,
|
|
53
58
|
ViraColorVariant.Danger,
|
|
54
59
|
ViraColorVariant.Warning,
|
|
55
60
|
ViraColorVariant.Positive,
|
|
61
|
+
ViraColorVariant.Special,
|
|
56
62
|
];
|
|
57
63
|
/**
|
|
58
64
|
* All available variants for controlling vira form sizes.
|
|
@@ -99,25 +99,6 @@ export declare const viraColorPalette: import("lit-css-vars").CssVarDefinitions<
|
|
|
99
99
|
readonly 'vira-blue-900': "#1B345D";
|
|
100
100
|
readonly 'vira-blue-950': "#172C4F";
|
|
101
101
|
readonly 'vira-blue-1000': "#142540";
|
|
102
|
-
readonly 'vira-accent-100': "#F5F9FF";
|
|
103
|
-
readonly 'vira-accent-150': "#EAF3FF";
|
|
104
|
-
readonly 'vira-accent-200': "#E0EDFF";
|
|
105
|
-
readonly 'vira-accent-250': "#D6E7FF";
|
|
106
|
-
readonly 'vira-accent-300': "#CBDFFF";
|
|
107
|
-
readonly 'vira-accent-350': "#B9D4FF";
|
|
108
|
-
readonly 'vira-accent-400': "#9EC3FF";
|
|
109
|
-
readonly 'vira-accent-450': "#7AADFF";
|
|
110
|
-
readonly 'vira-accent-500': "#5697FF";
|
|
111
|
-
readonly 'vira-accent-550': "#4988ED";
|
|
112
|
-
readonly 'vira-accent-600': "#427DDC";
|
|
113
|
-
readonly 'vira-accent-650': "#3B72CA";
|
|
114
|
-
readonly 'vira-accent-700': "#3365B6";
|
|
115
|
-
readonly 'vira-accent-750': "#2D569A";
|
|
116
|
-
readonly 'vira-accent-800': "#27487E";
|
|
117
|
-
readonly 'vira-accent-850': "#203D6C";
|
|
118
|
-
readonly 'vira-accent-900': "#1B345D";
|
|
119
|
-
readonly 'vira-accent-950': "#172C4F";
|
|
120
|
-
readonly 'vira-accent-1000': "#142540";
|
|
121
102
|
readonly 'vira-purple-100': "#F9F7FF";
|
|
122
103
|
readonly 'vira-purple-150': "#F3EFFF";
|
|
123
104
|
readonly 'vira-purple-200': "#EDE8FF";
|
|
@@ -100,25 +100,6 @@ export const viraColorPalette = defineCssVars({
|
|
|
100
100
|
'vira-blue-900': '#1B345D',
|
|
101
101
|
'vira-blue-950': '#172C4F',
|
|
102
102
|
'vira-blue-1000': '#142540',
|
|
103
|
-
'vira-accent-100': '#F5F9FF',
|
|
104
|
-
'vira-accent-150': '#EAF3FF',
|
|
105
|
-
'vira-accent-200': '#E0EDFF',
|
|
106
|
-
'vira-accent-250': '#D6E7FF',
|
|
107
|
-
'vira-accent-300': '#CBDFFF',
|
|
108
|
-
'vira-accent-350': '#B9D4FF',
|
|
109
|
-
'vira-accent-400': '#9EC3FF',
|
|
110
|
-
'vira-accent-450': '#7AADFF',
|
|
111
|
-
'vira-accent-500': '#5697FF',
|
|
112
|
-
'vira-accent-550': '#4988ED',
|
|
113
|
-
'vira-accent-600': '#427DDC',
|
|
114
|
-
'vira-accent-650': '#3B72CA',
|
|
115
|
-
'vira-accent-700': '#3365B6',
|
|
116
|
-
'vira-accent-750': '#2D569A',
|
|
117
|
-
'vira-accent-800': '#27487E',
|
|
118
|
-
'vira-accent-850': '#203D6C',
|
|
119
|
-
'vira-accent-900': '#1B345D',
|
|
120
|
-
'vira-accent-950': '#172C4F',
|
|
121
|
-
'vira-accent-1000': '#142540',
|
|
122
103
|
'vira-purple-100': '#F9F7FF',
|
|
123
104
|
'vira-purple-150': '#F3EFFF',
|
|
124
105
|
'vira-purple-200': '#EDE8FF',
|
|
@@ -38,7 +38,7 @@ export type AllViraThemeKeys = keyof typeof viraTheme.colors;
|
|
|
38
38
|
*
|
|
39
39
|
* @category Internal
|
|
40
40
|
*/
|
|
41
|
-
export declare const allViraThemeKeys: ("vira-red-foreground-highest-contrast" | "vira-red-foreground-small-body" | "vira-red-foreground-body" | "vira-red-foreground-non-body" | "vira-red-foreground-header" | "vira-red-foreground-placeholder" | "vira-red-foreground-decoration" | "vira-red-foreground-invisible" | "vira-red-foreground-lowest-contrast" | "vira-red-behind-bg-highest-contrast" | "vira-red-behind-bg-small-body" | "vira-red-behind-bg-body" | "vira-red-behind-bg-non-body" | "vira-red-behind-bg-header" | "vira-red-behind-bg-placeholder" | "vira-red-behind-bg-decoration" | "vira-red-behind-bg-invisible" | "vira-red-behind-bg-lowest-contrast" | "vira-red-behind-fg-highest-contrast" | "vira-red-behind-fg-small-body" | "vira-red-behind-fg-body" | "vira-red-behind-fg-non-body" | "vira-red-behind-fg-header" | "vira-red-behind-fg-placeholder" | "vira-red-behind-fg-decoration" | "vira-red-behind-fg-invisible" | "vira-red-behind-fg-lowest-contrast" | "vira-red-on-self-highest-contrast" | "vira-red-on-self-small-body" | "vira-red-on-self-body" | "vira-red-on-self-non-body" | "vira-red-on-self-header" | "vira-red-on-self-placeholder" | "vira-red-on-self-decoration" | "vira-red-on-self-invisible" | "vira-red-on-self-lowest-contrast" | "vira-yellow-foreground-highest-contrast" | "vira-yellow-foreground-small-body" | "vira-yellow-foreground-body" | "vira-yellow-foreground-non-body" | "vira-yellow-foreground-header" | "vira-yellow-foreground-placeholder" | "vira-yellow-foreground-decoration" | "vira-yellow-foreground-invisible" | "vira-yellow-foreground-lowest-contrast" | "vira-yellow-behind-bg-highest-contrast" | "vira-yellow-behind-bg-small-body" | "vira-yellow-behind-bg-body" | "vira-yellow-behind-bg-non-body" | "vira-yellow-behind-bg-header" | "vira-yellow-behind-bg-placeholder" | "vira-yellow-behind-bg-decoration" | "vira-yellow-behind-bg-invisible" | "vira-yellow-behind-bg-lowest-contrast" | "vira-yellow-behind-fg-highest-contrast" | "vira-yellow-behind-fg-small-body" | "vira-yellow-behind-fg-body" | "vira-yellow-behind-fg-non-body" | "vira-yellow-behind-fg-header" | "vira-yellow-behind-fg-placeholder" | "vira-yellow-behind-fg-decoration" | "vira-yellow-behind-fg-invisible" | "vira-yellow-behind-fg-lowest-contrast" | "vira-yellow-on-self-highest-contrast" | "vira-yellow-on-self-small-body" | "vira-yellow-on-self-body" | "vira-yellow-on-self-non-body" | "vira-yellow-on-self-header" | "vira-yellow-on-self-placeholder" | "vira-yellow-on-self-decoration" | "vira-yellow-on-self-invisible" | "vira-yellow-on-self-lowest-contrast" | "vira-green-foreground-highest-contrast" | "vira-green-foreground-small-body" | "vira-green-foreground-body" | "vira-green-foreground-non-body" | "vira-green-foreground-header" | "vira-green-foreground-placeholder" | "vira-green-foreground-decoration" | "vira-green-foreground-invisible" | "vira-green-foreground-lowest-contrast" | "vira-green-behind-bg-highest-contrast" | "vira-green-behind-bg-small-body" | "vira-green-behind-bg-body" | "vira-green-behind-bg-non-body" | "vira-green-behind-bg-header" | "vira-green-behind-bg-placeholder" | "vira-green-behind-bg-decoration" | "vira-green-behind-bg-invisible" | "vira-green-behind-bg-lowest-contrast" | "vira-green-behind-fg-highest-contrast" | "vira-green-behind-fg-small-body" | "vira-green-behind-fg-body" | "vira-green-behind-fg-non-body" | "vira-green-behind-fg-header" | "vira-green-behind-fg-placeholder" | "vira-green-behind-fg-decoration" | "vira-green-behind-fg-invisible" | "vira-green-behind-fg-lowest-contrast" | "vira-green-on-self-highest-contrast" | "vira-green-on-self-small-body" | "vira-green-on-self-body" | "vira-green-on-self-non-body" | "vira-green-on-self-header" | "vira-green-on-self-placeholder" | "vira-green-on-self-decoration" | "vira-green-on-self-invisible" | "vira-green-on-self-lowest-contrast" | "vira-teal-foreground-highest-contrast" | "vira-teal-foreground-small-body" | "vira-teal-foreground-body" | "vira-teal-foreground-non-body" | "vira-teal-foreground-header" | "vira-teal-foreground-placeholder" | "vira-teal-foreground-decoration" | "vira-teal-foreground-invisible" | "vira-teal-foreground-lowest-contrast" | "vira-teal-behind-bg-highest-contrast" | "vira-teal-behind-bg-small-body" | "vira-teal-behind-bg-body" | "vira-teal-behind-bg-non-body" | "vira-teal-behind-bg-header" | "vira-teal-behind-bg-placeholder" | "vira-teal-behind-bg-decoration" | "vira-teal-behind-bg-invisible" | "vira-teal-behind-bg-lowest-contrast" | "vira-teal-behind-fg-highest-contrast" | "vira-teal-behind-fg-small-body" | "vira-teal-behind-fg-body" | "vira-teal-behind-fg-non-body" | "vira-teal-behind-fg-header" | "vira-teal-behind-fg-placeholder" | "vira-teal-behind-fg-decoration" | "vira-teal-behind-fg-invisible" | "vira-teal-behind-fg-lowest-contrast" | "vira-teal-on-self-highest-contrast" | "vira-teal-on-self-small-body" | "vira-teal-on-self-body" | "vira-teal-on-self-non-body" | "vira-teal-on-self-header" | "vira-teal-on-self-placeholder" | "vira-teal-on-self-decoration" | "vira-teal-on-self-invisible" | "vira-teal-on-self-lowest-contrast" | "vira-blue-foreground-highest-contrast" | "vira-blue-foreground-small-body" | "vira-blue-foreground-body" | "vira-blue-foreground-non-body" | "vira-blue-foreground-header" | "vira-blue-foreground-placeholder" | "vira-blue-foreground-decoration" | "vira-blue-foreground-invisible" | "vira-blue-foreground-lowest-contrast" | "vira-blue-behind-bg-highest-contrast" | "vira-blue-behind-bg-small-body" | "vira-blue-behind-bg-body" | "vira-blue-behind-bg-non-body" | "vira-blue-behind-bg-header" | "vira-blue-behind-bg-placeholder" | "vira-blue-behind-bg-decoration" | "vira-blue-behind-bg-invisible" | "vira-blue-behind-bg-lowest-contrast" | "vira-blue-behind-fg-highest-contrast" | "vira-blue-behind-fg-small-body" | "vira-blue-behind-fg-body" | "vira-blue-behind-fg-non-body" | "vira-blue-behind-fg-header" | "vira-blue-behind-fg-placeholder" | "vira-blue-behind-fg-decoration" | "vira-blue-behind-fg-invisible" | "vira-blue-behind-fg-lowest-contrast" | "vira-blue-on-self-highest-contrast" | "vira-blue-on-self-small-body" | "vira-blue-on-self-body" | "vira-blue-on-self-non-body" | "vira-blue-on-self-header" | "vira-blue-on-self-placeholder" | "vira-blue-on-self-decoration" | "vira-blue-on-self-invisible" | "vira-blue-on-self-lowest-contrast" | "vira-accent-foreground-highest-contrast" | "vira-accent-foreground-small-body" | "vira-accent-foreground-body" | "vira-accent-foreground-non-body" | "vira-accent-foreground-header" | "vira-accent-foreground-placeholder" | "vira-accent-foreground-decoration" | "vira-accent-foreground-invisible" | "vira-accent-foreground-lowest-contrast" | "vira-accent-behind-bg-highest-contrast" | "vira-accent-behind-bg-small-body" | "vira-accent-behind-bg-body" | "vira-accent-behind-bg-non-body" | "vira-accent-behind-bg-header" | "vira-accent-behind-bg-placeholder" | "vira-accent-behind-bg-decoration" | "vira-accent-behind-bg-invisible" | "vira-accent-behind-bg-lowest-contrast" | "vira-accent-behind-fg-highest-contrast" | "vira-accent-behind-fg-small-body" | "vira-accent-behind-fg-body" | "vira-accent-behind-fg-non-body" | "vira-accent-behind-fg-header" | "vira-accent-behind-fg-placeholder" | "vira-accent-behind-fg-decoration" | "vira-accent-behind-fg-invisible" | "vira-accent-behind-fg-lowest-contrast" | "vira-accent-on-self-highest-contrast" | "vira-accent-on-self-small-body" | "vira-accent-on-self-body" | "vira-accent-on-self-non-body" | "vira-accent-on-self-header" | "vira-accent-on-self-placeholder" | "vira-accent-on-self-decoration" | "vira-accent-on-self-invisible" | "vira-accent-on-self-lowest-contrast" | "vira-purple-foreground-highest-contrast" | "vira-purple-foreground-small-body" | "vira-purple-foreground-body" | "vira-purple-foreground-non-body" | "vira-purple-foreground-header" | "vira-purple-foreground-placeholder" | "vira-purple-foreground-decoration" | "vira-purple-foreground-invisible" | "vira-purple-foreground-lowest-contrast" | "vira-purple-behind-bg-highest-contrast" | "vira-purple-behind-bg-small-body" | "vira-purple-behind-bg-body" | "vira-purple-behind-bg-non-body" | "vira-purple-behind-bg-header" | "vira-purple-behind-bg-placeholder" | "vira-purple-behind-bg-decoration" | "vira-purple-behind-bg-invisible" | "vira-purple-behind-bg-lowest-contrast" | "vira-purple-behind-fg-highest-contrast" | "vira-purple-behind-fg-small-body" | "vira-purple-behind-fg-body" | "vira-purple-behind-fg-non-body" | "vira-purple-behind-fg-header" | "vira-purple-behind-fg-placeholder" | "vira-purple-behind-fg-decoration" | "vira-purple-behind-fg-invisible" | "vira-purple-behind-fg-lowest-contrast" | "vira-purple-on-self-highest-contrast" | "vira-purple-on-self-small-body" | "vira-purple-on-self-body" | "vira-purple-on-self-non-body" | "vira-purple-on-self-header" | "vira-purple-on-self-placeholder" | "vira-purple-on-self-decoration" | "vira-purple-on-self-invisible" | "vira-purple-on-self-lowest-contrast" | "vira-pink-foreground-highest-contrast" | "vira-pink-foreground-small-body" | "vira-pink-foreground-body" | "vira-pink-foreground-non-body" | "vira-pink-foreground-header" | "vira-pink-foreground-placeholder" | "vira-pink-foreground-decoration" | "vira-pink-foreground-invisible" | "vira-pink-foreground-lowest-contrast" | "vira-pink-behind-bg-highest-contrast" | "vira-pink-behind-bg-small-body" | "vira-pink-behind-bg-body" | "vira-pink-behind-bg-non-body" | "vira-pink-behind-bg-header" | "vira-pink-behind-bg-placeholder" | "vira-pink-behind-bg-decoration" | "vira-pink-behind-bg-invisible" | "vira-pink-behind-bg-lowest-contrast" | "vira-pink-behind-fg-highest-contrast" | "vira-pink-behind-fg-small-body" | "vira-pink-behind-fg-body" | "vira-pink-behind-fg-non-body" | "vira-pink-behind-fg-header" | "vira-pink-behind-fg-placeholder" | "vira-pink-behind-fg-decoration" | "vira-pink-behind-fg-invisible" | "vira-pink-behind-fg-lowest-contrast" | "vira-pink-on-self-highest-contrast" | "vira-pink-on-self-small-body" | "vira-pink-on-self-body" | "vira-pink-on-self-non-body" | "vira-pink-on-self-header" | "vira-pink-on-self-placeholder" | "vira-pink-on-self-decoration" | "vira-pink-on-self-invisible" | "vira-pink-on-self-lowest-contrast" | "vira-grey-foreground-highest-contrast" | "vira-grey-foreground-small-body" | "vira-grey-foreground-body" | "vira-grey-foreground-non-body" | "vira-grey-foreground-header" | "vira-grey-foreground-placeholder" | "vira-grey-foreground-decoration" | "vira-grey-foreground-invisible" | "vira-grey-foreground-lowest-contrast" | "vira-grey-behind-bg-highest-contrast" | "vira-grey-behind-bg-small-body" | "vira-grey-behind-bg-body" | "vira-grey-behind-bg-non-body" | "vira-grey-behind-bg-header" | "vira-grey-behind-bg-placeholder" | "vira-grey-behind-bg-decoration" | "vira-grey-behind-bg-invisible" | "vira-grey-behind-bg-lowest-contrast" | "vira-grey-behind-fg-highest-contrast" | "vira-grey-behind-fg-small-body" | "vira-grey-behind-fg-body" | "vira-grey-behind-fg-non-body" | "vira-grey-behind-fg-header" | "vira-grey-behind-fg-placeholder" | "vira-grey-behind-fg-decoration" | "vira-grey-behind-fg-invisible" | "vira-grey-behind-fg-lowest-contrast" | "vira-grey-on-self-highest-contrast" | "vira-grey-on-self-small-body" | "vira-grey-on-self-body" | "vira-grey-on-self-non-body" | "vira-grey-on-self-header" | "vira-grey-on-self-placeholder" | "vira-grey-on-self-decoration" | "vira-grey-on-self-invisible" | "vira-grey-on-self-lowest-contrast" | "theme-default")[];
|
|
41
|
+
export declare const allViraThemeKeys: ("vira-red-foreground-highest-contrast" | "vira-red-foreground-small-body" | "vira-red-foreground-body" | "vira-red-foreground-non-body" | "vira-red-foreground-header" | "vira-red-foreground-placeholder" | "vira-red-foreground-decoration" | "vira-red-foreground-invisible" | "vira-red-foreground-lowest-contrast" | "vira-red-behind-bg-highest-contrast" | "vira-red-behind-bg-small-body" | "vira-red-behind-bg-body" | "vira-red-behind-bg-non-body" | "vira-red-behind-bg-header" | "vira-red-behind-bg-placeholder" | "vira-red-behind-bg-decoration" | "vira-red-behind-bg-invisible" | "vira-red-behind-bg-lowest-contrast" | "vira-red-behind-fg-highest-contrast" | "vira-red-behind-fg-small-body" | "vira-red-behind-fg-body" | "vira-red-behind-fg-non-body" | "vira-red-behind-fg-header" | "vira-red-behind-fg-placeholder" | "vira-red-behind-fg-decoration" | "vira-red-behind-fg-invisible" | "vira-red-behind-fg-lowest-contrast" | "vira-red-on-self-highest-contrast" | "vira-red-on-self-small-body" | "vira-red-on-self-body" | "vira-red-on-self-non-body" | "vira-red-on-self-header" | "vira-red-on-self-placeholder" | "vira-red-on-self-decoration" | "vira-red-on-self-invisible" | "vira-red-on-self-lowest-contrast" | "vira-yellow-foreground-highest-contrast" | "vira-yellow-foreground-small-body" | "vira-yellow-foreground-body" | "vira-yellow-foreground-non-body" | "vira-yellow-foreground-header" | "vira-yellow-foreground-placeholder" | "vira-yellow-foreground-decoration" | "vira-yellow-foreground-invisible" | "vira-yellow-foreground-lowest-contrast" | "vira-yellow-behind-bg-highest-contrast" | "vira-yellow-behind-bg-small-body" | "vira-yellow-behind-bg-body" | "vira-yellow-behind-bg-non-body" | "vira-yellow-behind-bg-header" | "vira-yellow-behind-bg-placeholder" | "vira-yellow-behind-bg-decoration" | "vira-yellow-behind-bg-invisible" | "vira-yellow-behind-bg-lowest-contrast" | "vira-yellow-behind-fg-highest-contrast" | "vira-yellow-behind-fg-small-body" | "vira-yellow-behind-fg-body" | "vira-yellow-behind-fg-non-body" | "vira-yellow-behind-fg-header" | "vira-yellow-behind-fg-placeholder" | "vira-yellow-behind-fg-decoration" | "vira-yellow-behind-fg-invisible" | "vira-yellow-behind-fg-lowest-contrast" | "vira-yellow-on-self-highest-contrast" | "vira-yellow-on-self-small-body" | "vira-yellow-on-self-body" | "vira-yellow-on-self-non-body" | "vira-yellow-on-self-header" | "vira-yellow-on-self-placeholder" | "vira-yellow-on-self-decoration" | "vira-yellow-on-self-invisible" | "vira-yellow-on-self-lowest-contrast" | "vira-green-foreground-highest-contrast" | "vira-green-foreground-small-body" | "vira-green-foreground-body" | "vira-green-foreground-non-body" | "vira-green-foreground-header" | "vira-green-foreground-placeholder" | "vira-green-foreground-decoration" | "vira-green-foreground-invisible" | "vira-green-foreground-lowest-contrast" | "vira-green-behind-bg-highest-contrast" | "vira-green-behind-bg-small-body" | "vira-green-behind-bg-body" | "vira-green-behind-bg-non-body" | "vira-green-behind-bg-header" | "vira-green-behind-bg-placeholder" | "vira-green-behind-bg-decoration" | "vira-green-behind-bg-invisible" | "vira-green-behind-bg-lowest-contrast" | "vira-green-behind-fg-highest-contrast" | "vira-green-behind-fg-small-body" | "vira-green-behind-fg-body" | "vira-green-behind-fg-non-body" | "vira-green-behind-fg-header" | "vira-green-behind-fg-placeholder" | "vira-green-behind-fg-decoration" | "vira-green-behind-fg-invisible" | "vira-green-behind-fg-lowest-contrast" | "vira-green-on-self-highest-contrast" | "vira-green-on-self-small-body" | "vira-green-on-self-body" | "vira-green-on-self-non-body" | "vira-green-on-self-header" | "vira-green-on-self-placeholder" | "vira-green-on-self-decoration" | "vira-green-on-self-invisible" | "vira-green-on-self-lowest-contrast" | "vira-teal-foreground-highest-contrast" | "vira-teal-foreground-small-body" | "vira-teal-foreground-body" | "vira-teal-foreground-non-body" | "vira-teal-foreground-header" | "vira-teal-foreground-placeholder" | "vira-teal-foreground-decoration" | "vira-teal-foreground-invisible" | "vira-teal-foreground-lowest-contrast" | "vira-teal-behind-bg-highest-contrast" | "vira-teal-behind-bg-small-body" | "vira-teal-behind-bg-body" | "vira-teal-behind-bg-non-body" | "vira-teal-behind-bg-header" | "vira-teal-behind-bg-placeholder" | "vira-teal-behind-bg-decoration" | "vira-teal-behind-bg-invisible" | "vira-teal-behind-bg-lowest-contrast" | "vira-teal-behind-fg-highest-contrast" | "vira-teal-behind-fg-small-body" | "vira-teal-behind-fg-body" | "vira-teal-behind-fg-non-body" | "vira-teal-behind-fg-header" | "vira-teal-behind-fg-placeholder" | "vira-teal-behind-fg-decoration" | "vira-teal-behind-fg-invisible" | "vira-teal-behind-fg-lowest-contrast" | "vira-teal-on-self-highest-contrast" | "vira-teal-on-self-small-body" | "vira-teal-on-self-body" | "vira-teal-on-self-non-body" | "vira-teal-on-self-header" | "vira-teal-on-self-placeholder" | "vira-teal-on-self-decoration" | "vira-teal-on-self-invisible" | "vira-teal-on-self-lowest-contrast" | "vira-blue-foreground-highest-contrast" | "vira-blue-foreground-small-body" | "vira-blue-foreground-body" | "vira-blue-foreground-non-body" | "vira-blue-foreground-header" | "vira-blue-foreground-placeholder" | "vira-blue-foreground-decoration" | "vira-blue-foreground-invisible" | "vira-blue-foreground-lowest-contrast" | "vira-blue-behind-bg-highest-contrast" | "vira-blue-behind-bg-small-body" | "vira-blue-behind-bg-body" | "vira-blue-behind-bg-non-body" | "vira-blue-behind-bg-header" | "vira-blue-behind-bg-placeholder" | "vira-blue-behind-bg-decoration" | "vira-blue-behind-bg-invisible" | "vira-blue-behind-bg-lowest-contrast" | "vira-blue-behind-fg-highest-contrast" | "vira-blue-behind-fg-small-body" | "vira-blue-behind-fg-body" | "vira-blue-behind-fg-non-body" | "vira-blue-behind-fg-header" | "vira-blue-behind-fg-placeholder" | "vira-blue-behind-fg-decoration" | "vira-blue-behind-fg-invisible" | "vira-blue-behind-fg-lowest-contrast" | "vira-blue-on-self-highest-contrast" | "vira-blue-on-self-small-body" | "vira-blue-on-self-body" | "vira-blue-on-self-non-body" | "vira-blue-on-self-header" | "vira-blue-on-self-placeholder" | "vira-blue-on-self-decoration" | "vira-blue-on-self-invisible" | "vira-blue-on-self-lowest-contrast" | "vira-purple-foreground-highest-contrast" | "vira-purple-foreground-small-body" | "vira-purple-foreground-body" | "vira-purple-foreground-non-body" | "vira-purple-foreground-header" | "vira-purple-foreground-placeholder" | "vira-purple-foreground-decoration" | "vira-purple-foreground-invisible" | "vira-purple-foreground-lowest-contrast" | "vira-purple-behind-bg-highest-contrast" | "vira-purple-behind-bg-small-body" | "vira-purple-behind-bg-body" | "vira-purple-behind-bg-non-body" | "vira-purple-behind-bg-header" | "vira-purple-behind-bg-placeholder" | "vira-purple-behind-bg-decoration" | "vira-purple-behind-bg-invisible" | "vira-purple-behind-bg-lowest-contrast" | "vira-purple-behind-fg-highest-contrast" | "vira-purple-behind-fg-small-body" | "vira-purple-behind-fg-body" | "vira-purple-behind-fg-non-body" | "vira-purple-behind-fg-header" | "vira-purple-behind-fg-placeholder" | "vira-purple-behind-fg-decoration" | "vira-purple-behind-fg-invisible" | "vira-purple-behind-fg-lowest-contrast" | "vira-purple-on-self-highest-contrast" | "vira-purple-on-self-small-body" | "vira-purple-on-self-body" | "vira-purple-on-self-non-body" | "vira-purple-on-self-header" | "vira-purple-on-self-placeholder" | "vira-purple-on-self-decoration" | "vira-purple-on-self-invisible" | "vira-purple-on-self-lowest-contrast" | "vira-pink-foreground-highest-contrast" | "vira-pink-foreground-small-body" | "vira-pink-foreground-body" | "vira-pink-foreground-non-body" | "vira-pink-foreground-header" | "vira-pink-foreground-placeholder" | "vira-pink-foreground-decoration" | "vira-pink-foreground-invisible" | "vira-pink-foreground-lowest-contrast" | "vira-pink-behind-bg-highest-contrast" | "vira-pink-behind-bg-small-body" | "vira-pink-behind-bg-body" | "vira-pink-behind-bg-non-body" | "vira-pink-behind-bg-header" | "vira-pink-behind-bg-placeholder" | "vira-pink-behind-bg-decoration" | "vira-pink-behind-bg-invisible" | "vira-pink-behind-bg-lowest-contrast" | "vira-pink-behind-fg-highest-contrast" | "vira-pink-behind-fg-small-body" | "vira-pink-behind-fg-body" | "vira-pink-behind-fg-non-body" | "vira-pink-behind-fg-header" | "vira-pink-behind-fg-placeholder" | "vira-pink-behind-fg-decoration" | "vira-pink-behind-fg-invisible" | "vira-pink-behind-fg-lowest-contrast" | "vira-pink-on-self-highest-contrast" | "vira-pink-on-self-small-body" | "vira-pink-on-self-body" | "vira-pink-on-self-non-body" | "vira-pink-on-self-header" | "vira-pink-on-self-placeholder" | "vira-pink-on-self-decoration" | "vira-pink-on-self-invisible" | "vira-pink-on-self-lowest-contrast" | "vira-grey-foreground-highest-contrast" | "vira-grey-foreground-small-body" | "vira-grey-foreground-body" | "vira-grey-foreground-non-body" | "vira-grey-foreground-header" | "vira-grey-foreground-placeholder" | "vira-grey-foreground-decoration" | "vira-grey-foreground-invisible" | "vira-grey-foreground-lowest-contrast" | "vira-grey-behind-bg-highest-contrast" | "vira-grey-behind-bg-small-body" | "vira-grey-behind-bg-body" | "vira-grey-behind-bg-non-body" | "vira-grey-behind-bg-header" | "vira-grey-behind-bg-placeholder" | "vira-grey-behind-bg-decoration" | "vira-grey-behind-bg-invisible" | "vira-grey-behind-bg-lowest-contrast" | "vira-grey-behind-fg-highest-contrast" | "vira-grey-behind-fg-small-body" | "vira-grey-behind-fg-body" | "vira-grey-behind-fg-non-body" | "vira-grey-behind-fg-header" | "vira-grey-behind-fg-placeholder" | "vira-grey-behind-fg-decoration" | "vira-grey-behind-fg-invisible" | "vira-grey-behind-fg-lowest-contrast" | "vira-grey-on-self-highest-contrast" | "vira-grey-on-self-small-body" | "vira-grey-on-self-body" | "vira-grey-on-self-non-body" | "vira-grey-on-self-header" | "vira-grey-on-self-placeholder" | "vira-grey-on-self-decoration" | "vira-grey-on-self-invisible" | "vira-grey-on-self-lowest-contrast" | "theme-default")[];
|
|
42
42
|
/**
|
|
43
43
|
* All {@link viraTheme} color pair keys with the contrast level suffix removed.
|
|
44
44
|
*
|
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
* A color theme designed for straightforward accessible foreground and background color choices.
|
|
3
3
|
* All color pairs can be seen here: https://electrovir.github.io/vira/book/styles/vira-theme.
|
|
4
4
|
*
|
|
5
|
+
* Consider using [`colorCss` from
|
|
6
|
+
* @electrovir/color](https://electrovir.github.io/color/docs/functions/colorCss.html) for applying
|
|
7
|
+
* a foreground and background color at the same time in CSS.
|
|
8
|
+
*
|
|
5
9
|
* ## Color Pairs
|
|
6
10
|
*
|
|
7
11
|
* Each color choice is stored in a color pair. Each color pair includes a foreground and a
|
|
@@ -47,10 +51,10 @@
|
|
|
47
51
|
* - Example: `viraTheme.colors['vira-blue-foreground-body']`
|
|
48
52
|
* - `behind-fg`: "Color behind foreground". In this color pair, the chosen color is the background
|
|
49
53
|
* and the page default foreground (black in light mode, white in dark mode) is the
|
|
50
|
-
*
|
|
54
|
+
* foreground. The lightness level of the background, the chosen color, varies based on the
|
|
51
55
|
* selected contrast level (in the next step).
|
|
52
56
|
*
|
|
53
|
-
* - Foreground: the page default
|
|
57
|
+
* - Foreground: the page default foreground (black in light mode, white in dark mode).
|
|
54
58
|
* - Background: the chosen color (red, blue, etc.)
|
|
55
59
|
* - Example: `viraTheme.colors['vira-red-behind-fg-body']`
|
|
56
60
|
* - Example: `viraTheme.colors['vira-blue-behind-fg-body']`
|
|
@@ -74,18 +78,14 @@
|
|
|
74
78
|
* - Example: `viraTheme.colors['vira-red-on-self-body']`
|
|
75
79
|
* - Example: `viraTheme.colors['vira-blue-on-self-body']`
|
|
76
80
|
* 3. **Choose a contrast level.** Choose a level of contrast based on what you are applying color to.
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
* is a darker variant of that color. Any contrast level allowed on larger text elements
|
|
80
|
-
* (placeholder, decoration, invisible) is a lighter variant of that color. Also see
|
|
81
|
-
* https://electrovir.github.io/color/docs/variables/contrastLevels.html for more details on each
|
|
82
|
-
* contrast level.
|
|
81
|
+
* See https://electrovir.github.io/color/docs/variables/contrastLevels.html for more details on
|
|
82
|
+
* each contrast level as defined by APCA color contrast standards.
|
|
83
83
|
*
|
|
84
84
|
* - `small-body`: Choose this for text or page elements that should be legible but are small in size
|
|
85
85
|
* (< 14px font size, similarly sized icons, etc.).
|
|
86
86
|
*
|
|
87
|
-
* - The color pair is chosen to ensure about Lc 90 contrast between the foreground and
|
|
88
|
-
* background.
|
|
87
|
+
* - The color pair is chosen to ensure about Lc 90 contrast (very high) between the foreground and
|
|
88
|
+
* the background.
|
|
89
89
|
* - Example: `viraTheme.colors['vira-red-foreground-small-body']`: In light mode, this has a very
|
|
90
90
|
* dark red foreground.
|
|
91
91
|
* - Example: `viraTheme.colors['vira-blue-on-self-small-body']`: In light mode, a very light blue is
|
|
@@ -101,15 +101,15 @@
|
|
|
101
101
|
* used (but darker than the small-body contrast level). (The foreground is a very
|
|
102
102
|
* dark blue.)
|
|
103
103
|
* - `non-body`: Chose this for text or page elements that should be legible but are larger in size
|
|
104
|
-
* (>= 24px font size with normal font weight).
|
|
104
|
+
* (>= 24px font size with normal font weight) or are not a part of normal body text.
|
|
105
105
|
*
|
|
106
106
|
* - The color pair is chosen to ensure about Lc 60 contrast between the foreground and the
|
|
107
107
|
* background.
|
|
108
108
|
* - Example: `viraTheme.colors['vira-red-foreground-non-body']`: In light mode, this has slightly
|
|
109
109
|
* dark red foreground.
|
|
110
110
|
* - Example: `viraTheme.colors['vira-blue-on-self-non-body']`: In light mode, a light blue background
|
|
111
|
-
* is used (but darker than the
|
|
112
|
-
*
|
|
111
|
+
* is used (but darker than the body contrast level). (The foreground is a very
|
|
112
|
+
* dark blue.)
|
|
113
113
|
* - `header`: Chose this for text or page elements that are heading or heading sized elements (>=24px
|
|
114
114
|
* bolded text or >=36px normal weight text).
|
|
115
115
|
*
|
|
@@ -117,8 +117,8 @@
|
|
|
117
117
|
* background.
|
|
118
118
|
* - Example: `viraTheme.colors['vira-red-foreground-header']`: In light mode, this has a very vibrant
|
|
119
119
|
* red foreground.
|
|
120
|
-
* - Example: `viraTheme.colors['vira-blue-on-self-header']`: In light mode, a plain blue (not
|
|
121
|
-
*
|
|
120
|
+
* - Example: `viraTheme.colors['vira-blue-on-self-header']`: In light mode, a plain blue (not dark or
|
|
121
|
+
* light) background is used. (The foreground is a very dark blue.)
|
|
122
122
|
* - `placeholder`: Chose this for text or page elements that are placeholders or disabled.
|
|
123
123
|
*
|
|
124
124
|
* - The color pair is chosen to ensure about Lc 30 contrast between the foreground and the
|
|
@@ -162,20 +162,22 @@
|
|
|
162
162
|
*
|
|
163
163
|
* To style an error message (red body text):
|
|
164
164
|
*
|
|
165
|
-
* ```
|
|
166
|
-
* viraTheme.colors['vira-red-foreground-body'].foreground.value;
|
|
165
|
+
* ```css
|
|
166
|
+
* color: ${viraTheme.colors['vira-red-foreground-body'].foreground.value};
|
|
167
167
|
* ```
|
|
168
168
|
*
|
|
169
|
-
* To style a green banner with white text:
|
|
169
|
+
* To style a green banner with white text (in light mode) and black text (in dark mode):
|
|
170
170
|
*
|
|
171
|
-
* ```
|
|
172
|
-
*
|
|
171
|
+
* ```css
|
|
172
|
+
* .banner {
|
|
173
|
+
* ${colorCss(viraTheme.colors['vira-green-behind-bg-body'])};
|
|
174
|
+
* }
|
|
173
175
|
* ```
|
|
174
176
|
*
|
|
175
177
|
* `viraThemeByKeys` for structured access:
|
|
176
178
|
*
|
|
177
|
-
* ```
|
|
178
|
-
* viraThemeByKeys.red.foreground.body;
|
|
179
|
+
* ```css
|
|
180
|
+
* color: ${viraThemeByKeys.red.foreground.body.foreground.value};
|
|
179
181
|
* ```
|
|
180
182
|
*
|
|
181
183
|
* @category Color
|
|
@@ -901,150 +903,6 @@ export declare const viraTheme: import("theme-vir/dist/color-theme/color-theme.j
|
|
|
901
903
|
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
902
904
|
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
903
905
|
};
|
|
904
|
-
readonly 'vira-accent-foreground-highest-contrast': {
|
|
905
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
906
|
-
};
|
|
907
|
-
readonly 'vira-accent-foreground-small-body': {
|
|
908
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
909
|
-
};
|
|
910
|
-
readonly 'vira-accent-foreground-body': {
|
|
911
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
912
|
-
};
|
|
913
|
-
readonly 'vira-accent-foreground-non-body': {
|
|
914
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
915
|
-
};
|
|
916
|
-
readonly 'vira-accent-foreground-header': {
|
|
917
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
918
|
-
};
|
|
919
|
-
readonly 'vira-accent-foreground-placeholder': {
|
|
920
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
921
|
-
};
|
|
922
|
-
readonly 'vira-accent-foreground-decoration': {
|
|
923
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
924
|
-
};
|
|
925
|
-
readonly 'vira-accent-foreground-invisible': {
|
|
926
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
927
|
-
};
|
|
928
|
-
readonly 'vira-accent-foreground-lowest-contrast': {
|
|
929
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
930
|
-
};
|
|
931
|
-
readonly 'vira-accent-behind-bg-highest-contrast': {
|
|
932
|
-
readonly foreground: {
|
|
933
|
-
readonly refDefaultBackground: true;
|
|
934
|
-
};
|
|
935
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
936
|
-
};
|
|
937
|
-
readonly 'vira-accent-behind-bg-small-body': {
|
|
938
|
-
readonly foreground: {
|
|
939
|
-
readonly refDefaultBackground: true;
|
|
940
|
-
};
|
|
941
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
942
|
-
};
|
|
943
|
-
readonly 'vira-accent-behind-bg-body': {
|
|
944
|
-
readonly foreground: {
|
|
945
|
-
readonly refDefaultBackground: true;
|
|
946
|
-
};
|
|
947
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
948
|
-
};
|
|
949
|
-
readonly 'vira-accent-behind-bg-non-body': {
|
|
950
|
-
readonly foreground: {
|
|
951
|
-
readonly refDefaultBackground: true;
|
|
952
|
-
};
|
|
953
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
954
|
-
};
|
|
955
|
-
readonly 'vira-accent-behind-bg-header': {
|
|
956
|
-
readonly foreground: {
|
|
957
|
-
readonly refDefaultBackground: true;
|
|
958
|
-
};
|
|
959
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
960
|
-
};
|
|
961
|
-
readonly 'vira-accent-behind-bg-placeholder': {
|
|
962
|
-
readonly foreground: {
|
|
963
|
-
readonly refDefaultBackground: true;
|
|
964
|
-
};
|
|
965
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
966
|
-
};
|
|
967
|
-
readonly 'vira-accent-behind-bg-decoration': {
|
|
968
|
-
readonly foreground: {
|
|
969
|
-
readonly refDefaultBackground: true;
|
|
970
|
-
};
|
|
971
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
972
|
-
};
|
|
973
|
-
readonly 'vira-accent-behind-bg-invisible': {
|
|
974
|
-
readonly foreground: {
|
|
975
|
-
readonly refDefaultBackground: true;
|
|
976
|
-
};
|
|
977
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
978
|
-
};
|
|
979
|
-
readonly 'vira-accent-behind-bg-lowest-contrast': {
|
|
980
|
-
readonly foreground: {
|
|
981
|
-
readonly refDefaultBackground: true;
|
|
982
|
-
};
|
|
983
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
984
|
-
};
|
|
985
|
-
readonly 'vira-accent-behind-fg-highest-contrast': {
|
|
986
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
987
|
-
};
|
|
988
|
-
readonly 'vira-accent-behind-fg-small-body': {
|
|
989
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
990
|
-
};
|
|
991
|
-
readonly 'vira-accent-behind-fg-body': {
|
|
992
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
993
|
-
};
|
|
994
|
-
readonly 'vira-accent-behind-fg-non-body': {
|
|
995
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
996
|
-
};
|
|
997
|
-
readonly 'vira-accent-behind-fg-header': {
|
|
998
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
999
|
-
};
|
|
1000
|
-
readonly 'vira-accent-behind-fg-placeholder': {
|
|
1001
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
1002
|
-
};
|
|
1003
|
-
readonly 'vira-accent-behind-fg-decoration': {
|
|
1004
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
1005
|
-
};
|
|
1006
|
-
readonly 'vira-accent-behind-fg-invisible': {
|
|
1007
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
1008
|
-
};
|
|
1009
|
-
readonly 'vira-accent-behind-fg-lowest-contrast': {
|
|
1010
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
1011
|
-
};
|
|
1012
|
-
readonly 'vira-accent-on-self-highest-contrast': {
|
|
1013
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
1014
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
1015
|
-
};
|
|
1016
|
-
readonly 'vira-accent-on-self-small-body': {
|
|
1017
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
1018
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
1019
|
-
};
|
|
1020
|
-
readonly 'vira-accent-on-self-body': {
|
|
1021
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
1022
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
1023
|
-
};
|
|
1024
|
-
readonly 'vira-accent-on-self-non-body': {
|
|
1025
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
1026
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
1027
|
-
};
|
|
1028
|
-
readonly 'vira-accent-on-self-header': {
|
|
1029
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
1030
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
1031
|
-
};
|
|
1032
|
-
readonly 'vira-accent-on-self-placeholder': {
|
|
1033
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
1034
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
1035
|
-
};
|
|
1036
|
-
readonly 'vira-accent-on-self-decoration': {
|
|
1037
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
1038
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
1039
|
-
};
|
|
1040
|
-
readonly 'vira-accent-on-self-invisible': {
|
|
1041
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
1042
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
1043
|
-
};
|
|
1044
|
-
readonly 'vira-accent-on-self-lowest-contrast': {
|
|
1045
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
1046
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
1047
|
-
};
|
|
1048
906
|
readonly 'vira-purple-foreground-highest-contrast': {
|
|
1049
907
|
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
1050
908
|
};
|
|
@@ -2204,150 +2062,6 @@ export declare const viraThemeDarkOverride: import("theme-vir").ColorThemeOverri
|
|
|
2204
2062
|
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
2205
2063
|
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2206
2064
|
};
|
|
2207
|
-
readonly 'vira-accent-foreground-highest-contrast': {
|
|
2208
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
2209
|
-
};
|
|
2210
|
-
readonly 'vira-accent-foreground-small-body': {
|
|
2211
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
2212
|
-
};
|
|
2213
|
-
readonly 'vira-accent-foreground-body': {
|
|
2214
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
2215
|
-
};
|
|
2216
|
-
readonly 'vira-accent-foreground-non-body': {
|
|
2217
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
2218
|
-
};
|
|
2219
|
-
readonly 'vira-accent-foreground-header': {
|
|
2220
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
2221
|
-
};
|
|
2222
|
-
readonly 'vira-accent-foreground-placeholder': {
|
|
2223
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
2224
|
-
};
|
|
2225
|
-
readonly 'vira-accent-foreground-decoration': {
|
|
2226
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
2227
|
-
};
|
|
2228
|
-
readonly 'vira-accent-foreground-invisible': {
|
|
2229
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
2230
|
-
};
|
|
2231
|
-
readonly 'vira-accent-foreground-lowest-contrast': {
|
|
2232
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
2233
|
-
};
|
|
2234
|
-
readonly 'vira-accent-behind-bg-highest-contrast': {
|
|
2235
|
-
readonly foreground: {
|
|
2236
|
-
readonly refDefaultBackground: true;
|
|
2237
|
-
};
|
|
2238
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2239
|
-
};
|
|
2240
|
-
readonly 'vira-accent-behind-bg-small-body': {
|
|
2241
|
-
readonly foreground: {
|
|
2242
|
-
readonly refDefaultBackground: true;
|
|
2243
|
-
};
|
|
2244
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2245
|
-
};
|
|
2246
|
-
readonly 'vira-accent-behind-bg-body': {
|
|
2247
|
-
readonly foreground: {
|
|
2248
|
-
readonly refDefaultBackground: true;
|
|
2249
|
-
};
|
|
2250
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2251
|
-
};
|
|
2252
|
-
readonly 'vira-accent-behind-bg-non-body': {
|
|
2253
|
-
readonly foreground: {
|
|
2254
|
-
readonly refDefaultBackground: true;
|
|
2255
|
-
};
|
|
2256
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2257
|
-
};
|
|
2258
|
-
readonly 'vira-accent-behind-bg-header': {
|
|
2259
|
-
readonly foreground: {
|
|
2260
|
-
readonly refDefaultBackground: true;
|
|
2261
|
-
};
|
|
2262
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2263
|
-
};
|
|
2264
|
-
readonly 'vira-accent-behind-bg-placeholder': {
|
|
2265
|
-
readonly foreground: {
|
|
2266
|
-
readonly refDefaultBackground: true;
|
|
2267
|
-
};
|
|
2268
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2269
|
-
};
|
|
2270
|
-
readonly 'vira-accent-behind-bg-decoration': {
|
|
2271
|
-
readonly foreground: {
|
|
2272
|
-
readonly refDefaultBackground: true;
|
|
2273
|
-
};
|
|
2274
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2275
|
-
};
|
|
2276
|
-
readonly 'vira-accent-behind-bg-invisible': {
|
|
2277
|
-
readonly foreground: {
|
|
2278
|
-
readonly refDefaultBackground: true;
|
|
2279
|
-
};
|
|
2280
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2281
|
-
};
|
|
2282
|
-
readonly 'vira-accent-behind-bg-lowest-contrast': {
|
|
2283
|
-
readonly foreground: {
|
|
2284
|
-
readonly refDefaultBackground: true;
|
|
2285
|
-
};
|
|
2286
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2287
|
-
};
|
|
2288
|
-
readonly 'vira-accent-behind-fg-highest-contrast': {
|
|
2289
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2290
|
-
};
|
|
2291
|
-
readonly 'vira-accent-behind-fg-small-body': {
|
|
2292
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2293
|
-
};
|
|
2294
|
-
readonly 'vira-accent-behind-fg-body': {
|
|
2295
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2296
|
-
};
|
|
2297
|
-
readonly 'vira-accent-behind-fg-non-body': {
|
|
2298
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2299
|
-
};
|
|
2300
|
-
readonly 'vira-accent-behind-fg-header': {
|
|
2301
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2302
|
-
};
|
|
2303
|
-
readonly 'vira-accent-behind-fg-placeholder': {
|
|
2304
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2305
|
-
};
|
|
2306
|
-
readonly 'vira-accent-behind-fg-decoration': {
|
|
2307
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2308
|
-
};
|
|
2309
|
-
readonly 'vira-accent-behind-fg-invisible': {
|
|
2310
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2311
|
-
};
|
|
2312
|
-
readonly 'vira-accent-behind-fg-lowest-contrast': {
|
|
2313
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2314
|
-
};
|
|
2315
|
-
readonly 'vira-accent-on-self-highest-contrast': {
|
|
2316
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
2317
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2318
|
-
};
|
|
2319
|
-
readonly 'vira-accent-on-self-small-body': {
|
|
2320
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
2321
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2322
|
-
};
|
|
2323
|
-
readonly 'vira-accent-on-self-body': {
|
|
2324
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
2325
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2326
|
-
};
|
|
2327
|
-
readonly 'vira-accent-on-self-non-body': {
|
|
2328
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
2329
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2330
|
-
};
|
|
2331
|
-
readonly 'vira-accent-on-self-header': {
|
|
2332
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
2333
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2334
|
-
};
|
|
2335
|
-
readonly 'vira-accent-on-self-placeholder': {
|
|
2336
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
2337
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2338
|
-
};
|
|
2339
|
-
readonly 'vira-accent-on-self-decoration': {
|
|
2340
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
2341
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2342
|
-
};
|
|
2343
|
-
readonly 'vira-accent-on-self-invisible': {
|
|
2344
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
2345
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2346
|
-
};
|
|
2347
|
-
readonly 'vira-accent-on-self-lowest-contrast': {
|
|
2348
|
-
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
2349
|
-
readonly background: import("lit-css-vars").SingleCssVarDefinition;
|
|
2350
|
-
};
|
|
2351
2065
|
readonly 'vira-purple-foreground-highest-contrast': {
|
|
2352
2066
|
readonly foreground: import("lit-css-vars").SingleCssVarDefinition;
|
|
2353
2067
|
};
|