usulpro Github contribution chart
usulpro Github Stats
usulpro Most Used Languages

Activity

22 Aug 2022

Usulpro

update vscode settings

Pushed On 22 Aug 2022 at 11:39:13

Usulpro

Rename GraphCMS to Hygraph

Pushed On 22 Aug 2022 at 11:39:13

Usulpro

Raise react-yaml ver

Pushed On 22 Aug 2022 at 11:39:13
Issue Comment

Usulpro

Theme switches when I switch component variant

Hi there,

I'm running into an issue with the theme switching whenever I click on a different variant. I have primary, secondary and tertiary variants for my button component. For example, when I select a different theme and click on secondary, it ends up selecting the first theme in the array and applies the styles for the secondary button for that theme.

I noticed in your demo when I select Light Theme 2, I'm able to click on Buttons 1, 2 and 3 and see the theme apply to all the variants and it stays on the selected theme.

Attached is a gif.

2022-07-18 14 34 10

Forked On 21 Jul 2022 at 02:33:10

Usulpro

@zementeshome we released a 1.1.7 with hotfix

Commented On 21 Jul 2022 at 02:33:10

Usulpro

v1.1.7

Pushed On 21 Jul 2022 at 02:29:59

Usulpro

Hotfix: keep current theme selected

Pushed On 21 Jul 2022 at 02:28:30
Create Branch
Usulpro In react-theming/storybook-addon Create Branchbroken-theme-selector

Usulpro

Develop themable components with Emotion/Styled Components/Material-UI with help of Storybook & React Theming

On 21 Jul 2022 at 01:30:50
Issue Comment

Usulpro

Theme switches when I switch component variant

Hi there,

I'm running into an issue with the theme switching whenever I click on a different variant. I have primary, secondary and tertiary variants for my button component. For example, when I select a different theme and click on secondary, it ends up selecting the first theme in the array and applies the styles for the secondary button for that theme.

I noticed in your demo when I select Light Theme 2, I'm able to click on Buttons 1, 2 and 3 and see the theme apply to all the variants and it stays on the selected theme.

Attached is a gif.

2022-07-18 14 34 10

Forked On 21 Jul 2022 at 11:31:39

Usulpro

@zementeshome thanks for reporting this. Indeed the theme should persist. It looks like we have a bug here

Commented On 21 Jul 2022 at 11:31:39

Usulpro

Update README.md

Pushed On 17 Jul 2022 at 02:58:14

Usulpro

add sponsors proxi

Pushed On 14 Jul 2022 at 02:19:53

Usulpro

Update README.md

added a newline to fix formatting halfway down

Pushed On 13 Jul 2022 at 04:17:48

Usulpro

Merge pull request #138 from Jasparr77/patch-1

Update README.md

Pushed On 13 Jul 2022 at 04:17:48

Usulpro

Update README.md

Created On 13 Jul 2022 at 04:17:35

Usulpro

Update README.md

added a newline to fix formatting halfway down (before, the code block from lines 81-121 was rendered as text on the page, as opposed to being formatted as a code block).

Forked On 13 Jul 2022 at 04:17:35

Usulpro

Thanks

Commented On 13 Jul 2022 at 04:17:35

Usulpro

Update README.md

added a newline to fix formatting halfway down (before, the code block from lines 81-121 was rendered as text on the page, as opposed to being formatted as a code block).

Merged On 13 Jul 2022 at 04:17:35

Usulpro

Commented On 13 Jul 2022 at 04:17:35

Usulpro

Update README.md

Pushed On 11 Jul 2022 at 04:23:30

Usulpro

add yaml editor

Pushed On 09 Jul 2022 at 03:23:55

Usulpro

add yaml

Pushed On 09 Jul 2022 at 03:23:55

Usulpro

add yaml editor

Pushed On 09 Jul 2022 at 03:23:55

Usulpro

add yaml editor

Pushed On 09 Jul 2022 at 03:23:55

Usulpro

Merge branch 'master' into add_yaml

Conflicts:

src/manager/components/ThemeBrowser.js

src/manager/register.js

Pushed On 09 Jul 2022 at 03:23:55

Usulpro

fix

Pushed On 09 Jul 2022 at 03:23:55

Usulpro

update branch

Pushed On 09 Jul 2022 at 03:23:55

Usulpro

added yaml editor

Pushed On 09 Jul 2022 at 03:23:55

Usulpro

Merge branch 'master' into add_yaml

Pushed On 09 Jul 2022 at 03:23:55

Usulpro

Polishing details

Pushed On 09 Jul 2022 at 03:23:55

Usulpro

Add useEditors

Pushed On 09 Jul 2022 at 03:23:55

Usulpro

Show selected color in Yaml

Pushed On 09 Jul 2022 at 03:23:55

Usulpro

update ColorPicker

Pushed On 09 Jul 2022 at 03:23:55

Usulpro

chenge rules ESlint

Pushed On 09 Jul 2022 at 03:23:55

Usulpro

update color string

Pushed On 09 Jul 2022 at 03:23:55

Usulpro

Update color panel

Pushed On 09 Jul 2022 at 03:23:55

Usulpro

Drop selected word on theme change

Pushed On 09 Jul 2022 at 03:23:55

Usulpro

Merge pull request #67 from react-theming/add_yaml

Add yaml

Pushed On 09 Jul 2022 at 03:23:55

Usulpro

Add yaml

Created On 09 Jul 2022 at 03:23:53

Usulpro

Update color panel

Pushed On 09 Jul 2022 at 03:04:25

Usulpro

Drop selected word on theme change

Pushed On 09 Jul 2022 at 03:04:25
Issue Comment

Usulpro

Using with MantineJS

Hi! I found your plugin for storybook and I think it looks perfect for what I'm building, Only issue is that I'm using MantineJS for my styling and i dont seem to be able to get it to work. Im unsure if it currently supports MantineJS? Thank you

Forked On 09 Jul 2022 at 02:14:48

Usulpro

Hey @emilybuc

This addon should work fine with any library having a theme provider. To make it work you'd need to pass your custom providerFn function into withThemes(null, [theme], { providerFn });

This could look somehow like this:

import { MantineProvider } from '@mantine/core';

const providerFn = ({ theme, children }) => {
  return <MantineProvider theme={theme}>{children}</MantineProvider>;
}; 

Let me know if you still have any issues with it

Commented On 09 Jul 2022 at 02:14:48

Usulpro

started

Started On 07 Jul 2022 at 09:26:57

Usulpro

Fix dummy site

Pushed On 04 Jul 2022 at 04:13:32