-
-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathtailwind.config.js
More file actions
52 lines (42 loc) · 1.2 KB
/
tailwind.config.js
File metadata and controls
52 lines (42 loc) · 1.2 KB
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
const defaultTheme = require('tailwindcss/defaultTheme')
const defaultColors = require('tailwindcss/colors')
module.exports = {
content: [
'./components/**/*.{js,vue,ts}',
'./layouts/**/*.vue',
'./pages/**/*.vue',
'./plugins/**/*.{js,ts}',
// @see https://github.com/nuxt/nuxt/issues/13278#issuecomment-1397293398
// './nuxt.config.{js,ts}',
'error.vue',
'./app.vue'
],
theme: {
extend: {
colors: {
primary: defaultColors.sky,
accent: defaultColors.violet,
/**
* Used for the background
*/
base: {
// TODO: remember that borders, and backgrounds use 20% opacity: border-base-0/20
// TODO: E.g: border-base-0/20 & bg-base-0/20
// TODO: Maybe create a specific attribute?
0: defaultColors.white,
...defaultColors.gray,
1000: defaultColors.black
},
/**
* Used for text and icons on the background
*/
'base-content': {
hover: defaultColors.white,
highlight: defaultColors.gray[200],
DEFAULT: defaultColors.gray[400]
}
}
}
},
plugins: [require('@headlessui/tailwindcss')]
}