Default Layout
Installation
Want something that just "looks good?" The next steps will get the default layout set up for you.
Quick Installation
The quick install option will offer to scaffold the default layout for you. Feel free to skip to the next section if you've already set up your application.
Manual Installation
Add Color Scheme Script
Add the following script inside the
<head>
tag of yourapp.html
file.Copy Font Files
Copy the theme font files to your lib folder.
Import Assets
Import theme polyfills and styles into your layout file.
Add Default Layout
Import
KitDocsLayout
and add it to your layout markup.Set Brand Colors
Set your brand colors using RGB. You can play around in the browser to find what works.
Tailwind
The default layout is built with Tailwind. If you're also using Tailwind in your project, we recommend removing certain CSS files so you don't end up with duplicate utility classes.
- First, remove the following CSS imports from your layout file:
- Next, add our client files to your Tailwind
contents
config:
- Finally, copy over our
Tailwind config
file from GitHub and adjust values as desired. Ignore the
corePlugins
andfontFamily
settings.