@splunk/themes 1.2.0 → 1.3.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,12 +1,30 @@
1
1
  Change Log
2
2
  ============
3
+ 1.3.0 - October 7, 2025
4
+ ----------
5
+ New Features:
6
+ * New `actionColorContent*` tokens (SUI-8101).
7
+
8
+ Bug Fixes:
9
+ * Fix incorrect action content colors in Magnetic theme customizer (SUI-8101).
10
+
11
+ Deprecations:
12
+ * `contentColorInfo`, `contentColorNegativeStrong`, `contentColorPositive` and `contentColorWarning` have been deprecated (SUI-8251)
13
+
14
+ 1.2.1 - September 2, 2025
15
+ ----------
16
+ Bug Fixes:
17
+ * Added missing `sansFontFamily` token in Magnetic theme customizer (SUI-8101).
18
+
19
+ Docs:
20
+ * Added missing data visualization color categories (`categorical2D`, `categorical2L`, `divergent1D`) to design tokens documentation (SUI-8139).
3
21
 
4
22
  1.2.0 - August 5, 2025
5
23
  ----------
6
24
  New Features:
7
25
  * New `lineHeight*` variables (SUI-7993).
8
26
 
9
- Bug fixes:
27
+ Bug Fixes:
10
28
  * Updated `skipLink` mixin to override `min-width` and `min-height` properties.
11
29
 
12
30
  1.1.0 - July 2, 2025
@@ -130,7 +130,91 @@ var actionColors = {
130
130
  /**
131
131
  * Hover border color for Destructive Secondary Buttons.
132
132
  */
133
- actionColorBorderDestructiveSecondaryHover: ''
133
+ actionColorBorderDestructiveSecondaryHover: '',
134
+ /**
135
+ * Default text color for Primary Buttons.
136
+ *
137
+ * @categoryFont
138
+ */
139
+ actionColorContentPrimary: '',
140
+ /**
141
+ * Disabled text color for Primary Buttons.
142
+ *
143
+ * @categoryFont
144
+ */
145
+ actionColorContentPrimaryDisabled: '',
146
+ /**
147
+ * Default text color for Secondary Buttons.
148
+ *
149
+ * @categoryFont
150
+ */
151
+ actionColorContentSecondary: '',
152
+ /**
153
+ * Disabled text color for Secondary Buttons.
154
+ *
155
+ * @categoryFont
156
+ */
157
+ actionColorContentSecondaryDisabled: '',
158
+ /**
159
+ * Active text color for Subtle Buttons.
160
+ *
161
+ * @categoryFont
162
+ */
163
+ actionColorContentSubtleActive: '',
164
+ /**
165
+ * Hover text color for Subtle Buttons.
166
+ *
167
+ * @categoryFont
168
+ */
169
+ actionColorContentSubtleHover: '',
170
+ /**
171
+ * Default text color for Standalone Buttons.
172
+ *
173
+ * @categoryFont
174
+ */
175
+ actionColorContentStandalone: '',
176
+ /**
177
+ * Active (pressed) text color for Standalone Buttons.
178
+ *
179
+ * @categoryFont
180
+ */
181
+ actionColorContentStandaloneActive: '',
182
+ /**
183
+ * Disabled text color for Standalone Buttons.
184
+ *
185
+ * @categoryFont
186
+ */
187
+ actionColorContentStandaloneDisabled: '',
188
+ /**
189
+ * Hover text color for Standalone Buttons.
190
+ *
191
+ * @categoryFont
192
+ */
193
+ actionColorContentStandaloneHover: '',
194
+ /**
195
+ * Default text color for Destructive Buttons.
196
+ *
197
+ * @categoryFont
198
+ */
199
+ actionColorContentDestructive: '',
200
+ /**
201
+ * Disabled text color for Destructive Buttons.
202
+ *
203
+ * @categoryFont
204
+ */
205
+ actionColorContentDestructiveDisabled: '',
206
+ /**
207
+ * Default text color for Destructive Secondary Buttons.
208
+ *
209
+ * @categoryFont
210
+ */
211
+ actionColorContentDestructiveSecondary: '',
212
+ /**
213
+ * Disabled text color for Destructive Secondary Buttons.
214
+ *
215
+ * @categoryFont
216
+ */
217
+ actionColorContentDestructiveSecondaryDisabled: ''
134
218
  };
