Cave design system
العربية

Brand

Downloads

Everything here is generated from the same tokens file as this site.

Alpha evaluation packages. npm and pub.dev publication is paused; website releases are tracked separately.

Install the web package

@cave-ui/core 0.1.0-alpha.1 · @cave-ui/tokens 0.1.0-alpha.1

npm install ./cave-ui-core-0.1.0-alpha.1.tgz
import '@cave-ui/core/tokens.css';
import '@cave-ui/core/styles.css';
import { createCave } from '@cave-ui/core';

const ui = createCave({
  locale: 'en',
  theme: 'system',
  storageKey: 'my-app-appearance'
});
ui.setLocale('ar');
ui.setTheme('dark');

// Your application updates its own translated content.
document.documentElement.addEventListener('cave:change', event => {
  console.log(event.detail);
});

The web core has no external runtime dependencies. Imports are server-safe; create the controller in the browser. The optional legacy.css supports cv- names during migration to cave-.

MIT License

Tokens

FileSize
tokens.jsonThe source file: every colour, type style, space, radius, shadow and motion value.33 KB
tokens.cssCSS variables for Light, Dark and Black. Set data-theme="light", "dark" or "black" on the root element.5.0 KB
components.cssLegacy cv- component styles for migration. New packages use cave- classes; tokens.css is required, fonts are optional.14 KB
fonts.css@font-face rules for the bundled fonts. Bundle the font files with your app; do not load them from a CDN.1.2 KB
cave_tokens.dartThe palette and one colour class per theme for Flutter.8.1 KB

Open fonts

Optional open fonts with their SIL OFL licence notices. Packages use system fallbacks until you bundle fonts.

FileSize
cave-ui-latin-400.woff2Cave UI Latin 40030 KB
cave-ui-latin-500.woff2Cave UI Latin 50031 KB
cave-ui-latin-600.woff2Cave UI Latin 60032 KB
cave-ui-latin-700.woff2Cave UI Latin 70030 KB
cave-ui-arabic-400.woff2Cave UI Arabic 40060 KB
cave-ui-arabic-500.woff2Cave UI Arabic 50063 KB
cave-ui-arabic-600.woff2Cave UI Arabic 60064 KB
cave-ui-arabic-700.woff2Cave UI Arabic 70061 KB

IBM Plex Sans — SIL OFL · IBM Plex Sans Arabic — SIL OFL

Logos and brand assets

The Cave logo, symbol, icons and patterns are not open source. They are on the brand site, with the rules for using them.

Open the brand site