-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathtailwind.config.js
26 lines (25 loc) · 1.02 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
const defaultTheme = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/pages/**/*.{js,ts,jsx,tsx}', './src/components/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
// Fonts are being loaded on `src/pages/_document.tsx`, so if you want to
// change the font, you need to change the url there and name here.
fontFamily: {
sans: ['var(--font-roboto)', ...defaultTheme.fontFamily.sans],
mono: ['var(--font-roboto-mono)', ...defaultTheme.fontFamily.mono],
},
colors: {
'telegram-white': 'var(--telegram-bg-color)',
'telegram-black': 'var(--telegram-text-color)',
'telegram-hint': 'var(--telegram-hint-color)',
'telegram-link': 'var(--telegram-link-color)',
'telegram-primary': 'var(--telegram-button-color)',
'telegram-primary-text': 'var(--telegram-button-text-color)',
'telegram-secondary-white': 'var(--telegram-secondary-bg-color)',
},
},
},
plugins: [],
};