Skip to content
This repository has been archived by the owner on Nov 18, 2018. It is now read-only.

customization #44

Open
kishorevarma opened this issue Aug 17, 2016 · 3 comments
Open

customization #44

kishorevarma opened this issue Aug 17, 2016 · 3 comments

Comments

@kishorevarma
Copy link

How can I customize the default styles, like font-family etc ?

@bokuweb
Copy link
Owner

bokuweb commented Aug 17, 2016

@kishorevarma for example, if you use <Message /> component. <Message /> component's className is ___re-bulma_message.

Please use this className for customizing.

.___re-bulma_message.your_classname {
  font-size: 12px;
}

@kishorevarma
Copy link
Author

@bokuweb thanks, but if I want to override all the places where font-family is used, I have to do it in each component CSS class. I think we should have some variables concept , so users can dynamically update them in one place. while bundling(webpack loader) styles will be replaced. I am not sure how to do that , its just an idea

@bokuweb
Copy link
Owner

bokuweb commented Aug 17, 2016

@kishorevarma umm.it need (i.e. css-loader), or add common prefix , for example __re-bulma.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants