vue3-styled-components icon indicating copy to clipboard operation
vue3-styled-components copied to clipboard

Add a support for reactive theme

Open pgonzalez-santiago opened this issue 1 year ago • 2 comments

Currently theme injection is not reactive.

Note: These changes have made the theme variable reactive, which means that we now need to use .value when accessing the theme in the Setup function.

pgonzalez-santiago avatar Jul 20 '23 09:07 pgonzalez-santiago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 12535c2ee9bde3ee3094bd07110032e8bcbf9ed1:

Sandbox Source
jolly-zhukovsky-y37llg Configuration

codesandbox-ci[bot] avatar Jul 20 '23 09:07 codesandbox-ci[bot]

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit d3b4ae5:

Sandbox Source affectionate-ishizaka-d58m4n Configuration

Here we have a working example using ThemeProvider from vue3-styled-components https://codesandbox.io/s/dazzling-cerf-f7pgjg?file=/src/App.vue

pgonzalez-santiago avatar Jul 20 '23 10:07 pgonzalez-santiago

@jkempff @liqueflies @codebender828 @alexkharech is this still maintained?

juboba avatar Oct 11 '24 06:10 juboba