forked from adrienpoly/rubyvideo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
79 lines (78 loc) · 1.87 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
const colors = require('tailwindcss/colors')
const defaultTheme = require('daisyui/src/theming/themes.js')['[data-theme=light]']
module.exports = {
content: [
'./app/views/**/*.html.erb',
'./app/components/**/*',
'./app/helpers/**/*.rb',
'./app/assets/stylesheets/**/*.css',
'./app/javascript/**/*.js',
'./config/initializers/heroicon.rb'
],
theme: {
container: {
center: true,
padding: {
DEFAULT: '1rem',
sm: '1rem'
// lg: "4rem",
// xl: "5rem",
// "2xl": "6rem",
}
},
extend: {
// this is legacy tailwind config, we will try to replace it by the daisyui theme
colors: {
transparent: 'transparent',
current: 'currentColor',
gray: '#7b6f72',
'gray-light': '#A39E9E',
'gray-lightest': '#f9fafb',
green: '#F0E7E9',
white: colors.white,
dark: '#261B23',
brand: {
DEFAULT: '#D74C47',
lighter: '#FBEEEE'
}
},
keyframes: {
'fade-in': {
'0%': { opacity: '0' },
'100%': { opacity: '1' }
},
'fade-out': {
'0%': { opacity: '1' },
'100%': { opacity: '0' }
}
}
}
},
daisyui: {
logs: false,
themes: [
{
rubyvideoLight: {
...defaultTheme,
'--btn-text-case': 'none',
primary: '#D74C47',
'primary-content': '#ffffff',
secondary: '#FBEEEE',
'secondary-content': '#7b6f72',
accent: '#593db1',
'accent-content': '#ffffff',
neutral: '#261B23',
'neutral-content': '#ffffff'
// 'base-100': '#ffffff',
// info: '#3abff8',
// success: '#36d399',
// warning: '#fbbd23',
// error: '#f87272'
}
}
]
},
plugins: [
require('daisyui')
]
}