Block a user
@albedo/ui-theme (0.1.0)
Published 2026-09-25 10:19:11 +00:00 by ReaperOfVeriod
Installation
@albedo:registry=https://git.reaperofveriod.nl/api/packages/ReaperOfVeriod/npm/npm install @albedo/ui-theme@0.1.0"@albedo/ui-theme": "0.1.0"About this package
Shared color theme model for Albedo and its web dashboard (palette presets, DOM application, copy/paste wire format).
@albedo/ui-theme
Shared color theme model for Albedo (the desktop app) and its collection server dashboard. Importing this package keeps their palettes from drifting.
Contents
Palette/CustomThemetypes +THEME_PRESETS(8 built-in presets).applyTheme(palette)— flattens a palette into--ed-*CSS custom properties on:root.serializeTheme/parseTheme— the copy/paste wire format:albedo-theme:1:{"name":"…","palette":{…12 hex slots…}}.theme.css— the shared:rootdesign tokens (import.or./theme.css).
Publishing (Gitea npm registry)
npm run build
npm publish --registry https://git.reaperofveriod.nl/api/packages/ReaperOfVeriod/npm/
Consuming apps add to .npmrc:
@albedo:registry=https://git.reaperofveriod.nl/api/packages/ReaperOfVeriod/npm/
Dependencies
Development Dependencies
| ID | Version |
|---|---|
| typescript | ^5.5.0 |
Details
2026-09-25 10:19:11 +00:00
Assets (1)
Versions (2)
View all
npm
30
3.2 KiB
ui-theme-0.1.0.tgz
3.2 KiB