-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
50 lines (45 loc) · 1.35 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
// See the Tailwind default theme values here:
// https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js
const colors = require('tailwindcss/colors')
const defaultTheme = require('tailwindcss/defaultTheme')
/** @type {import('tailwindcss').Config */
module.exports = {
darkMode: 'class',
plugins: [
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
],
content: [
'./app/components/**/*.rb',
'./app/helpers/**/*.rb',
'./app/javascript/**/*.js',
'./app/views/**/*.erb',
'./app/views/**/*.haml',
'./app/views/**/*.slim',
'./lib/jumpstart/app/views/**/*.erb',
'./lib/jumpstart/app/helpers/**/*.rb',
],
// All the default values will be compiled unless they are overridden below
theme: {
// Extend (add to) the default theme in the `extend` key
extend: {
// Create your own at: https://javisperez.github.io/tailwindcolorshades
colors: {
primary: colors.blue,
secondary: colors.emerald,
tertiary: colors.gray,
danger: colors.red,
gray: colors.neutral,
"code-400": "#fefcf9",
"code-600": "#3c455b",
},
fontFamily: {
sans: ['Inter', ...defaultTheme.fontFamily.sans],
},
},
},
// Opt-in to TailwindCSS future changes
future: {
},
}