Table of Contents

Component Stylesheet

About

This functionality gives the possibility for Web Designers to customize the style of Combostrap components.

How it works?

If a stylesheet with the name of a component is found in the components/css directory of a theme, it will be applied to your page.

Example for the badge component

Default Component Stylesheet File Explorer

Component Styling Class

To ease the selection of components in order to apply a style, every component got two generated classes

name-cs
name-type-cs

where:

For instance, for a badge with the type primary, you will get the class:

badge-cs
badge-primary-cs

This classes permits selecting the component by type and applying the style accordingly.

Example

You should first create your theme

Then in the components directory

badge-primary-cs{
    color: #333 !important;
}

code.file-cs{
    color: #333 !important;
}
pre.file-cs{
    background-color: #e9ecef !important;
}

Bootstrap stylesheet

Because by default, the style applied is the style of the bootstrap stylesheet, you may also customize them: