Loading...
 

Style Guide Tool

New in Tiki18, the Style Guide Tool is an interactive page for editing site colors, fonts, and other style details, with the results shown in real time. The generated code can be input as custom CSS or Less variables on the Look and Feel admin page, to modify the appearance of the Tiki site. This tool is for making overall, global changes.


Image
Style Guide Overview


How to activate it

To access the tool, go to the Look and Feel admin page (tiki-admin.php?page=look), and the "Customization" tab. The Style Guide Tool activation checkbox is near the bottom of the page. If you don't see it, the reason is probably that Advanced features aren't being displayed, so follow the instructions in the box below.


 Activating Advanced Features

This is an "advanced" feature, so be sure the feature preferences filter is set to "Advanced". You can make this your default in the dropdown list (under the filter icon).

Image
Switch preference filter to Advanced
Image
Check desired preference levels as your personal default


Activate the feature by checking the checkbox and clicking the "Apply" button. When the page refreshes, hover over the Style Guide Tool "Actions" icon and, in the popup, click " View". This opens the style guide tool page.

Image
Style Guide Tool Checkbox


How to use it

The tool works with the theme that is currently active at the site. Shown here are the Slate and TheNews themes.

Image
Slate theme


Image
TheNews theme


There are sections of the tool for these page elements: page colors, fonts, headings, tables, buttons, forms, lists, navbar, dropdowns, tabs, alerts, and icons. At the page bottom there is a "Select a section" link for navigating to the sections in the page.

Image
Section selection


Colors can be selected by clicking in the square sample area for each item, which causes a colorpicker to display. Or the CSS hex value can be edited directly.

Image
Colorpicker


Changes such as font size and style affect the those properties on the HTML body tag, meaning that the changes will be implemented throughout the site unless they are overridden by a more-specfic CSS rule for a particular page element.

How to use the results - as CSS

After making the desired edits, to save the results as CSS code, click the "Generate Custom CSS" button.

Image
Custom CSS and custom Less variables


To use the new custom CSS, copy it from the text area and paste it into the Custom CSS text area on the Look and Feel admin page. Generating custom CSS with this tool actually produces the CSS for all the items on the Style Guide page, not just for the edited/changed items. To reduce the amount of redundant CSS rules, the custom CSS could be edited to retain just the changed rules, and the other, unchanged rules could be removed (if you are familiar enough with editing CSS). [This redundancy should be improved in future development.]

As Look and Feel custom CSS, these style rules will of course affect any theme that is in effect at the site, and could have unwanted effects if a theme is selected for use other than the theme whose rules were customized with the Style Guide tool. This is something to consider if more than one theme is used at the site, such as if users have permission to select a theme for their personal use.

How to use the results - as Less variables

Alternatively, the style changes can be saved as custom Less code. This can then be copied and pasted into the "Custom Less" text area on the Look and Feel page, under the "Customization" tab. (More information on using custom Less variables is coming soon.)

Related links
https://doc.tiki.org/Tiki18#Style_Guide_tool
Demo: http://styleguide.tiki.suite.wiki/tiki-index.php
Contributors to this page: Gary Cunningham-Lee and Marc Laporte .
Page last modified on Monday 12 February, 2018 07:53:58 UTC by Gary Cunningham-Lee.

doc.tiki.org


Bootstrap

AdminGuide

UserGuide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting (7.x)
Articles and Submissions
Backlinks
Banners
Batch (6.x)
BigBlueButton audio/video/chat/screensharing (5.x)
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution (2.x)
Cookie
Copyright
Credit (6.x)
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs 8.x
Draw 7.x
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management (4.x)
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links (3.x)
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags (2.x)
Task
Tell a Friend, alert + Social Bookmarking
TikiTests (2.x)
Theme CSS & Smarty
Trackers
Transitions (5.x)
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
WebDAV (5.x)
Webmail
Web Services
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval (2.x)
Wiki Plugin extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG (2.x)
XMLRPC


Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki
Show php error messages