-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
37 lines (36 loc) · 978 Bytes
/
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
import { scopedPreflightStyles, isolateInsideOfContainer } from 'tailwindcss-scoped-preflight';
module.exports = {
// important: true,
content: [
"./lib/roda/debug_bar/views/*.erb",
"./lib/roda/debug_bar/views/debug_bar/*.erb",
],
theme: {
extend: {
fontFamily: {
mono: ['Menlo', 'Monaco', 'Consolas', '"Liberation Mono"', 'Courier New', 'monospace'],
},
colors: {
ruby: {
50: "#faebea",
100: "#efc0be",
200: "#e8a29e",
300: "#dd7772",
400: "#d65d57",
500: "#cc342d",
600: "#ba2f29",
700: "#912520",
800: "#701d19",
900: "#561613",
},
},
},
},
plugins: [
scopedPreflightStyles({
isolationStrategy: isolateInsideOfContainer('.debug-bar', {
except: '.no-tailwind', // optional, to exclude some elements under .twp from being preflighted, like external markup
}),
}),
],
};