135
219
 
136
220
  /**
@@ -325,10 +409,6 @@ var contentColors = {
325
409
  * Text color for disabled content that does not pass 4.5:1 contrast.
326
410
  */
327
411
  contentColorDisabled: '',
328
- /**
329
- * Text color used to convey informational context or status.
330
- */
331
- contentColorInfo: '',
332
412
  /**
333
413
  * Text color used on top of inverted backgrounds.
334
414
  */
@@ -341,22 +421,10 @@ var contentColors = {
341
421
  * Text color for error or negative status messaging.
342
422
  */
343
423
  contentColorNegative: '',
344
- /**
345
- * Stronger negative text color for greater emphasis.
346
- */
347
- contentColorNegativeStrong: '',
348
424
  /**
349
425
  * Disabled negative text color that does not pass 4.5:1 contrast.
350
426
  */
351
- contentColorNegativeWeak: '',
352
- /**
353
- * Text color for success or positive status messaging.
354
- */
355
- contentColorPositive: '',
356
- /**
357
- * Text color for cautionary or warning status messaging.
358
- */
359
- contentColorWarning: ''
427
+ contentColorNegativeWeak: ''
360
428
  };
361
429
 
362
430
  /**
@@ -16,6 +16,10 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
16
16
  * @categoryValue
17
17
  */
