generated from mauriciobraz/next.js-telegram-webapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
33 lines (32 loc) · 1.12 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
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: ["Ubuntu", ...defaultTheme.fontFamily.sans],
mono: ["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)",
},
screens: {
// 560px is the size of desktop Telegram's window width.
tg: "35rem",
},
},
},
plugins: [],
};