Nixosoft-AI-Designs
Design CDN · version 1.0.0

One theme, linked by every Nixosoft app

Sand paper and charcoal ink, one sage accent, soft depth and sans type, in light and dark. Link these files instead of copying them, and every app changes together when the system changes.

Add it to an app

Two lines in the <head>

The script goes first and without defer, so a Dark choice is on the page before the first paint.

<script src="https://openc.hiradnikoo.com/ds/nixosoft-ai-designs/1/theme.js"></script>
<link rel="stylesheet" href="https://openc.hiradnikoo.com/ds/nixosoft-ai-designs/1/nixosoft-ai-designs.css">

Then put <div data-nx-theme-switch></div> where the Light / Dark / Same as system choice belongs. On openc.hiradnikoo.com the choice is shared by every port.

Choose what you need
FileWhat it is
nixosoft-ai-designs.cssThe full theme: tokens, fonts and every component.
nixosoft-ai-designs-dark-blue.cssThe Dark blue variant, for control rooms and monitoring walls. Dark only, so it needs no theme.js.
tokens.cssOnly the colours, type, shapes and fonts, for an app that keeps its own components (antd, MUI, Tailwind).
theme.jsThe Light / Dark / Same as system switch. NixosoftTheme.set('dark'), .get(), .onChange(fn).
icons.cssMaterial Symbols Rounded, as Dupligence uses them: <span class="ms">settings</span>. About 5 MB, so link it only where icons are used.
Which version

Follow the major, or pin one

/1/ always serves the newest 1.x and is cached for ten minutes. Use it on our own apps, which should change together.

/1.0.0/ never changes and is cached for a year. Pin it, with the hashes in manifest.json, where a page must not change under you:

<link rel="stylesheet" href="https://openc.hiradnikoo.com/ds/nixosoft-ai-designs/1.0.0/nixosoft-ai-designs.css"
      integrity="sha384-…" crossorigin="anonymous">
Hold the app to it

Write Design: Nixosoft-AI-Designs in the app's PROJECT.md, and run the checker on the app's own CSS in its tests:

node design-systems/nixosoft-ai-designs/checks/design-check.mjs <app css or html>

The rules, the colours and their measured contrast are in design-systems/nixosoft-ai-designs/README.md.