-
Notifications
You must be signed in to change notification settings - Fork 51
Customization
Aleksey edited this page Feb 8, 2020
·
1 revision
widgets.init('https://graphql.bitquery.io', 'apikey', {locale: 'en', theme: 'dark'});
Code initializing widgets library, have parameters, applied to all widgets displayed using the library on this page:
- locale is the language for the widget. Currently supported languages are Chineses (ch), English (en) and Russian (ru).
- theme is one of options: dark or light. This will affect the colors and style of text and some elements, displayed on different backgrounds
Widgets have minimum required CSS embedded in them. The container page have flexibility to define own style. We recommend using bootstrap v 4.X, but this is optional