-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Expand file tree
/
Copy pathtailwind.config.js
More file actions
42 lines (41 loc) · 990 Bytes
/
tailwind.config.js
File metadata and controls
42 lines (41 loc) · 990 Bytes
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
/** @type {import('tailwindcss').Config} */
const colors = require('tailwindcss/colors')
module.exports = {
content: [
'./public/index.html',
'./src/**/*.{js,ts,jsx,tsx,vue}'
],
theme: {
extend: {
colors: {
// Keep Tailwind's full color scales so utilities like `bg-blue-100` work.
// Override the DEFAULT/500 tone to match PicGo's brand colors.
blue: {
...colors.blue,
DEFAULT: '#49B1F5',
500: '#49B1F5'
},
green: {
...colors.green,
DEFAULT: '#44B363',
500: '#44B363'
},
red: {
...colors.red,
DEFAULT: '#F15140',
500: '#F15140'
},
yellow: {
...colors.yellow,
DEFAULT: '#F1BE48',
500: '#F1BE48'
}
}
}
},
plugins: [],
corePlugins: {
// due to https://github.com/tailwindlabs/tailwindcss/issues/6602 - buttons disappear
preflight: false
}
}