46 lines
1.1 KiB
JavaScript
46 lines
1.1 KiB
JavaScript
|
|
// Définition statique des couleurs principales (extraites de theme.json)
|
|
const primary = {
|
|
50: '#f8f9fa',
|
|
100: '#f1f3f5',
|
|
200: '#e9ecef',
|
|
300: '#dee2e6',
|
|
400: '#ced4da',
|
|
500: '#121212',
|
|
600: '#f46839',
|
|
700: '#e57469',
|
|
800: '#334d5c',
|
|
900: '#121212',
|
|
};
|
|
const secondary = '#e57469'; // à adapter si besoin
|
|
|
|
const fontPrimary = 'Open Sans, sans-serif';
|
|
const fontSecondary = 'Arial, sans-serif';
|
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
module.exports = {
|
|
presets: [require('./themes/chill-theme/tailwind.config.js')],
|
|
content: [
|
|
"./themes/hugo-saasify-theme/layouts/**/*.html",
|
|
"./layouts/**/*.html",
|
|
"./content/**/*.{html,md}"
|
|
],
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
primary,
|
|
secondary,
|
|
// Ajoutez ici d'autres couleurs statiques si besoin
|
|
},
|
|
|
|
fontFamily: {
|
|
primary: [fontPrimary],
|
|
secondary: [fontSecondary],
|
|
},
|
|
},
|
|
},
|
|
plugins: [
|
|
require('@tailwindcss/forms'),
|
|
require('@tailwindcss/typography'),
|
|
],
|
|
} |