@knime/kds-styles 11.4.0 → 11.5.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @knime/kds-styles
|
|
2
2
|
|
|
3
|
+
## 11.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- b5ddd7a: Add the `--kds-color-ai-gradient-start`, `--kds-color-ai-gradient-middle`, and `--kds-color-ai-gradient-end` color tokens, the stops of the AI gradient in that order. All three are the same in light and dark mode, and none of them is for text. `middle` uses the same core color as `--kds-color-background-static-brand`.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- b5ddd7a: feat(tokens): add kds.color.ai gradient stops (KDS-1071)
|
|
12
|
+
|
|
3
13
|
## 11.4.0
|
|
4
14
|
|
|
5
15
|
## 11.3.0
|
|
@@ -1778,6 +1778,24 @@ syntax: "<color>";
|
|
|
1778
1778
|
initial-value: light-dark(hsl(215.7 100% 91.8% / 0.4), hsl(209.4 49.5% 20.2% / 0.5));
|
|
1779
1779
|
}
|
|
1780
1780
|
|
|
1781
|
+
@property --kds-color-ai-gradient-start {
|
|
1782
|
+
syntax: "<color>";
|
|
1783
|
+
inherits: true;
|
|
1784
|
+
initial-value: hsl(185.8, 49.2%, 87.6%);
|
|
1785
|
+
}
|
|
1786
|
+
|
|
1787
|
+
@property --kds-color-ai-gradient-middle {
|
|
1788
|
+
syntax: "<color>";
|
|
1789
|
+
inherits: true;
|
|
1790
|
+
initial-value: hsl(50.8, 100%, 50%);
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
@property --kds-color-ai-gradient-end {
|
|
1794
|
+
syntax: "<color>";
|
|
1795
|
+
inherits: true;
|
|
1796
|
+
initial-value: hsl(193.1, 60.2%, 43.3%);
|
|
1797
|
+
}
|
|
1798
|
+
|
|
1781
1799
|
@property --kds-color-blanket-default {
|
|
1782
1800
|
syntax: "<color>";
|
|
1783
1801
|
inherits: true;
|
|
@@ -299,6 +299,9 @@
|
|
|
299
299
|
--kds-color-border-neutral-opaque-active: light-dark(hsl(0, 0%, 32.2%), hsl(0, 0%, 90.2%));
|
|
300
300
|
--kds-color-focus-outline: light-dark(hsl(209.4, 57.3%, 49.6%), hsl(213.6, 91.6%, 76.7%));
|
|
301
301
|
--kds-color-focus-background: light-dark(hsl(215.7 100% 91.8% / 0.4), hsl(209.4 49.5% 20.2% / 0.5));
|
|
302
|
+
--kds-color-ai-gradient-start: hsl(185.8, 49.2%, 87.6%);
|
|
303
|
+
--kds-color-ai-gradient-middle: hsl(50.8, 100%, 50%);
|
|
304
|
+
--kds-color-ai-gradient-end: hsl(193.1, 60.2%, 43.3%);
|
|
302
305
|
--kds-color-blanket-default: hsl(0 0% 11.4% / 0.8);
|
|
303
306
|
--kds-color-chart-data-series-1: light-dark(hsl(173.4, 37.1%, 38.6%), hsl(169.8, 30.6%, 66.1%));
|
|
304
307
|
--kds-color-chart-data-series-2: light-dark(hsl(211.3, 67.3%, 59.2%), hsl(213.6, 91.6%, 76.7%));
|
|
@@ -428,6 +428,22 @@ export type KdsColorTokens = {
|
|
|
428
428
|
*/
|
|
429
429
|
readonly background: KdsColor;
|
|
430
430
|
};
|
|
431
|
+
readonly ai: {
|
|
432
|
+
readonly gradient: {
|
|
433
|
+
/**
|
|
434
|
+
* Color stop of the AI gradient. Decorative only, not for text or icons.
|
|
435
|
+
*/
|
|
436
|
+
readonly start: KdsColor;
|
|
437
|
+
/**
|
|
438
|
+
* Color stop of the AI gradient. Decorative only, not for text or icons.
|
|
439
|
+
*/
|
|
440
|
+
readonly middle: KdsColor;
|
|
441
|
+
/**
|
|
442
|
+
* Color stop of the AI gradient. OK for non-text UI, not for text.
|
|
443
|
+
*/
|
|
444
|
+
readonly end: KdsColor;
|
|
445
|
+
};
|
|
446
|
+
};
|
|
431
447
|
readonly blanket: {
|
|
432
448
|
/**
|
|
433
449
|
* Dimmed overlay background for modals and dialogs.
|
package/dist/tokens/ts/color.js
CHANGED
|
@@ -811,6 +811,34 @@ export const color = {
|
|
|
811
811
|
},
|
|
812
812
|
},
|
|
813
813
|
},
|
|
814
|
+
ai: {
|
|
815
|
+
gradient: {
|
|
816
|
+
start: {
|
|
817
|
+
light: { h: 185.8, s: 49.2, l: 87.6, a: 1 },
|
|
818
|
+
dark: { h: 185.8, s: 49.2, l: 87.6, a: 1 },
|
|
819
|
+
css: {
|
|
820
|
+
value: "hsl(185.8, 49.2%, 87.6%)",
|
|
821
|
+
variable: "var(--kds-color-ai-gradient-start)",
|
|
822
|
+
},
|
|
823
|
+
},
|
|
824
|
+
middle: {
|
|
825
|
+
light: { h: 50.8, s: 100, l: 50, a: 1 },
|
|
826
|
+
dark: { h: 50.8, s: 100, l: 50, a: 1 },
|
|
827
|
+
css: {
|
|
828
|
+
value: "hsl(50.8, 100%, 50%)",
|
|
829
|
+
variable: "var(--kds-color-ai-gradient-middle)",
|
|
830
|
+
},
|
|
831
|
+
},
|
|
832
|
+
end: {
|
|
833
|
+
light: { h: 193.1, s: 60.2, l: 43.3, a: 1 },
|
|
834
|
+
dark: { h: 193.1, s: 60.2, l: 43.3, a: 1 },
|
|
835
|
+
css: {
|
|
836
|
+
value: "hsl(193.1, 60.2%, 43.3%)",
|
|
837
|
+
variable: "var(--kds-color-ai-gradient-end)",
|
|
838
|
+
},
|
|
839
|
+
},
|
|
840
|
+
},
|
|
841
|
+
},
|
|
814
842
|
blanket: {
|
|
815
843
|
default: {
|
|
816
844
|
light: { h: 0, s: 0, l: 11.4, a: 0.8 },
|