Skip to content

Latest commit

 

History

History

ShellDocs.Tokens

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

ShellDocs

ShellDocs.Tokens

The design tokens of ShellDocs, the docs framework for .NET: CSS variables on :root for palette, radius, spacing and typography, in light and dark, named the shadcn way (--background, --foreground, --primary, --muted, --border, …).

ShellDocs.Components uses them, and any Blazor UI library that reads the same variables (ShellUI, or your own) matches the docs chrome without extra work. Besides the neutral default (Graphite) there are six colour presets, Harbor, Lagoon, Forest, Savanna, Ember and Jacaranda, picked with o.Theme in ShellDocs.Components.

dotnet add package ShellDocs.Tokens --prerelease
<link rel="stylesheet" href="_content/ShellDocs.Tokens/tokens.css" />

Links

Alpha: APIs may change between minor versions. MIT licensed.