- Import Playfair Display and Raleway fonts for better typography - Add a method to `City` model for fetching the latest weather art - Revamp city index and show pages for improved layout and usability - Update styles in the layout and main pages to enhance user experience These changes promote visual consistency and enhance user interaction within the platform, providing a more engaging experience.
37 lines
749 B
JavaScript
37 lines
749 B
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': ['Raleway', 'sans-serif'],
|
|
},
|
|
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",
|
|
},
|
|
},
|
|
],
|
|
},
|
|
}
|