This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import type { Config } from 'tailwindcss'
|
||||
|
||||
export default {
|
||||
content: ['./index.html', './src/**/*.{ts,tsx}'],
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
tg: {
|
||||
bg: 'var(--tg-bg-color)',
|
||||
text: 'var(--tg-text-color)',
|
||||
hint: 'var(--tg-hint-color)',
|
||||
link: 'var(--tg-link-color)',
|
||||
// Use RGB tuple format so opacity modifiers (bg-tg-btn/10) work
|
||||
btn: 'rgb(var(--tg-button-rgb) / <alpha-value>)',
|
||||
'btn-text': 'var(--tg-button-text-color)',
|
||||
'secondary-bg': 'var(--tg-secondary-bg-color)',
|
||||
},
|
||||
},
|
||||
fontFamily: {
|
||||
sans: ['-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'sans-serif'],
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [],
|
||||
} satisfies Config
|
||||
Reference in New Issue
Block a user