Skip to content

Styling based on parent state (group-{modifier}) is not working #14379

Answered by wongjn
nikitimi asked this question in Help
Discussion options

You must be logged in to vote

You'd want to cover the src/styles/colors.ts file with the content file globs, for example:

 export default {
-  content: ["./src/**/*.tsx"],
+  content: ["./src/**/*.{ts,tsx}"],
   theme: {

Or

 export default {
-  content: ["./src/**/*.tsx"],
+  content: [
+   "./src/**/*.tsx",
+   "./src/styles/colors.ts",
+  ],
   theme: {

Etc.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by nikitimi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #14377 on September 10, 2024 10:10.