@loomhq/lens 10.96.0 → 10.97.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 +3 -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 ["focusRing", "record", "recordHover", "recordActive", "info", "success", "warning", "danger", "dangerHover", "dangerActive", "backdrop", "backdropDark", "disabledContent", "highlight"];
|
|
9
|
+
declare const SharedColors: readonly ["focusRing", "record", "recordHover", "recordActive", "info", "success", "warning", "danger", "dangerHover", "dangerActive", "backdrop", "backdropDark", "backdropTwilight", "disabledContent", "highlight"];
|
|
10
10
|
declare const SemanticColors: readonly ["primary", "primaryHover", "primaryActive", "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
|
@@ -42,6 +42,7 @@ const SharedColors = [
|
|
|
42
42
|
'dangerActive',
|
|
43
43
|
'backdrop',
|
|
44
44
|
'backdropDark',
|
|
45
|
+
'backdropTwilight',
|
|
45
46
|
'disabledContent',
|
|
46
47
|
'highlight',
|
|
47
48
|
];
|
|
@@ -81,6 +82,7 @@ const activeIncrease = 31.6;
|
|
|
81
82
|
const borderAlpha = 0.2;
|
|
82
83
|
const backdropAlpha = 0.5;
|
|
83
84
|
const backdropDarkAlpha = 0.9;
|
|
85
|
+
const backdropTwilightAlpha = 0.8;
|
|
84
86
|
const focusRingAlpha = 0.5;
|
|
85
87
|
const buttonBorderAlpha = 0.25;
|
|
86
88
|
const tabBackgroundAlpha = 0.15;
|
|
@@ -128,6 +130,7 @@ const themeSharedColors = {
|
|
|
128
130
|
dangerActive: darken(hslaBaseColors.red, activeIncrease),
|
|
129
131
|
backdrop: alpha(hslaGreys.grey8, backdropAlpha),
|
|
130
132
|
backdropDark: alpha(hslaGreys.grey8, backdropDarkAlpha),
|
|
133
|
+
backdropTwilight: alpha({ h: 245, s: 44.8, l: 46.9, a: 1 }, backdropTwilightAlpha),
|
|
131
134
|
disabledContent: hslaGreys.grey5,
|
|
132
135
|
highlight: {
|
|
133
136
|
h: hslaBaseColors.blurpleLight.h,
|