-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathtailwind.config.js
87 lines (86 loc) · 2.31 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
80
81
82
83
84
85
86
87
/** @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/javascript/components/**/*.vue",
],
theme: {
fontFamily: {
serif: ["SourceSerifPro", "JuZhenJF", "NotoSerifSC"],
sans: [
"InterTight",
"NotoSansSC",
"BlinkMacSystemFont",
"Segoe UI",
"Arial",
"Helvetica",
"Helvetica Neue",
"sans-serif",
],
mono: [
"JetBrainsMono",
"Consolas",
"Menlo",
"Monaco",
"Andale Mono",
"Ubuntu Mono",
"monospace",
],
},
extend: {
boxShadow: {
'elevation-xs': '0 0 0 1px rgba(17,20,24,.15)',
'elevation-sm': '0 0 0 1px rgba(17,20,24,.1),0 1px 1px rgba(17,20,24,.2)',
'elevation': '0 0 0 1px rgba(17,20,24,.1),0 1px 1px rgba(17,20,24,.2),0 2px 6px rgba(17,20,24,.2)',
'elevation-md': '0 0 0 1px rgba(17,20,24,.1),0 2px 4px rgba(17,20,24,.2),0 8px 24px rgba(17,20,24,.2)',
'elevation-lg': '0 0 0 1px rgba(17,20,24,.1),0 4px 8px rgba(17,20,24,.2),0 18px 46px 6px rgba(17,20,24,.2)',
},
screens: {
'xs': '500px',
'std': '750px'
},
dropShadow: {
'text': '0 0px 3px rgba(256, 256, 256, 1)'
},
aspectRatio: {
'21/9': '21 / 9',
},
colors: {
decoration: {
blue: "#397CFF",
red: "#FF5454",
orange: "#FFA132",
purple: "#944BFD",
green: "#38BF09",
black: "#5B564E"
}
}
},
},
variants: {
boxShadow: ['hover', 'active'], // Enable hover and active states for box-shadow
},
plugins: [
require("@tailwindcss/typography"),
require("@tailwindcss/forms"),
require("@tailwindcss/aspect-ratio"),
],
safelist: [
"text-decoration-blue",
"text-decoration-red",
"text-decoration-orange",
"text-decoration-purple",
"text-decoration-green",
"text-decoration-black",
"bg-decoration-blue",
"bg-decoration-red",
"bg-decoration-orange",
"bg-decoration-purple",
"bg-decoration-green",
"bg-decoration-black",
]
};