Loading...
 
Skip to main content

History: Creating a Tiki theme

Source of version: 5 (current)

Copy to clipboard
            Making a custom theme for Tiki Wiki CMS Groupware is amounts to making a "generic" Bootstrap stylesheet with additional Tiki-specific details included. A standard Bootstrap stylesheet can function as a Tiki theme when its URL is entered on the Look and Feel admin page, but of course won't be applied to Tiki page elements outside of the scope of the default Bootstrap components, etc.

!!! Take advantage of the Tiki layout options
While a generic Bootstrap stylesheet without further modification produce a standard Bootstrap appearance, Tiki also provides its display and appearance options such as alternative layouts (similar to Drupal panels); use of one, two, or three middle columns; placement of menus; theme control choices; and so on to enhance the site appearance and user experience beyond those of a standard Bootstrap-based website.

!!! Easily extend styling beyond the standard Bootstrap scope
The Bootstrap CSS classes are a subset of the total available in Tiki, and these can be targeted by the stylesheet. There are global Tiki SCSS variables that are accessed by the theme's SCSS files; this automatically extends the Bootstrap values defined by the theme to Tiki-specific page elements. The theme can also define styling beyond what Bootstrap CSS provides. For example, to use background images or gradients and so on, the stylesheet typically have a "tiki-selectors.scss" file that its variables are applied to.

Increasingly, Bootstrap and Tiki are using CSS custom properties, aka CSS variables, to apply styles in a way that enables easy customization and implementation of user color mode choices. This is an area that the theme author should take advantage of.

Next step: ((Three Ways to Make a New Theme))
        

History

Advanced
Information Version
Sun 02 of Apr, 2023 09:58 GMT-0000 Gary Cunningham-Lee Updated Bootstrap information. 5
Sat 15 of Oct, 2016 04:48 GMT-0000 drsassafras minor edit 4
Sat 15 of Oct, 2016 04:48 GMT-0000 drsassafras minor edit 3
Thu 15 of Sep, 2016 15:42 GMT-0000 Jonny Bradley testing for speed of save 2
Tue 14 of Apr, 2015 15:50 GMT-0000 Gary Cunningham-Lee 1