today_ai_weather/tailwind.config.js
songtianlun 1c13b89854 style: improve footer layout and text labels
- Simplified page views and visitors display in footer
- Improved readability by using labels and abbreviations
- Updated Tailwind CSS configuration for better font fallback

These changes enhance the user interface in the footer by making the
presentation of page views and visitors more concise and visually
appealing. The update also ensures a better font fallback
experience across different platforms.
2025-02-14 10:27:26 +08:00

53 lines
1.1 KiB
JavaScript

module.exports = {
content: [
'./app/views/**/*.html.erb',
'./app/helpers/**/*.rb',
'./app/assets/stylesheets/**/*.css',
'./app/javascript/**/*.js'
],
theme: {
extend: {
fontFamily: {
'display': ['"Playfair Display"', 'serif'],
'sans': [
'ui-sans-serif',
'system-ui',
'-apple-system',
'BlinkMacSystemFont',
'Segoe UI',
'Roboto',
'Helvetica Neue',
'Vazirmatn',
'Arial',
'Noto Sans',
'sans-serif',
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
'Noto Color Emoji',
],
},
height: {
'screen-90': '90vh',
}
},
},
plugins: [
require('daisyui'),
],
daisyui: {
themes: [
{
light: {
...require("daisyui/src/theming/themes")["[data-theme=light]"],
"primary": "#2A4365",
"secondary": "#805AD5",
"accent": "#38B2AC",
"neutral": "#2D3748",
"base-100": "#F7FAFC",
},
},
],
},
}