How to use the Palatian icon font: styles, sizes, duotone colours and your own glyphs
The 401-glyph icon font that ships with Palatian: the class for each of the five styles, the size, transform, motion, stack and tile helpers, how to colour the duotone layer, and how to add a glyph with npm run icons.

Palatian has its own icon font, drawn for the template and licensed with it: 401 glyphs on a 24-unit grid, generated in code so every weight stays consistent. It powers the dock, the panel and the toolbar, and you can use it anywhere in your product. Tabler Icons ships alongside it for anything the Palatian set does not cover.
The markup
An icon is an <i> with a style class and a name class. The stylesheet is already linked in every page of both editions (assets/css/palatian-icons.min.css).
<i class="palatian palatian-cart"></i> <!-- regular -->
<i class="palatian-light palatian-cart"></i> <!-- light -->
<i class="palatian-bold palatian-cart"></i> <!-- bold -->
<i class="palatian-duotone palatian-cart"></i> <!-- duotone -->
<i class="palatian-fill palatian-cart"></i> <!-- fill -->
In the React edition the same markup works with className. The names are short English words with dashes: palatian-arrow-right, palatian-file-invoice, palatian-chart-donut. The full list is on the components page, where a click copies the markup, and on the template's own Icons page.
The five styles
| Style | Class | Notes |
|---|---|---|
| Regular | palatian | 2-unit stroke, the default |
| Light | palatian-light | 1.25-unit stroke, for large sizes and quiet UI |
| Bold | palatian-bold | 2.75-unit stroke, for small sizes and emphasis |
| Duotone | palatian-duotone | Outline plus a tinted second layer, current colour at 30% by default |
| Fill | palatian-fill | Both layers solid, like a filled icon |
Regular, Light and Bold are three font files; Duotone and Fill share a fourth, which carries the second layer. Not every glyph has a second layer; for those, Duotone and Fill show only the outline.
Colouring the second layer
Duotone and Fill draw the second layer in --palatian-secondary at --palatian-secondary-opacity. Set them inline or on a parent:
<i class="palatian-duotone palatian-bell" style="--palatian-secondary: #c9a227"></i>
<i class="palatian-fill palatian-heart" style="--palatian-secondary: #d93838; --palatian-secondary-opacity: .6"></i>
Helpers
- Sizes:
palatian-xs,palatian-sm,palatian-lg,palatian-xl,palatian-2x,palatian-3x,palatian-4x. The icon otherwise follows the font size of its parent. - Fixed width:
palatian-fw, for icons in a list that must line up. - Transforms:
palatian-flip-h,palatian-flip-v,palatian-rotate-90,palatian-rotate-180,palatian-rotate-270. - Motion:
palatian-spin,palatian-pulse,palatian-beat, all switched off when the user prefers reduced motion. - Stacks: a
palatian-stackspan with one icon inpalatian-stack-2xand one inpalatian-stack-1x. - Tiles:
palatian-tileputs the icon on a tinted rounded square in the primary colour; tune it with--palatian-tile-bgand--palatian-tile-color.
<i class="palatian palatian-refresh palatian-spin"></i>
<span class="palatian-stack"><i class="palatian palatian-circle palatian-stack-2x"></i><i class="palatian palatian-check palatian-stack-1x"></i></span>
<span class="palatian-tile"><i class="palatian-duotone palatian-invoice"></i></span>
Adding your own glyphs
Every glyph is defined in scripts/icons/build-icons.js with a handful of drawing helpers: frame, ring, capsule, stroke, arc, poly, and solid() for the duotone layer. Add an entry and run npm run icons from the template folder: the SVGs for every style, the four fonts, the CSS and the preview page in icons/font/palatian.html are regenerated. Paths must be filled, with outer contours clockwise and holes counter-clockwise.
// scripts/icons/build-icons.js
'pallet': () => frame(3, 14, 18, 7, 1) + capsule(7, 4, 7, 12) + capsule(17, 4, 17, 12) + capsule(4, 8, 20, 8),
Using the font outside the template
The font is licensed with the template, for use in the end product your licence covers. To use it in a page that does not link the template's stylesheet, copy icons/font/palatian.css and the woff2 and woff files, keeping the relative ../fonts/ paths or editing the @font-face rules to match.
For everything else there is Tabler Icons, also self-hosted in assets/fonts/: <i class="ti ti-brand-github"></i>, with 5,900+ MIT-licensed icons to browse at tabler.io/icons.