@sapphire-sh/ui
v0.32.0
Published
@sapphire-sh/ui
Downloads
6,305
Readme
@sapphire-sh/ui
Shared color and font tokens and React components for sapphire-sh Next.js apps.
Installation
npm install -S @sapphire-sh/uiSetup
src/app/globals.css:
@import 'tailwindcss';
@import '@sapphire-sh/ui/theme.css';
@source '../../node_modules/@sapphire-sh/ui/lib';The theme reads two font variables that the app fills with next/font/google:
--font-noto-sans-kr:Noto_Sans_KRloaded withvariable: '--font-noto-sans-kr'--font-jetbrains-mono:JetBrains_Monoloaded withvariable: '--font-jetbrains-mono'
Samples
https://sapphire-sh.github.io/sapphire-ui/
