Themes Coder Kundol HTMLDocs
Customise

Customisation

Change the template through its Sass variables, then recompile with gulp watch (see Installation). If you don't use the build, you can override the same CSS custom properties in a small stylesheet loaded after style.css.

Brand colours#

Open src/scss/private/_variables.scss. The two main colours are near the top:

$primary:   #131313;  // main colour of the website
$secondary: #fe4536;  // buttons and highlights

Change them and save; the storefront CSS recompiles. Further down, the :root block turns these into CSS custom properties (--primary, --secondary, --primary-dark, --secondary-dark …) that the components use.

Colour themes#

Besides the default colours, the storefront has ready-made colour themes, each a class on <body>:

<body class="color-theme-yellow">

Available classes: color-theme-blue, color-theme-green, color-theme-navy-blue, color-theme-red, color-theme-pink and color-theme-yellow (the ones in the demo's switcher), plus color-theme-brown, color-theme-graydark, color-theme-graylight, color-theme-greenlight, color-theme-indigo, color-theme-olive, color-theme-pteal, color-theme-purple, color-theme-sapple, color-theme-scarlet, color-theme-shine, color-theme-skylight, color-theme-tan and color-theme-teal.

Each theme is defined in _variables.scss (search for .color-theme-yellow, for example), with a matching dark-mode version (.dark.color-theme-yellow). Edit a theme's two colours there to make your own.

The colour switcher on the demo only changes the class while you browse. To fix a theme for your site, add the class to the <body> tag of your pages.

Fonts#

The template uses Poppins. The font families are set in src/scss/private/_variables.scss:

$font-family-sans-serif: 'Poppins-Regular', sans-serif;
$font-family-base-bold:   'Poppins-Bold', sans-serif;
$font-family-base-medium: 'Poppins-Medium', sans-serif;

The Poppins files themselves are in src/fonts/ and are declared with @font-face further down the same file. To use another font, add its files (or a Google Fonts link in the page <head>) and change these variables.

Admin panel colours#

The admin panel's colours are CSS custom properties in src/admin/assets/scss/private/_variables.scss:

PropertyUsed for
--artical-background-primaryMain buttons, active menu items
--artical-background-secondarySecondary buttons and highlights
--artical-color-primaryPrimary text and icon colour
--artical-color-secondarySecondary text colour
--artical-background-primary-dark, -darkest, -lightHover and tint shades of the primary colour
--artical-background-secondary-dark, -darkestHover and tint shades of the secondary colour

They take their values from the Sass $primary and $secondary variables in the same file, so changing those two is usually enough.

The admin has its own colour themes too, as classes on the admin <body>: color-theme-default, color-theme-blue, color-theme-red, color-theme-green, color-theme-yellow and color-theme-navy-blue. The settings panel on the right of the admin switches between them.

Icons#

The storefront uses Font Awesome 5 icons:

<i class="fas fa-shopping-cart"></i>

The admin panel mostly uses inline SVG icons, which stay sharp at any size. You can use either in your own pages.