website/tailwind.config.mjs
Juan Manzanero 4f0e80b988
Migrate to Astro V5 (#22)
* fix video url

* update deploy script for using rsync

* remove delete from script

* translate resources page

* fix images dimensions and favicon

* add css optimization plugin and improve images

* update project dependencies

* refactor lang

* post translated to spanish

* fix metadata

* update dependencies

* update dependencies

* update dependencies

* update to Astro 5.x

* format index.astro

* Migrate content layer to Astro V5
2025-02-01 17:33:00 -06:00

62 lines
1.3 KiB
JavaScript

/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ['class'],
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
prefix: '',
theme: {
fontFamily: {
sans: ['Helvetica', 'Arial', 'sans-serif'],
},
container: {
center: true,
padding: '2rem',
screens: {
'2xl': '1400px',
},
},
extend: {
colors: {
border: '#eee',
input: '#00adb5',
ring: '#00adb5',
background: '#222831',
foreground: '#eee',
primary: {
DEFAULT: '#00adb5',
foreground: '#000',
},
secondary: {
DEFAULT: '#393e46',
foreground: '#eee',
},
destructive: {
DEFAULT: '#ff2e63',
foreground: '#eee',
},
muted: {
DEFAULT: '#393e46',
foreground: '#eee',
},
accent: {
DEFAULT: '#00adb5',
foreground: '#eee',
},
popover: {
DEFAULT: '#393e46',
foreground: '#eee',
},
card: {
DEFAULT: '#393e46',
foreground: '#eee',
},
},
borderRadius: {
lg: '8px',
md: '4px',
sm: '2px',
},
},
},
plugins: [require('tailwindcss-animate'), require('@tailwindcss/typography')],
};