Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 7513880

Browse files
authored
Merge pull request #52 from WebDevStudios/feature/26-design-system
Feature/26 design system
2 parents da978d5 + 4e6e521 commit 7513880

File tree

2 files changed

+146
-1
lines changed

2 files changed

+146
-1
lines changed

styles/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44

55
html,
66
body {
7-
@apply dark:bg-gray-900 dark:text-white;
7+
@apply dark:bg-grey-darkest dark:text-white;
88
}

tailwind.config.js

Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,151 @@ module.exports = {
1818
fontFamily: {
1919
sans: ['Libre Franklin', 'sans-serif'],
2020
serif: ['Libre Baskerville', 'serif']
21+
},
22+
fontSize: {
23+
'root-em': '16px',
24+
uber: '7rem',
25+
hero: '5rem',
26+
body: '1.125rem',
27+
sm: '1rem',
28+
caption: '0.875rem',
29+
xs: '0.75rem',
30+
xxs: '0.625rem',
31+
h1: '3rem',
32+
h2: '2.25rem',
33+
h3: '1.875rem',
34+
h4: '1.625rem',
35+
h5: '1.25rem',
36+
lead: '1.5rem'
37+
},
38+
spacing: {
39+
// The px values for spacing are equivalent to their keys.
40+
px: '1px',
41+
0: '0',
42+
4: '0.25rem',
43+
8: '0.5rem',
44+
12: '0.75rem',
45+
16: '1rem',
46+
20: '1.25rem',
47+
24: '1.5rem',
48+
28: '1.75rem',
49+
32: '2rem',
50+
36: '2.25rem',
51+
40: '2.5rem',
52+
44: '2.75rem',
53+
48: '3rem',
54+
52: '3.25rem',
55+
56: '3.5rem',
56+
60: '3.75rem',
57+
64: '4rem',
58+
68: '4.25rem',
59+
72: '4.5rem',
60+
76: '4.75rem',
61+
80: '5rem'
62+
},
63+
colors: {
64+
primary: {
65+
lightest: '#FCD0C4',
66+
lighter: '#F9A189',
67+
light: '#F78161',
68+
DEFAULT: '#F5623A',
69+
dark: '#DD5834',
70+
darker: '#AC4529',
71+
darkest: '#622717'
72+
},
73+
secondary: {
74+
lightest: '#D2E9FA',
75+
lighter: '#A5D4F5',
76+
light: '#62B3EE',
77+
DEFAULT: '#1F93E7',
78+
dark: '#1976B9',
79+
darker: '#104A74',
80+
darkest: '#092C45'
81+
},
82+
tertiary: {
83+
lightest: '#ECECEC',
84+
lighter: '#C6C6C6',
85+
light: '#7A7A7A',
86+
DEFAULT: '#414141',
87+
dark: '#343434',
88+
darker: '#272727',
89+
darkest: '#1A1A1A'
90+
},
91+
success: {
92+
lightest: '#D1EEDD',
93+
lighter: '#A3DDBC',
94+
light: '#5DC389',
95+
DEFAULT: '#18A957',
96+
dark: '#11763D',
97+
darker: '#0A4423',
98+
darkest: '#052211'
99+
},
100+
warning: {
101+
lightest: '#FFF1D7',
102+
lighter: '#FFE4AF',
103+
light: '#FFCF74',
104+
DEFAULT: '#FFBB38',
105+
dark: '#B38327',
106+
darker: '#664B16',
107+
darkest: '#33250B'
108+
},
109+
error: {
110+
lightest: '#F9D0D9',
111+
lighter: '#F2A2B3',
112+
light: '#E95C7B',
113+
DEFAULT: '#DF1642',
114+
dark: '#9C0F2E',
115+
darker: '#2D040D',
116+
darkest: '#2D040D'
117+
},
118+
grey: {
119+
lightest: '#FCFCFC',
120+
lighter: '#E6E6E6',
121+
light: '#939393',
122+
DEFAULT: '#666666',
123+
dark: '#5C5C5C',
124+
darker: '#333333',
125+
darkest: '#212121'
126+
},
127+
white: {
128+
DEFAULT: 'rgba(255,255,255,1)',
129+
90: 'rgba(255,255,255,0.9)',
130+
80: 'rgba(255,255,255,0.8)',
131+
70: 'rgba(255,255,255,0.7)',
132+
60: 'rgba(255,255,255,0.6)',
133+
50: 'rgba(255,255,255,0.5)',
134+
40: 'rgba(255,255,255,0.4)',
135+
30: 'rgba(255,255,255,0.3)',
136+
20: 'rgba(255,255,255,0.2)',
137+
10: 'rgba(255,255,255,0.1)',
138+
5: 'rgba(255,255,255,0.05)'
139+
},
140+
brand: {
141+
android: '#A4C639',
142+
behance: '#1769FF',
143+
dribble: '#EA4C89',
144+
dropbox: '#0061FF',
145+
facebook: '#3B5998',
146+
github: '#4078C0',
147+
hangouts: '#23A061',
148+
instagram: '#4C5FD7',
149+
linkedin: '#0077B5',
150+
medium: '#292929',
151+
meetup: '#EA2245',
152+
messenger: '#1787FB',
153+
paypal: '#253B80',
154+
pinterest: '#CB2027',
155+
producthunt: '#D85537',
156+
shopify: '#96BE4F',
157+
skype: '#00AFF0',
158+
slack: '#6ECADC',
159+
spotify: '#1ED760',
160+
trello: '#117ABD',
161+
twitter: '#00B6F1',
162+
vimeo: '#45BBFF',
163+
whatsapp: '#25E47A',
164+
youtube: '#FF0000'
165+
}
21166
}
22167
}
23168
},

0 commit comments

Comments
 (0)