@loomhq/lens 10.64.0 → 10.65.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/colors.d.ts +1 -1
- package/dist/colors.js +4 -0
- package/package.json +1 -1
package/dist/colors.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ declare type HslaColor = {
|
|
|
6
6
|
};
|
|
7
7
|
declare const BaseColors: readonly ["red", "blurpleLight", "blurpleMedium", "blurple", "blurpleDark", "offWhite", "blueLight", "blue", "blueDark", "orangeLight", "orange", "orangeDark", "tealLight", "teal", "tealDark", "yellowLight", "yellow", "yellowDark"];
|
|
8
8
|
declare const GreyColors: readonly ["grey8", "grey7", "grey6", "grey5", "grey4", "grey3", "grey2", "grey1", "white"];
|
|
9
|
-
declare const SharedColors: readonly ["primary", "primaryHover", "primaryActive", "focusRing", "record", "recordHover", "recordActive", "success", "danger", "dangerHover", "dangerActive", "backdrop", "backdropDark", "disabledContent", "highlight"];
|
|
9
|
+
declare const SharedColors: readonly ["primary", "primaryHover", "primaryActive", "focusRing", "record", "recordHover", "recordActive", "info", "success", "warning", "danger", "dangerHover", "dangerActive", "backdrop", "backdropDark", "disabledContent", "highlight"];
|
|
10
10
|
declare const SemanticColors: readonly ["body", "bodyDimmed", "background", "backgroundHover", "backgroundActive", "backgroundSecondary", "backgroundSecondary2", "overlay", "border", "disabledBackground", "formFieldBorder", "formFieldBackground", "buttonBorder", "upgrade", "upgradeHover", "upgradeActive", "tabBackground", "discoveryBackground", "discoveryLightBackground", "discoveryTitle", "discoveryHighlight"];
|
|
11
11
|
declare type ThemesColorVariant = Record<typeof SharedColors[number] | typeof SemanticColors[number], HslaColor>;
|
|
12
12
|
declare type ThemesColors = {
|
package/dist/colors.js
CHANGED
|
@@ -37,7 +37,9 @@ const SharedColors = [
|
|
|
37
37
|
'record',
|
|
38
38
|
'recordHover',
|
|
39
39
|
'recordActive',
|
|
40
|
+
'info',
|
|
40
41
|
'success',
|
|
42
|
+
'warning',
|
|
41
43
|
'danger',
|
|
42
44
|
'dangerHover',
|
|
43
45
|
'dangerActive',
|
|
@@ -121,7 +123,9 @@ const themeSharedColors = {
|
|
|
121
123
|
record: hslaBaseColors.orange,
|
|
122
124
|
recordHover: darken(hslaBaseColors.orange, hoverIncrease),
|
|
123
125
|
recordActive: darken(hslaBaseColors.orange, activeIncrease),
|
|
126
|
+
info: hslaBaseColors.blue,
|
|
124
127
|
success: hslaBaseColors.teal,
|
|
128
|
+
warning: hslaBaseColors.yellowDark,
|
|
125
129
|
danger: hslaBaseColors.red,
|
|
126
130
|
dangerHover: darken(hslaBaseColors.red, hoverIncrease),
|
|
127
131
|
dangerActive: darken(hslaBaseColors.red, activeIncrease),
|