-
Notifications
You must be signed in to change notification settings - Fork 0
Documentation
- Provides a width constrained container for center-content
- Centered in page
<div class="k-container"></div>
- Provides fullwidth navbar for your page
.sticky
: Keeps navbar fixed at the top of the page through scrolling
.accented
: Adds a $primary
accent border to the top of the navbar
.shadow
: Adds a box-shadow to the navbar
.dark
: Triggers a dark navbar instead of a white navbar
.k-logo
: Item that appears at the start used for logos/page titles
.k-nav-list
: Container for navigation items
-
.nav-end
: Modifier to position list at the right of the nav -
.nav-center
: Modifier to position list in center of nav
.k-nav-item
: Child of .k-nav-list
, used to hold a navigation item
-
.is-dropdown
: Makes the item a dropdown item
.k-dropdown-title
: Holds the text for the dropdown
.k-dropdown
: Container for the dropdown elements
.k-dropdown-item
: Child of .k-dropdown
<div class="k-nav shadow dark">
<div class="k-container">
<div class="k-logo">
<img src="logo.png">
</div>
<div class="k-nav-list nav-end">
<div class="k-nav-item is-dropdown">
<div class="k-dropdown-title">Dropdown</div>
<div class="k-dropdown accented">
<a class="k-dropdown-item">Dropdown Item</a>
<a class="k-dropdown-item">Dropdown Item</a>
</div>
</div>
<a class="k-nav-item" href="">Nav Item</a>
</div>
</div>
</div>
- Full width hero section
.large
: A larger sized hero
.dark
: A dark color theme
.light
: A light color theme
.k-hero-content
: Container for text within the hero
-
.k-title
: Child of.k-hero-content
for title text -
.k-subtitle
: Child of.k-hero-content
for subtitle text
<!-- large, dark, light modifiers -->
<div class="k-hero"> <
<div class="k-hero-content">
<div class="k-container">
<div class="k-title"></div>
<div class="k-subtitle"></div>
</div>
</div>
</div>
- Container for type based styles
- Styling for h1 through h6, p, block quote, ul, and ol
- Flexible, minimal button styling
- Modifiers can be mixed and matched
.rounded
: Rounds the edges of the button
.bordered
: Makes the background of the button white and only displays the border
.primary
, .info
, .success
, .warning
, .error
: Color variations for the button
<!-- rounded and bordered modifiers -->
<div class="k-button rounded bordered"></div>
<!-- primary, info, warning, success, error color modifiers -->
<div class="k-button error"></div>
- Dynamic sizing grid system
- Mobile friendly breakpoints
.centered
: Centers the elements
.wrapped
: Allows for column wrapping
.borderless
: Removes gap spacing from between the columns
- Inner element of .k-grid
.full-width
: makes the column the full width of the grid
.one-quarter
: makes the column 1/4 of the grid
.one-half
: makes the column 1/2 of the grid
.three-quarters
: makes the column 3/4 of the grid
.is-{x}
: 12 point grid system modifier for sizing (1 -12)
.center-content
: Centers the content of the column horizontally
<div class="k-grid">
<div class="k-column one-quarter"></div>
<div class="k-column one-half"></div>
<div class="k-column one-quarter"></div>
</div>
- input, select, label, and textarea
<div class="k-field">
<label class="k-label">Input field</label>
<input type="text" class="k-input">
</div>
<div class="k-field">
<label class="k-label">Dropdown</label>
<div class="k-select">
<select name="">
<option value="">Option 1</option>
<option value="">Option 2</option>
</select>
</div>
</div>
- striped, solid header, and selected modifiers
<table class="k-table striped">
<thead class="solid">
<tr>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr class="selected">
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</tbody>
</table>
- Global night-mode styling on all current components
<body class="k-nightmode">
<!-- Application -->
</body>
The base modifiable SCSS variables for the styles. All variables can be overwritten by defining them before importing Kent.