-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
43 lines (34 loc) · 983 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
38
39
40
41
42
43
const defaultTheme = require('tailwindcss/defaultTheme')
const defaultColors = require('tailwindcss/colors')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.vue'],
theme: {
extend: {
colors: {
primary: 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
0: defaultColors.white,
...defaultColors.gray,
1000: defaultColors.black
},
/**
* Used for text and icons on the background
*/
'base-content': {
hover: defaultColors.gray[900],
highlight: defaultColors.gray[700],
DEFAULT: defaultColors.gray[500]
}
},
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans]
}
}
}
}