-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
47 lines (46 loc) · 1.61 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
/** @type {import('tailwindcss').Config} */
const colors = require('tailwindcss/colors')
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: [
'./app/helpers/**/*.rb',
'./app/assets/stylesheets/**/*.css',
'./app/views/**/*.{html,html.erb,erb}',
'./app/views/devise/**/*.{html,html.erb,erb}',
'./app/frontend/components/**/*.{vue,js,ts,jsx,tsx}',
'./app/frontend/**/*.{vue,js,ts,jsx,tsx}',
'./app/**/*.{vue,js,ts,jsx,tsx}',
],
theme: {
fontFamily: {
'sans': ["BlinkMacSystemFont", "Avenir Next", "Avenir",
"Nimbus Sans L", "Roboto", "Noto Sans", "Segoe UI", "Arial", "Helvetica",
"Helvetica Neue", "sans-serif"],
'mono': ["Consolas", "Menlo", "Monaco", "Andale Mono", "Ubuntu Mono", "monospace"]
},
extend: {
colors: {
theme: {
bg: 'var(--bg)',
'accent-bg': 'var(--accent-bg)',
text: 'var(--text)',
'text-light': 'var(--text-light)',
border: 'var(--border)',
accent: 'var(--accent)',
code: 'var(--code)',
preformatted: 'var(--pre)',
disabled: 'var(--disabled)',
}
}
},
},
corePlugins: {
aspectRatio: false,
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/line-clamp'),
],
}