Skip to content

Releases

v1.2.1: font tokens and cn() fix

Choose a tag to compare

@salahudinalyb salahudinalyb released this 16 Nov 09:15

Two fixes found while testing the skill in a fresh Next.js project.

Fixed

  • Fonts. The .text-* classes never used Inter or Roboto Mono. The primitive and semantic font-family variables had the same CSS name, so --font-family-sans ended up pointing at itself and became invalid. The primitives are now --font-family-inter and --font-family-roboto-mono. The names you use in UI (--font-family-sans, --font-family-mono, font-sans, .text-*) are unchanged.
  • cn() dropping type classes. shadcn's cn() uses tailwind-merge, which reads text-label-md and the other type classes as text colors and drops one when it meets text-foreground. DESIGN.md section 1 now shows the extendTailwindMerge setup for lib/utils.ts.

Upgrading

  • Copy the new tokens/tokens.css into your project.
  • Update cn() in lib/utils.ts as shown in DESIGN.md section 1.
  • If you installed the skill: git -C ~/.claude/skills/salkarsaui pull

v1.2.0: install as an Agent Skill

Choose a tag to compare

@salahudinalyb salahudinalyb released this 16 Nov 08:11

SalkarsaUI can now be installed once as an Agent Skill and used in every project. Your agent loads it on its own whenever it works on UI, and copies the tokens into a project that doesn't have them yet.

# Claude Code
git clone https://github.com/salahudinalyb/SalkarsaUI ~/.claude/skills/salkarsaui

# Codex and other tools that read ~/.agents/skills
git clone https://github.com/salahudinalyb/SalkarsaUI ~/.agents/skills/salkarsaui

Or paste this into your agent: "Install the SalkarsaUI skill from https://github.com/salahudinalyb/SalkarsaUI". Update later with git -C ~/.claude/skills/salkarsaui pull.

Added

  • SKILL.md at the repo root, which turns the whole repo into an Agent Skill.

Changed

  • AGENTS.md and the Cursor and Copilot rules no longer repeat exact sizes and spacing steps. They point to DESIGN.md, which is now the only place those values are written.

Tokens and DESIGN.md are unchanged from 1.1.0.

SalkarsaUI v1.1.0

Choose a tag to compare

@salahudinalyb salahudinalyb released this 13 Nov 08:41

SalkarsaUI now targets responsive web (mobile web, tablet and desktop) and ships a theme for shadcn/ui and Tailwind CSS v4.

Added

  • 18 components, for 51 in total: Date picker, Calendar, Calendar day, Skeleton, Progress, Navbar, Navbar link, Sidebar, Sidebar item, Breadcrumb, Breadcrumb item, Pagination, Pagination item, Popover, Table, Table row, Table cell and Table header cell.
  • Dialog sizes (Mobile, sm, md, lg) and List item states (Default, Hover, Pressed).
  • Hover and Focus states on Button, Icon button, Chip, Menu item, Tab, Input, Select, Textarea and all new navigation components.
  • Breakpoints sm 640, md 768, lg 1024, xl 1280 and 2xl 1536, with 4, 8 and 12 column grids.
  • Layout tokens: container 1280, navbar 64, sidebar 256, form 560, prose 680, and dialog widths 480, 640 and 800. There are now 573 variables in total.
  • Effect style focus/ring-offset (12 effect styles in total) and 4 grid styles.
  • tokens/shadcn.css, which points shadcn/ui variables at SalkarsaUI tokens. Dark mode now works with data-theme="dark" or .dark.
  • tokens/tokens.json now also includes the effect styles (shadows, focus rings and background blurs).

Changed

  • title/sm is now 14/20, so it no longer matches title/md. All other token values from 1.0.0 are unchanged.
  • DESIGN.md, AGENTS.md, CLAUDE.md, the Cursor and Copilot rules and llms.txt were rewritten for web and shadcn/ui.
  • Docs and token, component and text style descriptions were reworded to read more plainly.

SalkarsaUI v1.0.0

Choose a tag to compare

@salahudinalyb salahudinalyb released this 13 Nov 07:26

First public release of SalkarsaUI.

Added

  • 33 components: Button, Icon button, Chip, Input, Input addon, Textarea, Select, Checkbox, Radio, Switch, Segmented control, Segment, Alert, Toast, Tooltip, Badge, Spinner, App bar, Bottom navigation, Nav item, Tabs, Tab, Menu, Menu item, Card, Dialog, Bottom sheet, Action sheet, Action sheet item, List item, Avatar, Status bar, Home indicator.
  • 959 icons in Regular and Filled styles.
  • 552 tokens across Primitives, Color (light), Color Dark, Spacing, Shape and Typography, each with code syntax for Web, Android and iOS and a short usage note.
  • 21 text styles and 11 effect styles.
  • DESIGN.md, AGENTS.md, CLAUDE.md, Cursor and Copilot rules, tokens.css and tokens.json.
  • MIT license.