@splunk/themes 0.16.2 → 0.16.4
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 +12 -2
- package/enterprise/dark.js +19 -1
- package/enterprise/light.js +9 -9
- package/package.json +2 -2
- package/prisma/dark.js +3 -3
- package/prisma/light.js +9 -9
- package/types/enterprise/dark.d.ts +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
Change Log
|
|
2
2
|
============
|
|
3
3
|
|
|
4
|
+
0.16.4 - Dec 5, 2023
|
|
5
|
+
----------
|
|
6
|
+
Bug Fixes:
|
|
7
|
+
* `syntaxColors` have been updated to meet A11y_WCAG 1.4.3 contrast requirements for prisma and enterprise themes (SUI-5750).
|
|
8
|
+
|
|
9
|
+
0.16.3 - October 11, 2023
|
|
10
|
+
----------
|
|
11
|
+
Bug Fixes:
|
|
12
|
+
* This package should now load correctly in Webpack 4 environments (SUI-5802).
|
|
13
|
+
|
|
4
14
|
0.16.2 - October 4, 2023
|
|
5
15
|
----------
|
|
6
16
|
Bug Fixes:
|
|
7
|
-
* `typography` mixin's `title4`, `title5`, and `title6` should now correctly follow the font hierarchy (SUI-5668).
|
|
8
|
-
* `title5` is now larger and bolder than `title6` in Prisma themes.
|
|
17
|
+
* `typography` mixin's `title4`, `title5`, and `title6` should now correctly follow the font hierarchy (SUI-5668).
|
|
18
|
+
* `title5` is now larger and bolder than `title6` in Prisma themes.
|
|
9
19
|
* `title4` it now larger than `title6` in the Enterprise compact theme.
|
|
10
20
|
* `typography`'s mixin's `title5` color has been changed to `active` in prisma theme to match the Splunk Design System.
|
|
11
21
|
|
package/enterprise/dark.js
CHANGED
|
@@ -34,8 +34,26 @@ var dark = {
|
|
|
34
34
|
focusShadowInset: "inset 0 0 1px 1px ".concat(_light["default"].gray25, ", inset 0 0 0 3px ").concat(_light["default"].focusColor),
|
|
35
35
|
draggableBackground: "url('data:image/png;base64,".concat(dragHandleDark, "') 0 0 / 8px 8px repeat")
|
|
36
36
|
};
|
|
37
|
+
/**
|
|
38
|
+
* ## Syntax colors
|
|
39
|
+
* Syntax colors are used only for code blocks.
|
|
40
|
+
*
|
|
41
|
+
* @colorSet verbose alphabetical
|
|
42
|
+
*/
|
|
43
|
+
|
|
44
|
+
var syntaxColors = {
|
|
45
|
+
syntaxBlue: '#6cd0f0',
|
|
46
|
+
syntaxBrown: '#fccf87',
|
|
47
|
+
syntaxGray: '#b5b5b5',
|
|
48
|
+
syntaxGreen: '#cef06c',
|
|
49
|
+
syntaxOrange: '#f7994a',
|
|
50
|
+
syntaxPink: '#f494e5',
|
|
51
|
+
syntaxPurple: '#c99eff',
|
|
52
|
+
syntaxRed: '#fa94aa',
|
|
53
|
+
syntaxTeal: '#45d4ba'
|
|
54
|
+
};
|
|
37
55
|
|
|
38
|
-
var theme = _objectSpread(_objectSpread({}, _light["default"]), dark);
|
|
56
|
+
var theme = _objectSpread(_objectSpread(_objectSpread({}, _light["default"]), dark), syntaxColors);
|
|
39
57
|
|
|
40
58
|
var _default = theme;
|
|
41
59
|
exports["default"] = _default;
|
package/enterprise/light.js
CHANGED
|
@@ -279,19 +279,19 @@ var usageColors = {
|
|
|
279
279
|
*/
|
|
280
280
|
|
|
281
281
|
var syntaxColors = {
|
|
282
|
-
syntaxBlue: '#
|
|
282
|
+
syntaxBlue: '#006aa3',
|
|
283
283
|
syntaxBlueLight: '#006d9c',
|
|
284
|
-
syntaxBrown: '#
|
|
285
|
-
syntaxGray: '#
|
|
286
|
-
syntaxGreen: '#
|
|
284
|
+
syntaxBrown: '#905b04',
|
|
285
|
+
syntaxGray: '#5c6773',
|
|
286
|
+
syntaxGreen: '#2f612e',
|
|
287
287
|
syntaxGreenLight: '#5ba383',
|
|
288
|
-
syntaxOrange: '#
|
|
289
|
-
syntaxPink: '#
|
|
290
|
-
syntaxPurple: '#
|
|
288
|
+
syntaxOrange: '#a44b0e',
|
|
289
|
+
syntaxPink: '#b9139e',
|
|
290
|
+
syntaxPurple: '#5317f2',
|
|
291
291
|
syntaxPurpleLight: '#b19cd9',
|
|
292
|
-
syntaxRed: '#
|
|
292
|
+
syntaxRed: '#ca163d',
|
|
293
293
|
syntaxRedLight: '#af575a',
|
|
294
|
-
syntaxTeal: '#
|
|
294
|
+
syntaxTeal: '#1a7060'
|
|
295
295
|
};
|
|
296
296
|
/**
|
|
297
297
|
* ## Shadows
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@splunk/themes",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.4",
|
|
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",
|
|
@@ -99,6 +99,6 @@
|
|
|
99
99
|
"webpack-merge": "^5.9.0"
|
|
100
100
|
},
|
|
101
101
|
"engines": {
|
|
102
|
-
"node": ">=
|
|
102
|
+
"node": ">=14"
|
|
103
103
|
}
|
|
104
104
|
}
|
package/prisma/dark.js
CHANGED
|
@@ -129,12 +129,12 @@ var elevationShadows = {
|
|
|
129
129
|
var syntaxColors = {
|
|
130
130
|
syntaxBlue: '#6cd0f0',
|
|
131
131
|
syntaxBrown: '#fccf87',
|
|
132
|
-
syntaxGray: '#
|
|
132
|
+
syntaxGray: '#909090',
|
|
133
133
|
syntaxGreen: '#cef06c',
|
|
134
134
|
syntaxOrange: '#f7933f',
|
|
135
135
|
syntaxPink: '#f494e5',
|
|
136
|
-
syntaxPurple: '#
|
|
137
|
-
syntaxRed: '#
|
|
136
|
+
syntaxPurple: '#ab74f1',
|
|
137
|
+
syntaxRed: '#e9627f',
|
|
138
138
|
syntaxTeal: '#45d4ba'
|
|
139
139
|
};
|
|
140
140
|
|
package/prisma/light.js
CHANGED
|
@@ -127,15 +127,15 @@ var elevationShadows = {
|
|
|
127
127
|
*/
|
|
128
128
|
|
|
129
129
|
var syntaxColors = {
|
|
130
|
-
syntaxBlue: '#
|
|
131
|
-
syntaxBrown: '#
|
|
132
|
-
syntaxGray: '#
|
|
133
|
-
syntaxGreen: '#
|
|
134
|
-
syntaxOrange: '#
|
|
135
|
-
syntaxPink: '#
|
|
136
|
-
syntaxPurple: '#
|
|
137
|
-
syntaxRed: '#
|
|
138
|
-
syntaxTeal: '#
|
|
130
|
+
syntaxBlue: '#0f7594',
|
|
131
|
+
syntaxBrown: '#9f6404',
|
|
132
|
+
syntaxGray: '#6b6b6b',
|
|
133
|
+
syntaxGreen: '#5c780c',
|
|
134
|
+
syntaxOrange: '#ba4f08',
|
|
135
|
+
syntaxPink: '#cc15ae',
|
|
136
|
+
syntaxPurple: '#7b4df5',
|
|
137
|
+
syntaxRed: '#db1e47',
|
|
138
|
+
syntaxTeal: '#1d7c6b'
|
|
139
139
|
};
|
|
140
140
|
|
|
141
141
|
var theme = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, accentColors), statusColors), elevationShadows), backgroundColors), contentColors), neutralColors), interactiveColors), syntaxColors);
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
declare const theme: {
|
|
2
|
+
syntaxBlue: string;
|
|
3
|
+
syntaxBrown: string;
|
|
4
|
+
syntaxGray: string;
|
|
5
|
+
syntaxGreen: string;
|
|
6
|
+
syntaxOrange: string;
|
|
7
|
+
syntaxPink: string;
|
|
8
|
+
syntaxPurple: string;
|
|
9
|
+
syntaxRed: string;
|
|
10
|
+
syntaxTeal: string;
|
|
2
11
|
backgroundColor: string;
|
|
3
12
|
backgroundColorHover: string;
|
|
4
13
|
borderColor: string;
|
|
@@ -35,19 +44,10 @@ declare const theme: {
|
|
|
35
44
|
serifFontFamily: string;
|
|
36
45
|
monoFontFamily: string;
|
|
37
46
|
fontFamily: string;
|
|
38
|
-
syntaxBlue: string;
|
|
39
47
|
syntaxBlueLight: string;
|
|
40
|
-
syntaxBrown: string;
|
|
41
|
-
syntaxGray: string;
|
|
42
|
-
syntaxGreen: string;
|
|
43
48
|
syntaxGreenLight: string;
|
|
44
|
-
syntaxOrange: string;
|
|
45
|
-
syntaxPink: string;
|
|
46
|
-
syntaxPurple: string;
|
|
47
49
|
syntaxPurpleLight: string;
|
|
48
|
-
syntaxRed: string;
|
|
49
50
|
syntaxRedLight: string;
|
|
50
|
-
syntaxTeal: string;
|
|
51
51
|
diverging1ColorA: string;
|
|
52
52
|
diverging1ColorB: string;
|
|
53
53
|
diverging2ColorA: string;
|