@symbo.ls/default-config 2.11.249 → 2.11.265
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/color.js +1 -1
- package/src/index.js +2 -1
- package/src/theme.js +18 -3
- package/src/timing.js +8 -0
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.265",
|
|
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": "e96a45d1a191dbcd8ee2d02c969398821e1f446d"
|
|
11
11
|
}
|
package/src/color.js
CHANGED
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'
|
|
@@ -134,7 +140,16 @@ const STATES = {
|
|
|
134
140
|
}
|
|
135
141
|
|
|
136
142
|
const UI = {
|
|
137
|
-
field:
|
|
143
|
+
field: {
|
|
144
|
+
'@light': {
|
|
145
|
+
color: 'white',
|
|
146
|
+
background: 'gradient-light'
|
|
147
|
+
},
|
|
148
|
+
'@dark': {
|
|
149
|
+
color: 'white',
|
|
150
|
+
background: 'gradient-dark-active'
|
|
151
|
+
}
|
|
152
|
+
},
|
|
138
153
|
|
|
139
154
|
label: {
|
|
140
155
|
'@dark': {
|