A theme provides the look and feel of several built-in widgets, using CSS
style rules. The rules for each CSS theme are defined in the folder
resources/themes/. There each theme is organized in a subfolder.
You can choose from three themes:
You don't have to do anything to use this theme from the
WCssTheme class as it is the default theme.
This theme is also implemented by the WCssTheme class.
You can change to this CSS theme with setCssTheme("polished")
in your WApplication.
As of version 3.3.2, Bootstrap 2 and Bootstrap 3 versions
are supported. The widget gallery has been restyled to use
Bootstrap 3. While the theme makes sure that Wt's widgets
are rendered with the markup expected by bootstrap, there
are many features that are particular to the layout system
of bootstrap (and chaned from version 2 to version
3). Thus you need to know how bootstrap expects you to
layout widgets in order to effectivily use this theme, for
which we refer to the Bootstrap
Setting an empty theme (with parameter "") will result in a stub CSS theme
that does not load any stylesheets.