-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
50 lines (50 loc) · 1.92 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
const defaultTheme = require("tailwindcss/defaultTheme")
module.exports = {
content: [
"./app/helpers/**/*.rb",
"./app/javascript/**/*.js",
"./app/views/**/*.html.erb",
],
safelist: [{ pattern: /form-.+/ }, { pattern: /btn-.+/ }],
theme: {
extend: {
fontFamily: {
sans: ["Inter", ...defaultTheme.fontFamily.sans],
},
colors: {
primary: {
50: "rgb(var(--primary-50) / <alpha-value>)",
100: "rgb(var(--primary-100) / <alpha-value>)",
200: "rgb(var(--primary-200) / <alpha-value>)",
300: "rgb(var(--primary-300) / <alpha-value>)",
400: "rgb(var(--primary-400) / <alpha-value>)",
500: "rgb(var(--primary-500) / <alpha-value>)",
600: "rgb(var(--primary-600) / <alpha-value>)",
700: "rgb(var(--primary-700) / <alpha-value>)",
800: "rgb(var(--primary-800) / <alpha-value>)",
900: "rgb(var(--primary-900) / <alpha-value>)",
950: "rgb(var(--primary-950) / <alpha-value>)",
},
secondary: {
50: "rgb(var(--secondary-50) / <alpha-value>)",
100: "rgb(var(--secondary-100) / <alpha-value>)",
200: "rgb(var(--secondary-200) / <alpha-value>)",
300: "rgb(var(--secondary-300) / <alpha-value>)",
400: "rgb(var(--secondary-400) / <alpha-value>)",
500: "rgb(var(--secondary-500) / <alpha-value>)",
600: "rgb(var(--secondary-600) / <alpha-value>)",
700: "rgb(var(--secondary-700) / <alpha-value>)",
800: "rgb(var(--secondary-800) / <alpha-value>)",
900: "rgb(var(--secondary-900) / <alpha-value>)",
950: "rgb(var(--secondary-950) / <alpha-value>)",
},
},
},
},
plugins: [
require("@tailwindcss/typography"),
require("@tailwindcss/forms"),
// https://github.com/adoxography/tailwind-scrollbar
require("tailwind-scrollbar")({ nocompatible: true }),
],
}