@symbo.ls/default-config 2.11.261 → 2.11.267
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/package.json +2 -2
- package/src/index.js +2 -1
- package/src/theme.js +12 -5
- package/src/timing.js +8 -0
- package/src/typography.js +1 -8
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/default-config",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.267",
|
|
4
4
|
"source": "src/index.js",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@symbo.ls/default-icons": "latest"
|
|
8
8
|
},
|
|
9
9
|
"license": "MIT",
|
|
10
|
-
"gitHead": "
|
|
10
|
+
"gitHead": "8641ea0f87d8ae5c7c0266f94a38f5714cac1e34"
|
|
11
11
|
}
|
package/src/index.js
CHANGED
|
@@ -7,6 +7,7 @@ import { TYPOGRAPHY } from './typography'
|
|
|
7
7
|
import { SPACING } from './spacing'
|
|
8
8
|
import { FONT, FONT_FAMILY } from './font'
|
|
9
9
|
import { MEDIA } from './media'
|
|
10
|
+
import { TIMING } from './timing'
|
|
10
11
|
|
|
11
12
|
export const DEFAULT_CONFIG = {
|
|
12
13
|
version: '0.0.1',
|
|
@@ -17,7 +18,7 @@ export const DEFAULT_CONFIG = {
|
|
|
17
18
|
SPACING,
|
|
18
19
|
FONT,
|
|
19
20
|
FONT_FAMILY,
|
|
20
|
-
TIMING
|
|
21
|
+
TIMING,
|
|
21
22
|
ICONS,
|
|
22
23
|
MEDIA,
|
|
23
24
|
DEVICES: {},
|
package/src/theme.js
CHANGED
|
@@ -32,11 +32,17 @@ const PRIORITIES = {
|
|
|
32
32
|
secondary: {
|
|
33
33
|
'@dark': {
|
|
34
34
|
color: 'white',
|
|
35
|
-
background: '
|
|
35
|
+
background: 'green',
|
|
36
|
+
'.color-only': {
|
|
37
|
+
color: 'green'
|
|
38
|
+
}
|
|
36
39
|
},
|
|
37
40
|
'@light': {
|
|
38
41
|
color: 'white',
|
|
39
|
-
background: '
|
|
42
|
+
background: 'green',
|
|
43
|
+
'.color-only': {
|
|
44
|
+
color: 'green'
|
|
45
|
+
}
|
|
40
46
|
},
|
|
41
47
|
|
|
42
48
|
'.child': '--primary'
|
|
@@ -127,9 +133,10 @@ const STATES = {
|
|
|
127
133
|
},
|
|
128
134
|
|
|
129
135
|
success: {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
136
|
+
'@dark': {
|
|
137
|
+
color: 'black',
|
|
138
|
+
background: 'green'
|
|
139
|
+
}
|
|
133
140
|
}
|
|
134
141
|
}
|
|
135
142
|
|
package/src/timing.js
ADDED