Add banner layout
This commit is contained in:
+30
-29
@@ -1,46 +1,47 @@
|
||||
|
||||
// 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",
|
||||
"./themes/chill-theme/layouts/**/*.html",
|
||||
"./layouts/**/*.html",
|
||||
"./content/**/*.{html,md}"
|
||||
],
|
||||
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
primary,
|
||||
secondary,
|
||||
// Ajoutez ici d'autres couleurs statiques si besoin
|
||||
colors: {
|
||||
primary: {
|
||||
50: '#f2f6f8',
|
||||
100: '#e6edf1',
|
||||
200: '#bfd3de',
|
||||
300: '#99b9cb',
|
||||
400: '#4d8596',
|
||||
500: '#334d5c', // couleur principale
|
||||
600: '#2e4553',
|
||||
700: '#273a45',
|
||||
800: '#1f2e37',
|
||||
900: '#19262c',
|
||||
},
|
||||
|
||||
fontFamily: {
|
||||
primary: [fontPrimary],
|
||||
secondary: [fontSecondary],
|
||||
secondary: {
|
||||
50: '#fff5f5',
|
||||
100: '#ffeaea',
|
||||
200: '#ffc9c9',
|
||||
300: '#ffa8a8',
|
||||
400: '#ff6666',
|
||||
500: '#e57469', // couleur principale
|
||||
600: '#ce6860',
|
||||
700: '#ad5650',
|
||||
800: '#8b4440',
|
||||
900: '#723836',
|
||||
},
|
||||
},
|
||||
fontFamily: {
|
||||
sans: ['Lato', 'sans-serif'],
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
require('@tailwindcss/forms'),
|
||||
require('@tailwindcss/typography'),
|
||||
],
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user