Fire UI Getting Started
Introduction Download Customize
Layout
Container Grid
Components
Accordion Box Buttons Code Color and theme Form Modal Navigation bar Slideshow Spacing Table Tabs Tooltip

Color and theme

Fire UI provides some basic colors and Fire UI supports night theme. To use only Fire UI color and theme features, copy and paste this stylesheet and style tag into your head element to load Fire UI color and theme CSS and JS.

<link rel="stylesheet" href="https://unpkg.com/@fire-ui/fire-ui@0.1.1/src/feature/Colors%20and%20Theme/color.css">
<script src="https://unpkg.com/@fire-ui/fire-ui@0.1.1/src/feature/Colors%20and%20Theme/color.js"></script>

Theme

Fire UI has light theme and dark theme. To use this inside your website, add theme attribute to body tag, with value light or dark. For example, <body theme="dark"> will make your website in dark mode. In contrast, <body theme="light"> will make your website in light mode. In case of switching theme, add switch-theme attribute into buttons.

Example:

You can switch theme of this website by clicking here and

<p>You can switch theme of this website by clicking <u switch-theme>here</u> and <button switch-theme class="theme-reverse btn">Here</button></p>

Colors

Note that you can customize colors. For more information, read Customize

Text colors class:

Special class:

Background color class