Replies: 1 comment 2 replies
-
CommaFeed was using
I didn't realize I could call hooks in the
It's okay, thanks. It's a quick change, I'll do it this morning :) |
Beta Was this translation helpful? Give feedback.
-
CommaFeed was using
I didn't realize I could call hooks in the
It's okay, thanks. It's a quick change, I'll do it this morning :) |
Beta Was this translation helpful? Give feedback.
-
Hello,
I just found out that commafeed was using
tss-react
let's go! 🥳As I was looking how it was used I noticed that ther's no context provided. Maybe providing the Mantine theme and colorScheme would be desirable.
Like:
tss.ts
This way instead of manually passing them over to
useStyles
every time like:You would be able to just write:
And have
theme
andcolorScheme
always available as arguments of thetss.create()
function.I can issue a PR if you're intrested.
Beta Was this translation helpful? Give feedback.
All reactions