rogden / tailwind-config-viewer

A local UI tool for visualizing your Tailwind CSS configuration file.
2.01k stars 111 forks source link

Add ability to inject custom CSS #86

Open fabis94 opened 1 year ago

fabis94 commented 1 year ago

themeReplacements are a good start for being able to set CSS variable values, but what if the variables have different values in dark/light theme?

:root {
  --color: #fff;
}

:root.dark {
  --color: #000;
}

Thus it would be nice if we could inject custom CSS, even if it has to be CSS-in-JS provided as a string.

jimmzzz commented 3 months ago

Hi,

i got PR, for this https://github.com/rogden/tailwind-config-viewer/pull/101