-
Notifications
You must be signed in to change notification settings - Fork 13
Theme="islands" by default #56
Comments
You can use
But actually I agree. |
Well, if we're talking about styles, the library doesn't have any own styles, as you might've noticed. Never the less, I think that in most cases, a theme should be set globally on the application level, as @pasaran has suggested. In this case, there is no need to have any predefined theme in components, don't you think so? |
Just a small note about our
|
Seems it would be really convenient to have one. If I need to redefine it I always can set it manually using props or child context, but seems it's a kind of theory case. |
Recently, I faced the case where default theme would be really harmful: I'm in the process of rewriting a project that uses bootstrap heavily to react-islands. In order to do it gracefully, I'm changing separate parts of the page to these components, while leaving CSS classes and styles from bootstrap. If Worth to say, this is only valid for simple components like |
Does it really need to specify the value of theme property manually? Seems the library doesn't support any other themes and implements only Yandex Islands style, so maybe
theme
should be defined asislands
by default?The text was updated successfully, but these errors were encountered: