Overview
Ficha Dubai uses Tailwind CSS for styling with a custom configuration and additional CSS classes for glass effects and animations. The design system supports both light and dark modes.Tailwind CSS Configuration
The Tailwind configuration is defined in the<script> tag in index.html:
Custom Colors
Color Palette
The theme includes custom colors for branding and UI elements:
- primary:
#2563eb- Main brand color (blue) - accent-teal:
#00f5d4- Teal accent for CTAs - accent-gold:
#fbbf24- Gold accent for highlights - background-light:
#f8fafc- Light mode background - background-dark:
#0f172a- Dark mode background - navy-deep:
#0a1128- Deep navy for headers
Typography
Two font families are configured:- Display Font: Plus Jakarta Sans (for headings and prominent text)
- Body Font: Inter (for general content)
Custom CSS Classes
Glass Card Effect
The.glass-card class creates a frosted glass appearance with backdrop blur:
360 Tour Button
The.btn-360 class creates an eye-catching gradient button for 360° tours:
Material Icons
Custom styling for Material Symbols Outlined icons:Dark Mode
Dark mode is implemented using Tailwind’sdark: variant with class-based toggling:
Customizing Colors
Change Primary Color
To change the primary brand color, update the Tailwind config:Change Accent Colors
Modify accent colors for CTAs and highlights:After changing colors in the Tailwind config, you may need to update the corresponding values in custom CSS classes like
.btn-360 to maintain consistency.Customizing Typography
Change Fonts
To use different fonts:- Update the Google Fonts link in
index.html:
- Update the Tailwind font configuration:
Apply Font Classes
Use the font utilities in your HTML:Customizing Border Radius
The default border radius is set to0.75rem. To change it:
Example: Custom Color Scheme
Here’s a complete example of creating a custom purple theme:Additional Styling Resources
Tailwind CSS Docs
Official Tailwind CSS documentation for utility classes
Google Fonts
Browse and select custom fonts for your project
Material Icons
Explore available Material Symbols icons
Color Palette Generator
Generate cohesive color schemes