@splunk/themes 0.19.0 → 0.21.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,16 @@
1
1
  Change Log
2
2
  ============
3
3
 
4
+ 0.21.0 - August 26, 2024
5
+ ----------
6
+ New Features:
7
+ * Prisma `focusColor` transparency removed to increase contrast and meet accessibility requirements (SUI-6519).
8
+
9
+ 0.20.0 - August 7, 2024
10
+ ----------
11
+ New Features:
12
+ * Prisma light theme's `interactiveColorBorder` value has been updated to meet accessibility requirements (SUI-6342).
13
+
4
14
  0.19.0 - June 4, 2024
5
15
  ----------
6
16
  New Features:
@@ -331,7 +331,6 @@ var backgrounds = {
331
331
  */
332
332
 
333
333
  var borders = {
334
- borderRadius: '3px',
335
334
  border: "1px solid ".concat(usageColors.borderColor)
336
335
  };
337
336
  var sansFontFamily = "'Splunk Platform Sans', 'Proxima Nova', Roboto, Droid, 'Helvetica Neue', Helvetica, Arial, sans-serif";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splunk/themes",
3
- "version": "0.19.0",
3
+ "version": "0.21.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/base.js CHANGED
@@ -5,8 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
 
8
- var _tinycolor = _interopRequireDefault(require("tinycolor2"));
9
-
10
8
  var _dataViz = _interopRequireDefault(require("./dataViz"));
11
9
 
12
10
  var _light = _interopRequireDefault(require("./light"));
@@ -35,7 +33,7 @@ function createPrismaBase(_ref) {
35
33
  */
36
34
 
37
35
  var usageColors = {
38
- focusColor: (0, _tinycolor["default"])(colorSchemeVars.interactiveColorPrimary).setAlpha(0.7).toRgbString(),
36
+ focusColor: colorSchemeVars.interactiveColorPrimary,
39
37
  transparent: 'transparent',
40
38
  linkColor: colorSchemeVars.interactiveColorPrimary
41
39
  };
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)',
@@ -32,7 +32,6 @@ declare const theme: {
32
32
  zindexModal: number;
33
33
  zindexPopover: number;
34
34
  zindexToastMessages: number;
35
- borderRadius: string;
36
35
  focusShadow: string;
37
36
  overlayShadow: string;
38
37
  focusColor: string;
@@ -6,7 +6,6 @@ declare const theme: {
6
6
  zindexModal: number;
7
7
  zindexPopover: number;
8
8
  zindexToastMessages: number;
9
- borderRadius: string;
10
9
  border: string;
11
10
  activeBorder: string;
12
11
  focusShadow: string;
@@ -151,12 +151,7 @@ declare function createPrismaBase({ colorScheme }: {
151
151
  divergent2L5: string;
152
152
  divergent2L6: string;
153
153
  divergent2L7: string;
154
- divergent2D1: string; /**
155
- * ## Layers
156
- * If a variable does not suit your purpose, set a value relatively, such as zindexModal +1.
157
- *
158
- * @valueSet
159
- */
154
+ divergent2D1: string;
160
155
  divergent2D2: string;
161
156
  divergent2D3: string;
162
157
  divergent2D4: string;
@@ -180,7 +175,11 @@ declare function createPrismaBase({ colorScheme }: {
180
175
  categorical2L1: string;
181
176
  categorical2L2: string;
182
177
  categorical2L3: string;
183
- categorical2L4: string;
178
+ categorical2L4: string; /**
179
+ * ## Font family
180
+ *
181
+ * @valueSet
182
+ */
184
183
  categorical2L5: string;
185
184
  categorical2L6: string;
186
185
  categorical2L7: string;
@@ -211,11 +210,7 @@ declare function createPrismaBase({ colorScheme }: {
211
210
  static4: string;
212
211
  static5: string;
213
212
  static6: string;
214
- static7: string; /**
215
- * ## Misc. colors
216
- *
217
- * @colorSet verbose
218
- */
213
+ static7: string;
219
214
  static8: string;
220
215
  static9: string;
221
216
  static10: string;
@@ -225,15 +220,15 @@ declare function createPrismaBase({ colorScheme }: {
225
220
  static14: string;
226
221
  static15: string;
227
222
  static16: string;
228
- static17: string;
229
- static18: string;
230
- static19: string;
231
223
  /**
232
224
  * ## Interactive state shadows
233
225
  *
234
226
  * @shadowSet
235
227
  *
236
228
  */
229
+ static17: string;
230
+ static18: string;
231
+ static19: string;
237
232
  static20: string;
238
233
  focusColor: string;
239
234
  transparent: 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