superset-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lian Jiang <jiangok2...@gmail.com>
Subject Re: document for adding bootstrap themes
Date Mon, 24 Jul 2017 17:45:07 GMT
Maxime,

Thanks for addressing my questions. It will help us figure out a good
strategy to customize the themes. Thanks!

On Sat, Jul 22, 2017 at 10:14 AM, Lian Jiang <jiangok2006@gmail.com> wrote:

> Thanks. I see cosmo theme is used by default. However, cosmo table is like:
>
> https://bootswatch.com/cosmo/#tables
>
> Superset table is not using this theme.
>
> Plus, when I apply Flat or Black Courier css to my dashboard, it seems to
> only change the background color, make the controls round corner but the
> content (e.g. filter box, tables) does not change the theme.
>
> Is this a known issue? Or I am missing anything here? Thanks!
>
> On Thu, Jul 20, 2017 at 9:39 PM, Maxime Beauchemin <
> maximebeauchemin@gmail.com> wrote:
>
>> We used Bootswatch <https://bootswatch.com/> for theming, though you
>> could
>> use any Bootstrap theme. Here's where the magic happens:
>> https://github.com/apache/incubator-superset/blob/master/
>> superset/assets/javascripts/css-theme.js
>>
>> You'll have to make your own JS build. Find information on how to do this
>> here:
>> https://github.com/apache/incubator-superset/blob/master/CONTRIBUTING.md
>>
>> Max
>>
>> On Thu, Jul 20, 2017 at 10:26 AM, Lian Jiang <jiangok2006@gmail.com>
>> wrote:
>>
>> > According to this link, users can add bootstrap themes to superset:
>> >
>> > https://medium.com/airbnb-engineering/caravel-airbnb-s-
>> > data-exploration-platform-15a72aa610e5
>> >
>> > "You can brand and skin Superset with your own bootstrap theme, create
>> CSS
>> > templates for your dashboards"
>> >
>> >
>> > Is there any document for how to do this? Thanks!
>> >
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message