forked from ocurrent/ocaml-ci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
47 lines (47 loc) · 1.2 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} */
module.exports = {
content: [
"./web-ui/view/**/*.ml"
],
theme: {
extend: {
colors: {
warning: {
50: "#FFFAEB",
500: "#F79009",
},
gray: {
850: "#1B263D",
}
},
typography (theme) {
return {
DEFAULT: {
css: {
'code::before': {
content: 'none', // don’t generate the pseudo-element
// content: '""', // this is an alternative: generate pseudo element using an empty string
},
'code::after': {
content: 'none'
},
code: {
color: theme('colors.slate.500'),
backgroundColor: theme('colors.stone.100'),
borderRadius: theme('borderRadius.DEFAULT'),
paddingLeft: theme('spacing[1.5]'),
paddingRight: theme('spacing[1.5]'),
paddingTop: theme('spacing.1'),
paddingBottom: theme('spacing.1'),
},
}
}
}
}
},
},
plugins: [
require('@tailwindcss/typography'),
// ...
],
}