-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
45 lines (40 loc) · 1.27 KB
/
tailwind.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/** @type {import('tailwindcss').Config} */
const colorTextHeader = 'hsl(0, 1%, 16%)';
module.exports = {
content: [
'./app/views/**/*.html.erb',
'./app/helpers/**/*.rb',
'./app/assets/stylesheets/**/*.css',
'./app/javascript/**/*.js',
'./config/initializers/simple_form.rb'
],
theme: {
fontFamily: {
sans: [
'Lato', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Open Sans',
'Helvetica Neue', 'sans-serif'
]
},
colors: {
transparent: 'transparent',
current: 'currentColor',
// Three different text colors
'text-header': colorTextHeader,
'text-body': 'hsl(0, 5%, 25%)',
'text-muted': 'hsl(0, 1%, 44%)',
// Application colors
primary: 'hsl(350, 67%, 50%)',
'primary-rotate': 'hsl(10, 73%, 54%)',
'primary-bg': 'hsl(0, 85%, 96%)',
secondary: 'hsl(101, 45%, 56%)',
'secondary-rotate': 'hsl(120, 45%, 56%)',
tertiary: 'hsl(49, 89%, 64%)',
glint: 'hsl(210, 100%, 82%)',
// Neutral colors
white: 'hsl(0, 0%, 100%)',
background: 'hsl(30, 50%, 98%)',
light: 'hsl(0, 6%, 93%)',
dark: colorTextHeader
}
}
}