@automattic/vip-design-system 0.28.2 → 0.28.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.
|
@@ -64,6 +64,10 @@ var getComponentColors = function getComponentColors(theme, gColor, gVariants) {
|
|
|
64
64
|
icon: (0, _extends2["default"])({}, theme.icon),
|
|
65
65
|
// Form Controls
|
|
66
66
|
input: (0, _extends2["default"])({}, theme.input),
|
|
67
|
+
// Toolbar Controls
|
|
68
|
+
toolbar: (0, _extends2["default"])({}, theme.toolbar),
|
|
69
|
+
// Toolbar Controls
|
|
70
|
+
backgrounds: (0, _extends2["default"])({}, theme.background),
|
|
67
71
|
// Accordion
|
|
68
72
|
accordion: {
|
|
69
73
|
content: {
|
|
@@ -340,7 +344,7 @@ var _default = {
|
|
|
340
344
|
fontWeight: 'body',
|
|
341
345
|
fontSize: 2,
|
|
342
346
|
color: 'text',
|
|
343
|
-
backgroundColor:
|
|
347
|
+
backgroundColor: 'backgrounds.primary',
|
|
344
348
|
'-webkit-font-smoothing': 'antialiased',
|
|
345
349
|
'-moz-osx-font-smoothing': 'grayscale',
|
|
346
350
|
a: {
|
package/package.json
CHANGED
|
@@ -72,6 +72,16 @@ const getComponentColors = ( theme, gColor, gVariants ) => ( {
|
|
|
72
72
|
...theme.input,
|
|
73
73
|
},
|
|
74
74
|
|
|
75
|
+
// Toolbar Controls
|
|
76
|
+
toolbar: {
|
|
77
|
+
...theme.toolbar,
|
|
78
|
+
},
|
|
79
|
+
|
|
80
|
+
// Toolbar Controls
|
|
81
|
+
backgrounds: {
|
|
82
|
+
...theme.background,
|
|
83
|
+
},
|
|
84
|
+
|
|
75
85
|
// Accordion
|
|
76
86
|
accordion: {
|
|
77
87
|
content: {
|
|
@@ -397,7 +407,7 @@ export default {
|
|
|
397
407
|
fontWeight: 'body',
|
|
398
408
|
fontSize: 2,
|
|
399
409
|
color: 'text',
|
|
400
|
-
backgroundColor:
|
|
410
|
+
backgroundColor: 'backgrounds.primary',
|
|
401
411
|
'-webkit-font-smoothing': 'antialiased',
|
|
402
412
|
'-moz-osx-font-smoothing': 'grayscale',
|
|
403
413
|
a: {
|