@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 CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@symbo.ls/default-config",
3
- "version": "2.11.249",
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": "9c800fdfdff5d9a49083e7d4f849189a35b8054c"
10
+ "gitHead": "e96a45d1a191dbcd8ee2d02c969398821e1f446d"
11
11
  }
package/src/color.js CHANGED
@@ -23,7 +23,7 @@ export const COLOR = {
23
23
 
24
24
  title: ['--black 1', '--white 1'],
25
25
  caption: ['--gray 1 +16', '--gray4 1'],
26
- paragraph: ['--gray2 1', '--white 1']
26
+ paragraph: ['--gray2 1', '--gray 1 +65']
27
27
  }
28
28
 
29
29
  export const GRADIENT = {
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: 'white .1'
35
+ background: 'green',
36
+ '.color-only': {
37
+ color: 'green'
38
+ }
36
39
  },
37
40
  '@light': {
38
41
  color: 'white',
39
- background: 'blue'
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: '--tertiary',
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': {
package/src/timing.js ADDED
@@ -0,0 +1,8 @@
1
+ 'use strict'
2
+
3
+ export const TIMING = {
4
+ base: 150,
5
+ ratio: 1.333,
6
+ unit: 'ms',
7
+ subSequence: true
8
+ }