-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
36 lines (34 loc) · 1.07 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
/** @type {import("tailwindcss").Config} */
const colors = require("tailwindcss/colors");
module.exports = {
content: ["./index.html", "./src/**/*.{ts,tsx}"],
theme: {
extend: {
colors: {
// https://m3.material.io/styles/color/roles
surface: colors.neutral["200"],
"on-surface": colors.neutral["800"],
"on-surface-variant": colors.neutral["600"],
primary: colors.neutral["900"],
"on-primary": colors.neutral["50"],
secondary: colors.neutral["800"],
"on-secondary": colors.neutral["100"],
"surface-container": colors.neutral["300"],
"surface-container-low": colors.neutral["100"],
"surface-container-lowest": colors.neutral["50"],
"surface-container-high": colors.neutral["900"],
"surface-container-highest": colors.neutral["950"],
outline: colors.neutral["500"],
"outline-variant": colors.neutral["400"],
},
minWidth: {
half: "50%",
},
maxWidth: {
half: "50%",
"3/4": "75%",
},
},
},
plugins: [],
};