Giter Site home page Giter Site logo

Comments (5)

gunters63 avatar gunters63 commented on May 22, 2024 1

I got DaisyUI theming now to work with WindiCSS/Vite (and React) by setting the data-theme on the html root element (using a patched version of theme-change) and by importing a copy of the DaisyUI theme CSS file where I deleted the "@media (prefers-color-scheme:dark)" style.

from daisyui.

eikaramba avatar eikaramba commented on May 22, 2024 1

i can confirm it works now, very good.

from daisyui.

saadeghi avatar saadeghi commented on May 22, 2024

@eikaramba Hi,
You're right. I will update the docs with more clear descriptions.
About WindiCSS: it's currently experimental to use DaisyUI as a plugin for WindiCSS. There's a problem with converting CSS variables and I think it applies to all other Tailwind plug-in that use CSS variables.
This problem might get fixed soon tho. You can follow this issues for more info:
windicss/windicss#218
windicss/windicss#219
Also #18

from daisyui.

saadeghi avatar saadeghi commented on May 22, 2024

This color issue seems to be fixed (windicss/windicss#218)
@eikaramba Can you please update WindiCSS to latest version (2.5.10) and confirm if it works now?

from daisyui.

eikaramba avatar eikaramba commented on May 22, 2024

sure will let you know once https://github.com/windicss/vite-plugin-windicss is updated

from daisyui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.