Skip to content

Custom theme with Tailwind Standalone CLI #3717

Closed Answered by saadeghi
Bhacaz asked this question in Q&A
Discussion options

You must be logged in to vote

Hey.
It's not documented but I will add it to docs soon.

To use custom themes with standalone file, ownload daisyui-theme.js as well:

curl -sLO https://github.com/saadeghi/daisyui/releases/latest/download/daisyui-theme.js

Instead of @plugin "daisyui/theme" { ... }, use it like

@plugin "path/to/daisyui-theme.js" { ... }

(replace path/to/ to address where the file is)

Let me know if you have any questions

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Bhacaz
Comment options

Answer selected by Bhacaz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants