@splunk/themes 0.18.0 → 0.20.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,6 +1,18 @@
1
1
  Change Log
2
2
  ============
3
3
 
4
+ 0.20.0 - August 7, 2024
5
+ ----------
6
+ * Prisma light theme's `interactiveColorBorder` value has been updated to meet accessibility requirements (SUI-6342).
7
+
8
+ 0.19.0 - June 4, 2024
9
+ ----------
10
+ New Features:
11
+ * Enterprise themes now support the following Prisma aliases: `interactiveColorBorderActive`, `interactiveColorBorderHover`, `interactiveColorBorderDisabled`, and `interactiveColorBackgroundDisabled` (SUI-6062).
12
+
13
+ API Changes:
14
+ * Enterprise theme's `interactiveColorBorder` Prisma alias has been updated in dark mode (SUI-6062).
15
+
4
16
  0.18.0 - May 6, 2024
5
17
  ----------
6
18
  New Features:
@@ -89,7 +89,11 @@ function createPrismaAliases(_ref) {
89
89
  neutral400: colorScheme === 'dark' ? cs.gray60 : _tinycolor["default"].mix(cs.gray92, cs.gray80).toRgbString(),
90
90
  neutral500: cs.gray80,
91
91
  interactiveColorPrimary: cs.brandColor,
92
- interactiveColorBorder: colorScheme === 'dark' ? cs.borderColor : cs.gray60,
92
+ interactiveColorBorder: colorScheme === 'dark' ? cs.gray20 : cs.gray60,
93
+ interactiveColorBorderActive: colorScheme === 'dark' ? cs.gray20 : cs.gray60,
94
+ interactiveColorBorderHover: colorScheme === 'dark' ? cs.gray20 : cs.gray60,
95
+ interactiveColorBorderDisabled: colorScheme === 'dark' ? cs.gray30 : cs.gray92,
96
+ interactiveColorBackgroundDisabled: colorScheme === 'dark' ? cs.gray22 : cs.gray96,
93
97
  spacingXSmall: d.spacingQuarter,
94
98
  spacingSmall: d.spacingHalf,
95
99
  spacingMedium: "calc(".concat(d.spacing, " * 0.75)"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splunk/themes",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "description": "Theme variables and mixins for the Splunk design language",
5
5
  "scripts": {
6
6
  "babel": "babel src -d . --ignore src/babel-plugin-base64-png,src/tests --ignore \"**/docs\" --extensions .js,.ts,.tsx",
package/prisma/dark.js CHANGED
@@ -53,7 +53,7 @@ var contentColors = {
53
53
  var interactiveColors = {
54
54
  interactiveColorPrimary: '#3993FF',
55
55
  interactiveColorBorder: 'rgba(255, 255, 255, 0.5)',
56
- interactiveColorBorderActive: 'rgba(225,225,225, 0.5)',
56
+ interactiveColorBorderActive: 'rgba(225, 225, 225, 0.5)',
57
57
  interactiveColorBorderHover: 'rgba(255, 255, 255, 0.7)',
58
58
  interactiveColorBorderDisabled: 'rgba(255, 255, 255, 0.30)',
59
59
  interactiveColorOverlaySelected: 'rgba(255, 255, 255, 0.1)',
package/prisma/light.js CHANGED
@@ -52,7 +52,7 @@ var contentColors = {
52
52
 
53
53
  var interactiveColors = {
54
54
  interactiveColorPrimary: '#0264d7',
55
- interactiveColorBorder: 'rgba(0, 0, 0, 0.4)',
55
+ interactiveColorBorder: 'rgba(0, 0, 0, 0.48)',
56
56
  interactiveColorBorderActive: 'rgba(0, 0, 0, 0.5)',
57
57
  interactiveColorBorderHover: 'rgba(0, 0, 0, 0.6)',
58
58
  interactiveColorBorderDisabled: 'rgba(0, 0, 0, 0.3)',
@@ -36,6 +36,10 @@ declare function createPrismaAliases({ colorScheme, density, }: {
36
36
  neutral500: string;
37
37
  interactiveColorPrimary: string;
38
38
  interactiveColorBorder: string;
39
+ interactiveColorBorderActive: string;
40
+ interactiveColorBorderHover: string;
41
+ interactiveColorBorderDisabled: string;
42
+ interactiveColorBackgroundDisabled: string;
39
43
  spacingXSmall: string;
40
44
  spacingSmall: string;
41
45
  spacingMedium: string;
package/variables.js CHANGED
@@ -55,7 +55,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
55
55
  * color: ${pick({
56
56
  * enterprise: variables.textColor,
57
57
  * prisma: variables.contentColorDefault
58
- * });
58
+ * })};
59
59
  * `;
60
60
  * ```
61
61
  * ## Custom Variables