Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ router: apps pass their own link component in through `UiProvider`.
Install a release by URL. No registry account or token is needed:

```sh
npm install --save-exact https://github.com/project-graphite/graphite-ui/releases/download/v0.4.0/project-graphite-ui-0.4.0.tgz
npm install --save-exact https://github.com/project-graphite/graphite-ui/releases/download/v0.4.1/project-graphite-ui-0.4.1.tgz
```

Load the theme after Tailwind. `@source` lets Tailwind see the classes the components use, and its
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@project-graphite/ui",
"version": "0.4.0",
"version": "0.4.1",
"description": "Project Graphite design tokens, theme and React components.",
"license": "MIT",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions src/components/AppShell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ export function AppShell({
<a className="skip-link" href="#content">
skip to content
</a>
<header className="sticky top-0 z-20 border-b border-line-soft bg-paper/90 backdrop-blur-md">
<div className={sidebar ? 'shell-bar flex h-16 items-center gap-2' : 'shell flex h-16 items-center gap-6'}>
<header className="sticky top-0 z-20 h-(--header-height) border-b border-line-soft bg-paper/90 backdrop-blur-md">
<div className={sidebar ? 'shell-bar flex h-full items-center gap-2' : 'shell flex h-full items-center gap-6'}>
{sidebar && (
<button
aria-controls="app-sidebar"
Expand Down
8 changes: 5 additions & 3 deletions src/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,11 @@ body {
}
}

:focus-visible {
outline: 2px solid var(--color-ink);
outline-offset: 3px;
@layer base {
:focus-visible {
outline: 2px solid var(--color-ink);
outline-offset: 3px;
}
}

@layer components {
Expand Down
Loading