You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some questions regarding cross framework theming and hoping you might be able to help.
As part of an project within my company, we're looking to adopt carbon as the basis of a new design system. We would be looking to use both the component libraries for both Angular and React and maybe Vue in the future.
While evaluating the library I noticed that both the react and Angular framework implementations (and maybe the other frameworks too?) use the same styling package, carbon-components(deprecated), @carbon/styles and, as far as I could tell, re-exported as part of @carbon/react. It looks like, in many cases, the only differences across the libraries is that these styles are applied under different classes (cds--btn cds--btn--secondary" for react and bx--btn bx--btn--secondary for angular, as an example).
This all got me to thinking; is it possible/advisable to use the same theme theme across multiple libraries and should we expect e any major gotchas around framework specific usage of the themes?
Any input on this topic would be much appreciated and thanks a lot for your time.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, everyone!
I have some questions regarding cross framework theming and hoping you might be able to help.
As part of an project within my company, we're looking to adopt carbon as the basis of a new design system. We would be looking to use both the component libraries for both Angular and React and maybe Vue in the future.
While evaluating the library I noticed that both the react and Angular framework implementations (and maybe the other frameworks too?) use the same styling package,
carbon-components(deprecated)
,@carbon/styles
and, as far as I could tell, re-exported as part of@carbon/react
. It looks like, in many cases, the only differences across the libraries is that these styles are applied under different classes (cds--btn cds--btn--secondary"
for react andbx--btn bx--btn--secondary
for angular, as an example).This all got me to thinking; is it possible/advisable to use the same theme theme across multiple libraries and should we expect e any major gotchas around framework specific usage of the themes?
Any input on this topic would be much appreciated and thanks a lot for your time.
Beta Was this translation helpful? Give feedback.
All reactions