@symbo.ls/preview 0.0.57 → 0.0.58

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.
@@ -0,0 +1,115 @@
1
+ 'use strict'
2
+
3
+ const CDN_URL = 'https://byld-symbols.s3.us-east-2.amazonaws.com/fonts/'
4
+
5
+ const COLOR = {
6
+ darkgray: '#161715',
7
+ orange: '#F45825',
8
+ green: '#006547',
9
+ gray: '#756E6A',
10
+ grayContrastful: '#A9A09A',
11
+ white: '#FAF9F8',
12
+ violet: '#4A4ADD',
13
+ lightgray: '#D8CFC5'
14
+ }
15
+
16
+ const THEME = {
17
+ document: {
18
+ background: 'black',
19
+ color: 'white'
20
+ },
21
+
22
+ philosophy: {
23
+ background: 'orange',
24
+ color: 'black',
25
+ '.onlyColor': {
26
+ color: 'orange'
27
+ }
28
+ },
29
+
30
+ team: {
31
+ background: 'green',
32
+ color: 'white',
33
+ '.onlyColor': {
34
+ color: 'green'
35
+ }
36
+ },
37
+
38
+ portfolio: {
39
+ background: 'violet',
40
+ color: 'white',
41
+ '.onlyColor': {
42
+ color: 'violet'
43
+ }
44
+ },
45
+
46
+ meta: {
47
+ background: 'lightgray',
48
+ color: 'black',
49
+ borderColor: 'black'
50
+ },
51
+
52
+ link: {
53
+ color: 'white'
54
+ }
55
+ }
56
+
57
+ const FONT = {
58
+ SourceCodePro: [{
59
+ url: CDN_URL + 'SourceCodePro-Regular.woff2',
60
+ fontWeight: 400
61
+ }, {
62
+ url: CDN_URL + 'SourceCodePro-SemiBold.woff2',
63
+ fontWeight: 600
64
+ }]
65
+ }
66
+
67
+ const FONT_FAMILY = {
68
+ Default: {
69
+ isDefault: true,
70
+ value: ['"SourceCodePro"'],
71
+ type: 'serif'
72
+ }
73
+ }
74
+
75
+ const TYPOGRAPHY = {
76
+ base: 16,
77
+ ratio: 1.125,
78
+ subSequence: true,
79
+
80
+ '@mobileL': {
81
+ base: 15,
82
+ ratio: 1.125
83
+ },
84
+
85
+ '@mobileS': {
86
+ base: 14,
87
+ ratio: 1.067
88
+ }
89
+ }
90
+
91
+ const SPACING = {
92
+ range: [-5, +12],
93
+
94
+ '@mobileL': {
95
+ ratio: 1.2
96
+ }
97
+ }
98
+
99
+ const RESET = {
100
+ body: {
101
+ position: 'relative',
102
+ width: '100%',
103
+ height: '100%'
104
+ }
105
+ }
106
+
107
+ export default {
108
+ COLOR,
109
+ THEME,
110
+ FONT,
111
+ FONT_FAMILY,
112
+ TYPOGRAPHY,
113
+ SPACING,
114
+ RESET
115
+ }