-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
58 lines (56 loc) · 1.41 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
'use strict'
const colors = require('tailwindcss/colors')
module.exports = {
content: [
'./app/views/**/*.html.erb',
'./app/views/**/*.turbostream.erb',
'./app/helpers/**/*.rb',
'./app/javascript/**/*.js',
'./app/javascript/**/*.tsx',
'./app/javascript/**/*.ts',
'./config/initializers/simple_form_tailwind.rb',
],
theme: {
extend: {
borderColor: (theme) => ({
DEFAULT: theme('colors.red.200', 'currentColor'),
}),
colors: {
gray: colors.neutral,
},
fill: {
none: 'none',
black: colors.black,
white: colors.white,
gray: colors.neutral,
red: colors.red,
yellow: colors.amber,
green: colors.emerald,
blue: colors.blue,
indigo: colors.indigo,
purple: colors.violet,
pink: colors.pink,
},
ringColor: (theme) => ({
DEFAULT: theme('colors.red.500'),
}),
stroke: {
current: 'currentColor',
black: colors.black,
white: colors.white,
gray: colors.neutral,
red: colors.red,
yellow: colors.amber,
green: colors.emerald,
blue: colors.blue,
indigo: colors.indigo,
purple: colors.violet,
pink: colors.pink,
},
strokeWidth: {
1.5: '1.5',
},
},
},
plugins: [require('@tailwindcss/forms'), require('@tailwindcss/typography')],
}