Skip to content

Commit

Permalink
#3185 fix tailwind.config.js: support corePlugins, important, prefix,…
Browse files Browse the repository at this point in the history
… separator (#3260)
  • Loading branch information
seewindcn authored and masenf committed May 11, 2024
1 parent 4f7ccb5 commit 4e58716
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions reflex/.templates/jinja/web/tailwind.config.js.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,16 @@ module.exports = {
{% if darkMode is defined %}
darkMode: {{darkMode|json_dumps}},
{% endif %}
{% if corePlugins is defined %}
corePlugins: {{corePlugins|json_dumps}},
{% endif %}
{% if important is defined %}
important: {{important|json_dumps}},
{% endif %}
{% if prefix is defined %}
prefix: {{prefix|json_dumps}},
{% endif %}
{% if separator is defined %}
separator: {{separator|json_dumps}},
{% endif %}
};

0 comments on commit 4e58716

Please sign in to comment.