astro-reactive-form/apps/landing-page/tailwind.config.cjs
Ayo Ayco 4d2a577b0e
chore: update deps (#305)
* chore: update deps

* chore: update deps for apps/docs

* chore: update landing-page deps

* chore: update monorepo deps

* chore: add astro as dep to config

* chore: update package lock

* fix: tailwind import on landing-page

* chore: type module

* chore: remove ci run for node 16

* chore: ci run ci

* chore: remove astro check from ci

* chore: remove lint check from ci

* fix: tailwindcss import

* fix: check errors on apps

* chore: fix npm run check

* chore: updat emonorepo deps

* chore: not a module

* chore: use astro-iconify instead

* chore: update prettier

* chore: use prettier formatter

* chore: update lint deps

* chore: run lint on ci

* chore: add changeset
2023-09-25 16:27:50 +02:00

38 lines
917 B
JavaScript

import * as defaultTheme from 'tailwindcss/defaultTheme';
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,svelte,ts,tsx,vue}'],
theme: {
screens: {
'astro-sm': { max: '1000px' },
'astro-md': { min: '640px', max: '1000px' },
'astro-img': { min: '600px', max: '1000px' },
'astro-lg': { min: '1000px' },
...defaultTheme.screens,
},
extend: {
fontFamily: {
sans: ['Inter', ...defaultTheme.fontFamily.sans],
},
colors: {
primary: 'var(--color-primary)',
secondary: 'var(--color-secondary)',
},
textColor: {
default: 'var(--color-text)',
offset: 'var(--color-text-offset)',
},
backgroundColor: {
default: 'var(--color-background)',
offset: 'var(--color-background-offset)',
},
borderColor: {
default: 'var(--color-border)',
},
},
},
corePlugins: {
fontSize: false,
},
plugins: [require('tailwindcss-fluid-type')],
};