Customization
Brand Colors
KitFront starter kits include color variables inside assets/css/core.css. These variables control the default page colors, section background helper classes, and button colors.
Core Colors
Core colors are used for the default page background, body text, and common white or black values used across the starter kit.
Brand Colors
Brand colors are the main accent colors in KitFront. They are used by helper classes like .kf-bg-brand-1 and .kf-bg-brand-2, and can also be used by sections for accents, icons, badges, or highlights.
Light Section Backgrounds
Light background variables are used by .kf-bg-light-1, .kf-bg-light-2 and .kf-bg-light-3. These classes apply the light background and text colors are set to .kf-black.
Dark Section Backgrounds
Dark background variables are used by .kf-bg-dark-1 and .kf-bg-dark-2. These classes apply the dark background and text colors are set to .kf-white.
Gradient Backgrounds
Gradient variables are used by .kf-bg-gradient-1 and .kf-bg-gradient-2. These classes apply the gradient background and text colors are set to .kf-white
Button Colors
Button color variables control the default and hover states for KitFront button classes such as .btn-primary, .btn-secondary, .btn-light, and .btn-dark.
Using Your Own Colors
You can replace any of these values inside assets/css/core.css with your own brand colors. Once updated, all KitFront sections and helper classes will automatically follow your new color system.
If your project requires additional colors, you can create new variables and helper classes following the same naming convention used throughout the starter kit.
/* Add a new color variable */
--kf-brand-color-3: #2563eb;
/* Create a helper class */
.kf-bg-brand-3 {
background: var(--kf-brand-color-3) !important;
color: var(--kf-white) !important;
}