@onereach/styles 2.27.0 → 2.28.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.
|
@@ -14,6 +14,7 @@ const {
|
|
|
14
14
|
const {
|
|
15
15
|
SpacePatterns: spacingTokens,
|
|
16
16
|
colors: colorTokens,
|
|
17
|
+
Gradients: gradientTokens,
|
|
17
18
|
BorderRadiuses: borderRadiusTokens,
|
|
18
19
|
Borders: borderWidthTokens,
|
|
19
20
|
Shadows: boxShadowTokens,
|
|
@@ -40,6 +41,10 @@ module.exports = {
|
|
|
40
41
|
'transparent': 'transparent',
|
|
41
42
|
},
|
|
42
43
|
|
|
44
|
+
backgroundImage: {
|
|
45
|
+
...parseColorTokens(gradientTokens, ['generic', 'background']),
|
|
46
|
+
},
|
|
47
|
+
|
|
43
48
|
textColor: {
|
|
44
49
|
...parseColorTokens(colorTokens, ['generic', 'text']),
|
|
45
50
|
'transparent': 'transparent',
|
|
@@ -76,6 +81,7 @@ module.exports = {
|
|
|
76
81
|
animation: {
|
|
77
82
|
'circular-loader': 'circular-loader 1400ms linear infinite',
|
|
78
83
|
'linear-loader': 'linear-loader 1400ms linear infinite',
|
|
84
|
+
'skeleton-loader': 'skeleton-loader 1.5s linear 0s infinite normal forwards',
|
|
79
85
|
},
|
|
80
86
|
|
|
81
87
|
keyframes: {
|
|
@@ -110,6 +116,16 @@ module.exports = {
|
|
|
110
116
|
strokeDashoffset: '-250%',
|
|
111
117
|
},
|
|
112
118
|
},
|
|
119
|
+
|
|
120
|
+
'skeleton-loader': {
|
|
121
|
+
'0%': {
|
|
122
|
+
backgroundPosition: '100% 50%',
|
|
123
|
+
},
|
|
124
|
+
|
|
125
|
+
'100%': {
|
|
126
|
+
backgroundPosition: '-100% 50%',
|
|
127
|
+
},
|
|
128
|
+
},
|
|
113
129
|
},
|
|
114
130
|
|
|
115
131
|
borderRadius: {
|