feat: add sidebar and breadcrumb CSS exports #3
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Add layout component styles to the package so projects can import canonical sidebar and breadcrumb CSS from
@bchen/uirather than writing them locally.New files
dist/sidebar.cssStructural styles for the desktop sidebar layout:
<main>at≥ 768px@media (max-width: 767px)— sidebar hidden, top bar shown insteaddist/breadcrumb.css/or›)aria-current="page"styling for the current segment (plain text, no underline)Package exports
Add to
package.json:Tests
Add snapshot or string-contains tests in
tests/verifying the new CSS files export non-empty content and reference the expected token variables (e.g.--fg,--bg,--accent).Resolved: PR #5 (merge_commit
4a1a01347c)