javivelasco / javivelasco/react-css-themr

React-css-themr worked perfectly locally but not worked when used it after publishing it and used it as component lib into other project

Open
#97 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
589
Forks
65
PR merge metrics
No merged PRs in 30d

Description

I used react-css-themr to implement delicious theme into my component(e.g. button) so for component project it works fine (like priority is ---> external theme 1st and if not getting external theme(button.scss from delicious theme folder) it use internal theme (button.scss from component's scss folder)).

this is working fine for this project. but if i deploy this project and use as library into other project (like button component to my main project)then it always loaded default css instead of external css.
can any one please help me in this?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the published button component in the consuming project, comparing the external button.scss from the delicious theme folder with the internal button.scss in the component project. Start by tracing how react-css-themr resolves those two themes after publication; done means the consuming project loads the external theme instead of the default CSS.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react, scss
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.