Skip to content

Repository files navigation

Renku UI Kit

The foundational design system for the Renku platform — brand identity, design tokens (colour, typography, spacing, opacity, radius, elevation) and base components (buttons, badges, accordion, alerts, tooltips, cards, pagination, modal).

Every value is a semantic CSS custom property, declared once in styles/tokens.css and consumed everywhere.

Live site: https://.github.io//


Contents

Path What's in it
index.html The whole UI kit page — brand identity, tokens, components
styles/tokens.css Semantic design tokens (light + dark)
styles/kit.css Layout and component styles for the page
src/main.ts TypeScript: theme toggle, click-to-copy, data-driven sections
dist/main.js Compiled output (committed so the site works with no build)
assets/ Logo, favicon, key visuals
renku-design-skill.md Portable agent skill — use the system with any AI
renku_design.md Long-form token documentation

Run locally

No dependencies needed to view it — it's a static page:

npm start          # serves on http://localhost:5173

To work on the TypeScript:

npm install
npm run build      # or: npm run watch

dist/ is intentionally committed so the page works on any static host without a build step.


Deploy to GitHub Pages

The repo ships a workflow at .github/workflows/deploy.yml that builds and publishes on every push to main.

  1. Push the repo to GitHub.
  2. Settings → Pages → Build and deployment → Source: GitHub Actions.
  3. Push to main. The site appears at https://<your-user>.github.io/<repo-name>/.

Custom domain: add it under Settings → Pages → Custom domain and point a CNAME record at <your-user>.github.io.

Notes:

  • .nojekyll is present so paths beginning with _ are served correctly.
  • All asset paths are relative, so the site works from a subpath.

Prefer no Actions? Set Pages → Source: Deploy from a branch → main / root — the committed dist/ makes that work too.


Using the design system with an AI agent

renku-design-skill.md is a portable brief — paste it into Claude, Gemini, ChatGPT, Copilot or any other assistant and ask it to follow the Renku Design System. It contains the golden rules, every token, colour and logo usage rules, and recipes for each component.

The page also offers it as a download ("Download agent skill").


Conventions

  • Reference tokens by name (--color-primary, --space-4), never raw values.
  • One primary action per view; everything else outline or secondary.
  • The logo is never modified — see the "Incorrect usage" rules on the page.
  • Light and dark themes are both first-class (data-theme on <html>).

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages