تخطَّ إلى المحتوى

Token downloads

هذا المحتوى غير متوفر بلغتك بعد.

The tokens ship as the npm package @okrado/brand, published to GitHub Packages for the organisation’s repositories. The files below are the same build, served for people and agents without an install.

File For
ui.css CSS variables for light, dark, system and both densities
tokens.json resolved values by mode and density
theme.css the Tailwind theme that maps utilities to the variables

In a product, install the package and import the CSS once:

app.css
@import "@okrado/brand/web/ui.css";
@import "@okrado/brand/web/tailwind/theme.css";

Set the mode and density on the root element; never write a colour value:

index.html
<html data-mode="system" data-density="comfortable" lang="en" dir="ltr">

A token you need that does not exist is a change in okrado/brand: change brand.yaml and regenerate, never a local value.

المسؤول
Okrado founders
آخر تحديث
تُراجَع قبل