This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
57 lines (52 loc) · 1.56 KB
/
tailwind.config.cjs
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
53
54
55
56
57
const defaultTheme = require('tailwindcss/defaultTheme')
const colors = require('tailwindcss/colors')
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,svelte,ts,tsx,vue}'],
theme: {
extend: {
colors: {
oranged: '#ff4500',
primary: colors.blue,
secondary: '#ff0080',
},
fontFamily: {
sans: ["'InterVariable'", ...defaultTheme.fontFamily.sans],
basement: 'BasementGrotesque-Black, sans-serif',
display: 'BasementGrotesque-Display, sans-serif',
space: 'SpaceMono-Regular, sans-serif',
inter: 'Inter-Regular, sans-serif',
montreal: 'Neue-Montreal-Medium, sans-serif',
delight: 'Neue-Montreal-Regular-400, sans-serif',
geistMono: 'GeistMono-Medium',
geistBold: 'GeistMono-Bold',
geistSansBold: 'Geist-Bold',
geistSansRegular: 'GeistMono-Regular',
grotesk: 'SpaceGrotesk-Medium, sans-serif',
roobert: 'Roobert',
},
},
},
plugins: [require('@tailwindcss/typography')],
darkMode: 'class',
}
/*
Alternative tailwind.config.js
NOTE: Add this fonts to <head>
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;700&display=swap" rel="stylesheet" />
*/
// module.exports = {
// content: ["./src/**/*.{astro,html,js,jsx,md,svelte,ts,tsx,vue}"],
// theme: {
// extend: {
// colors: {
// primary: colors.cyan,
// secondary: colors.lime,
// },
// fontFamily: {
// sans: ["'Nunito'", ...defaultTheme.fontFamily.sans],
// },
// },
// },
// plugins: [require("@tailwindcss/typography")],
// darkMode: "class",
// };