lokytech5 / e-get-why

An open-source social networking platform for Nigerians to share their frustrations, societal issues, and professional challenges.
https://e-get-why.vercel.app
MIT License
0 stars 2 forks source link

Set Up DaisyUI Theme called night #9

Closed lokytech5 closed 2 months ago

lokytech5 commented 3 months ago

Feature Request: Add DaisyUI Theme to Tailwind Configuration

Description

We are looking for a new contributor to help us configure the DaisyUI theme for our project. DaisyUI is a Tailwind CSS component library that provides a set of ready-to-use components and themes. This is a great first issue for someone new to the project and wanting to start.

Tasks

  1. Update tailwind.config.js to include DaisyUI themes:

    • Add the following configuration to tailwind.config.js:
      module.exports = {
      // other configurations...
      plugins: [require("daisyui")],
      daisyui: {
      themes: ["night"],
      },
      };
  2. Ensure the configuration is added below other plugins:

    • The plugins array should look like this:
      plugins: [
      // other plugins...
      require("daisyui"),
      ],
      daisyui: {
      themes: ["night"],
      },
  3. Test the theme configuration:

    • Switch between different themes (e.g., "cupcake", "light", "forest") and ensure they are applied correctly.

Additional Notes

aedoardo1990 commented 2 months ago

hello @lokytech5, I have created the merge request.

lokytech5 commented 2 months ago

ok am going through it now