Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Dark theme support

    Hello
    We are using smartgwt 12 power license version. We are looking to add dark theme in our web site. we want user to switch default theme to dark theme from web application using action event (menu item) and vice versa.

    I did found one document which has mention that now smartgwt 12 support Obsidian theme (dark theme) but it has no provide any sample code or details of how to integrate with own code.
    http://blog.isomorphic.com/welcome-t...obsidian-skin/

    Can you suggest how to Implement dark theme ?


    #2
    Take a look at the QuickStart Guide for how to change theme.

    In terms of making it dynamic, it's just a matter of loading the skin resources dynamically (a skin consists of a .js and a .css file). If you want an example of this, you can look at the source code in the SGWT Showcase (specifically Showcase.java).

    Note that more recent versions have an additional dark theme (Twilight) which you can see in the latest Showcases.

    Comment

    Working...
    X