Skip to content

Customization

Customize AdminKit's theme, layout, sidebar position and sidebar layout. Match AdminKit with your brand.

WARNING

This feature is only available in AdminKit PRO. Learn more.

Themes

AdminKit includes two stylesheets, one for dark mode & one for light mode.

Light mode:

html
<link href="{PATH}/dist/css/light.css" rel="stylesheet">

Dark mode:

html
<link href="{PATH}/dist/css/dark.css" rel="stylesheet">

Make sure to set data-theme to dark if you're planning to use the dark mode, as documented in the section below.

Color scheme, sidebar, layout

You are able to customize the layout of the page by adjusting the data attributes on the body element in your HTML files.

The following options are available:

NameOptionsDescription
data-themedefault, dark, light, coloredColor scheme
data-layoutfluid, boxedContainer layout system
data-sidebar-positionleft, rightPosition of the sidebar
data-sidebar-layoutdefault, compactLayout of the sidebar
html
<body
  data-theme="default"
  data-layout="fluid"
  data-sidebar-position="left"
  data-sidebar-layout="default"
>
...
</body>