⚡
LightningRails
  • 👋Welcome
  • Access the Repo
  • Getting Started
    • 🚀Quickstart
    • 🎨Themes
    • 🖼️Customize the views
    • 🔮DaisyUI Library
    • ⚡Lightning Landing
      • Quickstart
      • Theme and branding
      • Page structure
      • Publish your landing page
  • Features setup
    • 📸Images & media
    • 🔐Admin Dashboard
    • Search Engine Optimization
    • 📧Automatic Emails
      • 🟨Postmark
      • 🔲Resend
    • 🚪Login with Devise
    • 🪄Magic Link Signup
    • 💳Stripe Payment Gateway
    • Github Signup
    • Lucide icons
    • 🤖Multi-provider AI
    • Open AI API
  • UI Components
    • 🦸Heros
    • ❔FAQs
    • 🃏cards
    • 💬Testimonials
    • 👋Call To Actions
    • 🔦Features
  • Deploying to production
    • ⬆️Heroku Deploy
    • 🛡️Security
      • 🎛️Rate Limiting
  • RESOURCES
    • 🚀Vote for new features
    • Report an issue
    • 🆘Get help on Slack
    • 🍭Design Resources
      • Maria Ba Illustrations
      • Assets Mockup Generator
      • Logo Generator
      • Tailwind Cheatsheet
      • HyperUI Tailwind Library
Powered by GitBook
On this page
  • Available Themes
  • How do we change the theme?
  • Can we change other Tailwind libraries?
  • Can I add my custom theme?
  • Custom Logo & Favicon

Was this helpful?

  1. Getting Started
  2. Lightning Landing

Theme and branding

Make Lightning landing your own. Choose one of the 24 availables themes and leave the branding hassle for later.

PreviousQuickstartNextPage structure

Last updated 5 months ago

Was this helpful?

Available Themes

To see the different themes you can choose from, check the DaisyUI documentation or their themes page below:

How do we change the theme?

In index.html by changing the data-theme attribute in the <body> tag, you can quickly switch between these themes.

Can we change other Tailwind libraries?

Can I add my custom theme?

Of course! Just add this code before your closing </body> tag and adapt the variables to your taste:

<script>
  tailwind.config = {
    theme: {
      extend: {
        fontFamily: {
          sans: ['Inter', 'sans-serif'], // Set your custom font as the default
        },
      },
    },
    plugins: [daisyui],
    daisyui: {
      themes: [
        {
          customtheme: {
            "primary": "#4CAF50",
            "secondary": "#FFC107",
            "accent": "#673AB7",
            "neutral": "#333333",
            "base-100": "#FFFFFF",
            "info": "#2196F3",
            "success": "#4CAF50",
            "warning": "#FF9800",
            "error": "#F44336",
            "fontFamily": "sans", // Use the extended font in the theme
          },
        },
      ],
    },
  };
</script>

That's it for branding and theme setup, next you will need to adapt the sections of the landing page.

Custom Logo & Favicon

Happy UI design! 🎨

Most definitely! DaisyUi has a lot of components but frankly lacks pre-designed sections, for us developers who don't want to spend hours creating from scratch. You can easily find more Tailwind components in the library.

To make the landing page your own. You will need to change the logo file in images/logo.png by your logo. Feel free to create your custom Logo with

Then, change the favicon in images/favicon.ico by your own. You can create your own favicon in this

⚡
HyperUI
Logofa.st.
favicon generator.
Check DaisyUI Themes
All the themes available from DaisyUI and therefore LighningRails