Skip to content
This repository was archived by the owner on Apr 25, 2026. It is now read-only.

fix defaultThemeMap: add accentColor to default to support colors#1110

Open
xDellTog wants to merge 2 commits intostitchesjs:canaryfrom
xDellTog:fix-default-theme-map
Open

fix defaultThemeMap: add accentColor to default to support colors#1110
xDellTog wants to merge 2 commits intostitchesjs:canaryfrom
xDellTog:fix-default-theme-map

Conversation

@xDellTog
Copy link
Copy Markdown

@xDellTog xDellTog commented Oct 26, 2022

Hi there! I don't know if that's an issue or a possible feature, but I will consider an issue.

Recently I used accentColor in my theme, to customize a native checkbox and Stitches don't apply the color in final CSS, so I added accentColor in defaultThemeMap to property support theme colors and it works.
I used MDN Web Docs syntax and description to doc.

Works

accentColor: 'red'

Failure

accentColor: '$primaryColor'

Sandbox to Test

I hope it can be fixed, Thanks!

@prclm
Copy link
Copy Markdown

prclm commented Aug 21, 2023

could you remove all the auto formatting changes?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants