Child pages
  • FSS - Colors and Themes

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 51
Wiki Markup
.LinksPanel {


{note:title=Deprecated}This page is currently deprecated, and will be removed shortly. For more up-to-date documentation, see the [FSS Text|FSS Text - Font size] and [FSS Themes|FSS Themes - Mist] demos.{note}

{panel:title= On This Page| borderStyle=solid| borderColor=#566b30| titleBGColor=#D3E3C4| bgColor=#fff}
{include:FSS Links Panel}

h2. Overview

Themes are {color:purple}new in v1.1{color}.

This walk-through accompanies the [FSS: Themes Functional Demo|] in describing how to used the Themes functionality of the Fluid Skinning System (FSS). Here, "themes" refer to the color schemes and "window dressings" for basic markup and [FSS Helpers|FSS - Advanced Layout], such as Tabs, Widgets, Menus, etc. It is written under the assumption that readers have reviewed the [Fluid Skinning System (FSS)|Fluid Skinning System (FSS)] introductory article and understand what the FSS is.

For information about customzing themes by overriding FSS styles, see [the "Overriding" section of the FSS introductory page|Fluid Skinning System (FSS)#3. Overriding FSS classes].
For more information about the walk-throughs in general, links to functional demos and FSS style sheets, please refer to [FSS - Getting Started|FSS - Getting Started].

Before continuing with this article, it is *highly* recommended that you glance over the following walk-throughs as they explain certain concepts in detail:
# [FSS - Layout|FSS - Layout] to give you an overview of how layout in the FSS works.
# [FSS - Advanced Layout|FSS - Advanced Layout] to take FSS Layout further, from simple containers to Widgets and GUI systems.

h2. Incorporating the Style Sheet

In order to use the FSS Theme class names, you will need to include the following files in the {{<head>}} of your document:
{info:width=0|title=Where is the Rust Theme?}
Please note that while Rust is still part of the FSS bundle, it has been deprecated and is no longer a supported theme
All FSS class names use the {{fl\-}} prefix. In our demos, if you see other class names without this prefix they are either: complimentary CSS; overriding CSS; or specific extensions of the FSS CSS. This means if you don't like the way a certain class names behaves you can easily [override or extend them|HTML and CSS Background].

h2. What is a Theme?

For the FSS, a theme is a collection of color definitions used together in different ways to create a look and feel for markup. You could use a theme as a starting point to give a page a basic appearance, and you could extend FSS Themes for even more detailed and site-specific appearances.

Since this is a highly subjective area of the FSS CSS, it is very likely that you would want to customize the themes further to suit your needs. However, themes are built in a purposeful way so that they fulfill specific needs, such as; high contrast colors for the visually impaired, the resetting of italic/oblique styles to normal to avoid problems with [dyslexia|], the enhacement of links to stand out, and color combinations known to be comfortable to read.

*Please note:* this document assumes you have already read [FSS Helpers|FSS - Advanced Layout] and [FSS Layout|FSS - Layout] articles.

h2. Implementing Themes

So far, there are 5 shippable themes:
# High Contrast:
# High Contrast Inverted
# Mist (Medium Contrast Blue/Grey)
# Coal (Medium Contrast Grey)
# Slate (Low Contrast Grey)

To use FSS Themes, just apply the theme class name at the root level of the markup you want to theme. So, if your markup looks like:
<div id="rootContainer" class="navbar">
   <ul class="fl-listmenu">
      <li><a href="#">Nav link</a><li>
      <li><a href="#">Nav link</a><li>
      <li><a href="#">Nav link</a><li>
Then you should put the theme on the root node here, changing it to {{class="fl-theme-mist navbar"}}

h2. Theme Details

h3. High Contrast Black and White

<div class="fl-theme-hc">...</div>
{{fl-theme-hc}} is the class name for our main high contrast theme, which is a collection of just black or white elements (no gray or colors). When used with [FSS Helpers|FSS - Advanced Layout] utility class names such as {{fl-icon}} you can enhance your content's readability and/or useability by actually manipulating content.


h3. High Contrast Inverted Black and White

<div class="fl-theme-hci">...</div>
{{fl-theme-hci}} is the class name for our inverted high contrast theme. Again, when used with [FSS Helpers|FSS - Advanced Layout] utility class names such as {{fl-icon}} you can enhance your content's readability and/or useability by actually manipulating content.


h3. Mist

<div class="fl-theme-mist">...</div>
{{fl-theme-mist}} is the class name for our soft blue theme.


h3. Coal

<div class="fl-theme-coal">...</div>
{{fl-theme-coal}} is the class name for our medium contrast grey theme.


h3. Slate

<div class="fl-theme-slate">...</div>
{{fl-theme-slate}} is the class name for our low contrast grey theme.


h2. Theme Templates

Use the following template to help create custom FSS themes:
[FSS Theme Template|^] - Adobe Illustrator CS4 format

If creating a theme for UI Options, use the following template as well:
[UI Options|^] - Adobe Illustrator CS4 format