18
18
  var deprecated = {
19
+ contentColorInfo: '',
20
+ contentColorWarning: '',
21
+ contentColorPositive: '',
22
+ contentColorNegativeStrong: '',
19
23
  /**
20
24
  * Use a more specific token based on the semantic use case:
21
25
  * [`interactiveColorAccent`](#interactiveColorAccent), [`contentColorAccent`](#contentColorAccent), or [`focusColor`](#focusColor).
@@ -63,12 +63,8 @@ var contentColors = {
63
63
  contentColorAccent: '#20ac33',
64
64
  contentColorAccentStrong: '#a4e9ae',
65
65
  contentColorAccentWeak: '#0b4613',
66
- contentColorInfo: '#66a7c4',
67
66
  contentColorNegative: '#e37267',
68
- contentColorNegativeStrong: '#ffa69e',
69
67
  contentColorNegativeWeak: '#562a25',
70
- contentColorPositive: '#7ecd7e',
71
- contentColorWarning: '#f8be34',
72
68
  contentColorLink: _light["default"].accentColorL10
73
69
  };
74
70
  var actionColors = {
@@ -99,7 +95,21 @@ var actionColors = {
99
95
  actionColorBorderDestructiveSecondary: '#ff776b',
100
96
  actionColorBorderDestructiveSecondaryActive: '#ff8a80',
101
97
  actionColorBorderDestructiveSecondaryDisabled: '#562a25',
102
- actionColorBorderDestructiveSecondaryHover: '#ff8a80'
98
+ actionColorBorderDestructiveSecondaryHover: '#ff8a80',
99
+ actionColorContentPrimary: contentColors.contentColorInverted,
100
+ actionColorContentPrimaryDisabled: contentColors.contentColorInverted,
101
+ actionColorContentSecondary: contentColors.contentColorActive,
102
+ actionColorContentSecondaryDisabled: contentColors.contentColorDisabled,
103
+ actionColorContentSubtleActive: contentColors.contentColorAccentStrong,
104
+ actionColorContentSubtleHover: contentColors.contentColorAccentStrong,
105
+ actionColorContentStandalone: contentColors.contentColorAccent,
106
+ actionColorContentStandaloneActive: contentColors.contentColorAccentStrong,
107
+ actionColorContentStandaloneDisabled: contentColors.contentColorAccentWeak,
108
+ actionColorContentStandaloneHover: contentColors.contentColorAccentStrong,
109
+ actionColorContentDestructive: contentColors.contentColorInverted,
110
+ actionColorContentDestructiveDisabled: contentColors.contentColorInverted,
111
+ actionColorContentDestructiveSecondary: contentColors.contentColorNegative,
112
+ actionColorContentDestructiveSecondaryDisabled: contentColors.contentColorNegativeWeak
103
113
  };
104
114
  var interactiveColors = {
105
115
  interactiveColorBorder: _light["default"].gray60,
@@ -150,6 +160,11 @@ var shadows = {
150
160
  modalShadow: '0px 50px 200px #000000, 0px 29px 66px rgba(0, 0, 0, 0.41), 0px 14px 47px rgba(0, 0, 0, 0.17), 0px 5px 10px rgba(0, 0, 0, 0.15)'
151
161
  };
152
162
  var deprecated = {
163
+ contentColorInfo: '#66a7c4',
164
+ // @deprecated, SUI-8251
165
+ contentColorNegativeStrong: '#ffa69e',
166
+ contentColorPositive: '#7ecd7e',
167
+ contentColorWarning: '#f8be34',
153
168
  backgroundColor: _light["default"].gray20,
154
169
  // @deprecated SUI-6656
155
170
  backgroundColorHover: _light["default"].gray30,
@@ -128,12 +128,8 @@ var contentColors = {
128
128
  contentColorAccent: '#1a8929',
129
129
  contentColorAccentStrong: '#0d4515',
130
130
  contentColorAccentWeak: '#b5e3b5',
131
- contentColorInfo: '#006d9c',
132
131
  contentColorNegative: '#c84535',
133
- contentColorNegativeStrong: '#812d22',
134
132
  contentColorNegativeWeak: '#f5aca3',
135
- contentColorPositive: '#307b30',
136
- contentColorWarning: '#7d600f',
137
133
  contentColorLink: deprecatedEnterpriseColors.accentColorD10
138
134
  };
139
135
  var actionColors = {
@@ -164,7 +160,21 @@ var actionColors = {
164
160
  actionColorBorderDestructiveSecondary: '#c84535',
165
161
  actionColorBorderDestructiveSecondaryActive: '#a1382b',
166
162
  actionColorBorderDestructiveSecondaryDisabled: '#f5aca3',
167
- actionColorBorderDestructiveSecondaryHover: '#a1382b'
163
+ actionColorBorderDestructiveSecondaryHover: '#a1382b',
164
+ actionColorContentPrimary: contentColors.contentColorInverted,
165
+ actionColorContentPrimaryDisabled: contentColors.contentColorInverted,
166
+ actionColorContentSecondary: contentColors.contentColorActive,
167
+ actionColorContentSecondaryDisabled: contentColors.contentColorDisabled,
168
+ actionColorContentSubtleActive: contentColors.contentColorAccentStrong,
169
+ actionColorContentSubtleHover: contentColors.contentColorAccentStrong,
170
+ actionColorContentStandalone: contentColors.contentColorAccent,
171
+ actionColorContentStandaloneActive: contentColors.contentColorAccentStrong,
172
+ actionColorContentStandaloneDisabled: contentColors.contentColorAccentWeak,
173
+ actionColorContentStandaloneHover: contentColors.contentColorAccentStrong,
174
+ actionColorContentDestructive: contentColors.contentColorInverted,
175
+ actionColorContentDestructiveDisabled: contentColors.contentColorInverted,
176
+ actionColorContentDestructiveSecondary: contentColors.contentColorNegative,
177
+ actionColorContentDestructiveSecondaryDisabled: contentColors.contentColorNegativeWeak
168
178
  };
169
179
  var interactiveColors = {
170
180
  interactiveColorBorder: deprecatedEnterpriseColors.gray60,
@@ -222,6 +232,11 @@ var zindexes = {
222
232
  zindexToastMessages: 2000
223
233
  };
224
234
  var deprecated = {
235
+ contentColorInfo: '#006d9c',
236
+ // @eprecated, SUI-8251
237
+ contentColorNegativeStrong: '#812d22',
238
+ contentColorPositive: '#307b30',
239
+ contentColorWarning: '#7d600f',
225
240
  backgroundColor: neutralColors.white,
226
241
  // @deprecated SUI-6656
227
242
  backgroundColorHover: deprecatedEnterpriseColors.gray96,
package/index.js CHANGED
@@ -14,7 +14,14 @@ var _exportNames = {
14
14
  useSplunkTheme: true,
15
15
  withSplunkTheme: true,
16
16
  variables: true,
17
- clearAllCaches: true
17
+ clearAllCaches: true,
18
+ unstable_designTokens: true,
19
+ unstable_designTokensColors: true,
20
+ unstable_designTokensDataViz: true,
21
+ unstable_designTokensDeprecated: true,
22
+ unstable_designTokensElevation: true,
23
+ unstable_designTokensSpacingSizing: true,
24
+ unstable_designTokensTypography: true
18
25
  };
19
26
  Object.defineProperty(exports, "getSettingsFromThemedProps", {
20
27
  enumerable: true,
@@ -82,6 +89,48 @@ Object.defineProperty(exports, "clearAllCaches", {
82
89
  return _clearAllCaches.clearAllCaches;
83
90
  }
84
91
  });
92
+ Object.defineProperty(exports, "unstable_designTokens", {
93
+ enumerable: true,
94
+ get: function get() {
95
+ return _designTokens["default"];
96
+ }
97
+ });
98
+ Object.defineProperty(exports, "unstable_designTokensColors", {
99
+ enumerable: true,
100
+ get: function get() {
101
+ return _colors["default"];
102
+ }
103
+ });
104
+ Object.defineProperty(exports, "unstable_designTokensDataViz", {
105
+ enumerable: true,
106
+ get: function get() {
107
+ return _dataViz["default"];
108
+ }
109
+ });
110
+ Object.defineProperty(exports, "unstable_designTokensDeprecated", {
111
+ enumerable: true,
112
+ get: function get() {
113
+ return _deprecated["default"];
114
+ }
115
+ });
116
+ Object.defineProperty(exports, "unstable_designTokensElevation", {
117
+ enumerable: true,
118
+ get: function get() {
119
+ return _elevation["default"];
120
+ }
121
+ });
122
+ Object.defineProperty(exports, "unstable_designTokensSpacingSizing", {
123
+ enumerable: true,
124
+ get: function get() {
125
+ return _spacingSizing["default"];
126
+ }
127
+ });
128
+ Object.defineProperty(exports, "unstable_designTokensTypography", {
129
+ enumerable: true,
130
+ get: function get() {
131
+ return _typography["default"];
132
+ }
133
+ });
85
134
  var _getSettingsFromThemedProps = _interopRequireDefault(require("./getSettingsFromThemedProps"));
86
135
  var _getTheme = _interopRequireDefault(require("./getTheme"));
87
136
  var _mixins = _interopRequireDefault(require("./mixins"));
@@ -104,4 +153,11 @@ Object.keys(_types).forEach(function (key) {
104
153
  }
105
154
  });
106
155
  });
156
+ var _designTokens = _interopRequireDefault(require("./design-tokens"));
157
+ var _colors = _interopRequireDefault(require("./design-tokens/colors"));
158
+ var _dataViz = _interopRequireDefault(require("./design-tokens/dataViz"));
159
+ var _deprecated = _interopRequireDefault(require("./design-tokens/deprecated"));
160
+ var _elevation = _interopRequireDefault(require("./design-tokens/elevation"));
161
+ var _spacingSizing = _interopRequireDefault(require("./design-tokens/spacing-sizing"));
162
+ var _typography = _interopRequireDefault(require("./design-tokens/typography"));
107
163
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
package/mixins/prose.js CHANGED
@@ -9,7 +9,7 @@ var _variables = _interopRequireDefault(require("../variables"));
9
9
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
10
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
11
11
  function _templateObject() {
12
- var data = _taggedTemplateLiteral(["\n /* TODO: should this also be a variable? */\n min-width: 34ch;\n max-width: ", ";\n\n /*\n * Word spacing: 0.16em\n * Letter spacing (i.e., tracking): 0.12em\n */\n\n /*\n * Style all block-level elements to be 1.5 margin-bottom by default\n * wcag requirement 1.4.12\n */\n & *:is(", "):not(:last-child) {\n margin-block-end: 1lh;\n }\n\n /*\n * Separate h1 and h2 into individual rules to avoid ts-styled-plugin\u2019s parser\n * error on comma-separated, multi-line interpolations at the start of a selector.\n */\n ", ":where(h1):not(:first-child){\n margin-block-start: 1lh;\n }\n\n ", ":where(h2):not(:first-child) {\n margin-block-start: 1lh;\n }\n\n ", ":where(img) {\n max-width: 100%;\n }\n\n ", ":where(ol), ", ":where(ul) {\n padding-inline-start: 2rem;\n }\n "]);
12
+ var data = _taggedTemplateLiteral(["\n /* TODO: should this also be a variable? */\n min-width: 34ch;\n max-width: ", ";\n\n /*\n * Word spacing: 0.16em\n * Letter spacing (i.e., tracking): 0.12em\n */\n\n /*\n * Style all block-level elements to be 1.5 margin-bottom by default\n * wcag requirement 1.4.12\n */\n & *:is(", "):not(:last-child) {\n margin-block-end: 1lh;\n }\n\n /*\n * Separate h1 and h2 into individual rules to avoid ts-styled-plugin\u2019s parser\n * error on comma-separated, multi-line interpolations at the start of a selector.\n */\n ", ":where(h1):not(:first-child) {\n margin-block-start: 1lh;\n }\n\n ", ":where(h2):not(:first-child) {\n margin-block-start: 1lh;\n }\n\n ", ":where(img) {\n max-width: 100%;\n }\n\n ", ":where(ol), ", ":where(ul) {\n padding-inline-start: 2rem;\n }\n "]);
13
13
  _templateObject = function _templateObject() {
14
14
  return data;
15
15
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splunk/themes",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Theme variables and mixins for the Splunk design language",
5
5
  "main": "./index.js",
6
6
  "types": "./types/index.d.ts",
@@ -14,6 +14,7 @@
14
14
  "docs:start:external": "webpack serve --config docs.gen.webpack.config.js",
15
15
  "lint": "eslint src --ext \".ts,.tsx,.js,.jsx\"",
16
16
  "lint:ci": "yarn run lint -- -f junit -o test-reports/lint-results.xml",
17
+ "lint:fix": "yarn run lint --fix",
17
18
  "start": "yarn babel --watch",
18
19
  "test": "jest",
19
20
  "test:watch": "jest --watch",
@@ -78,7 +79,7 @@
78
79
  "@storybook/manager-api": "^7.6.20",
79
80
  "@storybook/react": "^7.6.20",
80
81
  "@storybook/theming": "^7.6.20",
81
- "@testing-library/dom": "^10.4.0",
82
+ "@testing-library/dom": "^10.4.1",
82
83
  "@testing-library/jest-dom": "^6.6.3",
83
84
  "@testing-library/react": "^16.3.0",
84
85
  "@types/react": "^18.2.0",
@@ -92,11 +93,14 @@
92
93
  "eslint-config-prettier": "^9.1.0",
93
94
  "eslint-import-resolver-webpack": "^0.13.4",
94
95
  "eslint-plugin-import": "^2.30.1",
96
+ "eslint-plugin-jest": "^28.8.3",
97
+ "eslint-plugin-jest-dom": "^5.4.0",
95
98
  "eslint-plugin-jsx-a11y": "^6.10.0",
96
99
  "eslint-plugin-react": "^7.36.1",
97
100
  "eslint-plugin-react-hooks": "^4.6.2",
98
- "jest": "^29.7.0",
99
- "jest-environment-jsdom": "^29.7.0",
101
+ "eslint-plugin-testing-library": "^6.3.0",
102
+ "jest": "^30.1.3",
103
+ "jest-environment-jsdom": "^30.1.2",
100
104
  "jest-styled-components": "^7.0.8",
101
105
  "react": "^18.2.0",
102
106
  "styled-components": "^5.3.10",
package/prisma/dark.js CHANGED
@@ -34,14 +34,10 @@ var contentColors = {
34
34
  contentColorActive: '#fafafa',
35
35
  contentColorDefault: '#b5b5b5',
36
36
  contentColorDisabled: '#6b6b6b',
37
- contentColorInfo: '#61cafa',
38
37
  contentColorInverted: '#000000',
39
38
  contentColorMuted: '#909090',
40
39
  contentColorNegative: '#ff5252',
41
- contentColorNegativeStrong: '#ff9e9e',
42
40
  contentColorNegativeWeak: '#561a1a',
43
- contentColorPositive: '#85f415',
44
- contentColorWarning: '#f49106',
45
41
  contentColorLink: '#3993ff'
46
42
  };
47
43
  var actionColors = {
@@ -72,7 +68,21 @@ var actionColors = {
72
68
  actionColorBorderDestructiveSecondary: '#ff4242',
73
69
  actionColorBorderDestructiveSecondaryActive: '#ff6b6b',
74
70
  actionColorBorderDestructiveSecondaryDisabled: '#561a1a',
75
- actionColorBorderDestructiveSecondaryHover: '#ff6b6b'
71
+ actionColorBorderDestructiveSecondaryHover: '#ff6b6b',
72
+ actionColorContentPrimary: contentColors.contentColorInverted,
73
+ actionColorContentPrimaryDisabled: contentColors.contentColorInverted,
74
+ actionColorContentSecondary: contentColors.contentColorActive,
75
+ actionColorContentSecondaryDisabled: contentColors.contentColorDisabled,
76
+ actionColorContentSubtleActive: contentColors.contentColorAccentStrong,
77
+ actionColorContentSubtleHover: contentColors.contentColorAccentStrong,
78
+ actionColorContentStandalone: contentColors.contentColorAccent,
79
+ actionColorContentStandaloneActive: contentColors.contentColorAccentStrong,
80
+ actionColorContentStandaloneDisabled: contentColors.contentColorAccentWeak,
81
+ actionColorContentStandaloneHover: contentColors.contentColorAccentStrong,
82
+ actionColorContentDestructive: contentColors.contentColorInverted,
83
+ actionColorContentDestructiveDisabled: contentColors.contentColorInverted,
84
+ actionColorContentDestructiveSecondary: contentColors.contentColorNegative,
85
+ actionColorContentDestructiveSecondaryDisabled: contentColors.contentColorNegativeWeak
76
86
  };
77
87
  var interactiveColors = {
78
88
  interactiveColorBorder: 'rgba(255, 255, 255, 0.5)',
@@ -144,6 +154,11 @@ var syntaxColors = {
144
154
  syntaxTeal: '#45d4ba'
145
155
  };
146
156
  var deprecated = {
157
+ contentColorInfo: '#61cafa',
158
+ // @deprecated, SUI-8251
159
+ contentColorNegativeStrong: '#ff9e9e',
160
+ contentColorPositive: '#85f415',
161
+ contentColorWarning: '#f49106',
147
162
  accentColorPositive: '#85f415',
148
163
  // statusColorNormal
149
164
  accentColorWarning: '#f49106',
package/prisma/light.js CHANGED
@@ -34,14 +34,10 @@ var contentColors = {
34
34
  contentColorActive: '#2c2c2c',
35
35
  contentColorDefault: '#4d4d4d',
36
36
  contentColorDisabled: '#878787',
37
- contentColorInfo: '#006be5',
38
37
  contentColorInverted: '#ffffff',
39
38
  contentColorMuted: '#6b6b6b',
40
39
  contentColorNegative: '#e00000',
41
- contentColorNegativeStrong: '#7a0000',
42
40
  contentColorNegativeWeak: '#ff9999',
43
- contentColorPositive: '#407a06',
44
- contentColorWarning: '#c97705',
45
41
  contentColorLink: '#0264d7'
46
42
  };
47
43
  var actionColors = {
@@ -72,7 +68,21 @@ var actionColors = {
72
68
  actionColorBorderDestructiveSecondary: '#e00000',
73
69
  actionColorBorderDestructiveSecondaryActive: '#a30000',
74
70
  actionColorBorderDestructiveSecondaryDisabled: '#ff9999',
75
- actionColorBorderDestructiveSecondaryHover: '#a30000'
71
+ actionColorBorderDestructiveSecondaryHover: '#a30000',
72
+ actionColorContentPrimary: contentColors.contentColorInverted,
73
+ actionColorContentPrimaryDisabled: contentColors.contentColorInverted,
74
+ actionColorContentSecondary: contentColors.contentColorActive,
75
+ actionColorContentSecondaryDisabled: contentColors.contentColorDisabled,
76
+ actionColorContentSubtleActive: contentColors.contentColorAccentStrong,
77
+ actionColorContentSubtleHover: contentColors.contentColorAccentStrong,
78
+ actionColorContentStandalone: contentColors.contentColorAccent,
79
+ actionColorContentStandaloneActive: contentColors.contentColorAccentStrong,
80
+ actionColorContentStandaloneDisabled: contentColors.contentColorAccentWeak,
81
+ actionColorContentStandaloneHover: contentColors.contentColorAccentStrong,
82
+ actionColorContentDestructive: contentColors.contentColorInverted,
83
+ actionColorContentDestructiveDisabled: contentColors.contentColorInverted,
84
+ actionColorContentDestructiveSecondary: contentColors.contentColorNegative,
85
+ actionColorContentDestructiveSecondaryDisabled: contentColors.contentColorNegativeWeak
76
86
  };
77
87
  var interactiveColors = {
78
88
  interactiveColorBorder: 'rgba(0, 0, 0, 0.48)',
@@ -144,6 +154,11 @@ var syntaxColors = {
144
154
  syntaxTeal: '#1b7464'
145
155
  };
146
156
  var deprecated = {
157
+ contentColorInfo: '#006be5',
158
+ // @deprecated, SUI-8251
159
+ contentColorNegativeStrong: '#7a0000',
160
+ contentColorPositive: '#407a06',
161
+ contentColorWarning: '#c97705',
147
162
  accentColorPositive: '#407a06',
148
163
  // statusColorNormal
149
164
  accentColorWarning: '#c97705',
@@ -72,6 +72,7 @@ var mapMagneticCategoricalColors = function mapMagneticCategoricalColors() {
72
72
  var magneticTypography = {
73
73
  fontFamily: "Inter, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",
74
74
  fontFamilyTitle: "'Sharp Sans', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",
75
+ sansFontFamily: "Inter, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",
75
76
  monoFontFamily: "'Roboto Mono', ui-monospace, 'Courier New', Menlo, Monaco"
76
77
  };
77
78
  var splunkMagneticThemeCustomizer = function splunkMagneticThemeCustomizer(currentTheme) {
@@ -127,6 +128,20 @@ var splunkMagneticThemeCustomizer = function splunkMagneticThemeCustomizer(curre
127
128
  actionColorDestructive: pickMagnetic('negative-bg-default'),
128
129
  actionColorDestructiveStrong: pickMagnetic('negative-bg-strong-default'),
129
130
  actionColorDestructiveWeak: pickMagnetic('negative-bg-weak-default'),
131
+ actionColorContentPrimary: pickMagnetic('interact-text-in-default'),
132
+ actionColorContentPrimaryDisabled: pickMagnetic('interact-text-in-disabled'),
133
+ actionColorContentSecondary: pickMagnetic('interact-text-default'),
134
+ actionColorContentSecondaryDisabled: pickMagnetic('interact-text-disabled'),
135
+ actionColorContentSubtleActive: pickMagnetic('interact-text-active'),
136
+ actionColorContentSubtleHover: pickMagnetic('interact-text-hover'),
137
+ actionColorContentStandalone: pickMagnetic('interact-text-default'),
138
+ actionColorContentStandaloneActive: pickMagnetic('interact-text-active'),
139
+ actionColorContentStandaloneDisabled: pickMagnetic('interact-text-disabled'),
140
+ actionColorContentStandaloneHover: pickMagnetic('interact-text-hover'),
141
+ actionColorContentDestructive: pickMagnetic('negative-text-in-default'),
142
+ actionColorContentDestructiveDisabled: pickMagnetic('negative-text-in-disabled'),
143
+ actionColorContentDestructiveSecondary: pickMagnetic('negative-text-default'),
144
+ actionColorContentDestructiveSecondaryDisabled: pickMagnetic('negative-text-disabled'),
130
145
  backgroundColorDialog: pickMagnetic('control-bg-weak-default'),
131
146
  backgroundColorInverted: pickMagnetic('inverse-bg-default'),
132
147
  backgroundColorPage: pickMagnetic('base-bg-default'),
@@ -141,8 +156,8 @@ var splunkMagneticThemeCustomizer = function splunkMagneticThemeCustomizer(curre
141
156
  borderRadius: '6px',
142
157
  contentColorActive: pickMagnetic('base-text-default'),
143
158
  contentColorDefault: pickMagnetic('base-text-default'),
144
- contentColorDisabled: pickMagnetic('interact-text-in-disabled'),
145
- contentColorInverted: pickMagnetic('interact-text-in-default'),
159
+ contentColorDisabled: pickMagnetic('base-text-disabled'),
160
+ contentColorInverted: pickMagnetic('base-text-in-default'),
146
161
  contentColorMuted: pickMagnetic('base-text-weak-default'),
147
162
  contentColorNegative: pickMagnetic('negative-text-default'),
148
163
  embossShadow: '0px 2px 5px 0px rgba(0, 0, 0, 0.05)',
@@ -150,7 +165,7 @@ var splunkMagneticThemeCustomizer = function splunkMagneticThemeCustomizer(curre
150
165
  focusShadow: currentTheme.colorScheme === 'light' ? "0 0 0 2px ".concat(_magneticTokensLight["default"]['interact-bg-weak-active'], ",0 0 0 4px ").concat(_magneticTokensLight["default"]['control-border-focus']) : "0 0 0 2px ".concat(_magneticTokensDark["default"]['interact-bg-weak-active'], ",0 0 0 4px ").concat(_magneticTokensDark["default"]['control-border-focus']),
151
166
  inputBorderWidth: '2px',
152
167
  interactiveColorAccent: pickMagnetic('control-bg-strong-default'),
153
- interactiveColorAccentError: pickMagnetic('negative-bg-medium-default'),
168
+ interactiveColorAccentError: pickMagnetic('negative-border-medium-default'),
154
169
  interactiveColorAccentErrorStrong: pickMagnetic('negative-bg-strong-default'),
155
170
  interactiveColorAccentErrorWeak: pickMagnetic('negative-bg-weak-default'),
156
171
  interactiveColorBackground: pickMagnetic('control-bg-default'),
@@ -167,6 +182,9 @@ var splunkMagneticThemeCustomizer = function splunkMagneticThemeCustomizer(curre
167
182
  neutral300: currentTheme.colorScheme === 'light' ? _magneticTokensCore["default"]['neutral-85'] : _magneticTokensCore["default"]['neutral-40'],
168
183
  neutral400: currentTheme.colorScheme === 'light' ? _magneticTokensCore["default"]['neutral-80'] : _magneticTokensCore["default"]['neutral-50'],
169
184
  neutral500: currentTheme.colorScheme === 'light' ? _magneticTokensCore["default"]['neutral-70'] : _magneticTokensCore["default"]['neutral-60'],
185
+ notificationColorNegativeWeak: pickMagnetic('negative-bg-weak-default'),
186
+ notificationColorNegativeStrong: pickMagnetic('negative-bg-strong-default'),
187
+ notificationColorNegative: pickMagnetic('negative-bg-default'),
170
188
  overlayShadow: '0px 4px 12px 0px rgba(0,0,0,0.18)',
171
189
  statusColorHigh: pickMagnetic('negative-icon-default'),
172
190
  statusColorHighStrong: pickMagnetic('negative-border-strong-default'),