Skip to content
Open
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
575 changes: 575 additions & 0 deletions DESIGN.md

Large diffs are not rendered by default.

20 changes: 15 additions & 5 deletions ui/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,22 @@ export default defineAppConfig({
},
button: {
slots: {
base: "cursor-pointer"
base: "cursor-pointer rounded-app-md! font-semibold transition-colors duration-150"
},
variants: {
ghost: {
neutral: {
base: "bg-transparent hover:bg-gray-50"
base: "bg-transparent hover:bg-app-surface-2 dark:hover:bg-app-surface-2"
}
},
outline: {
neutral: {
base: "border-app-hairline text-app-ink hover:bg-app-surface-2"
}
},
soft: {
primary: {
base: "bg-primary-500/10 text-primary-600 hover:bg-primary-500/15 dark:text-primary-400"
}
}
}
Expand Down Expand Up @@ -65,13 +75,13 @@ export default defineAppConfig({
},
dropdownMenu: {
slots: {
content: "w-(--reka-dropdown-menu-trigger-width) p-1",
item: "mx-0.5 px-3 py-2 rounded-md transition-colors duration-150"
content: "w-(--reka-dropdown-menu-trigger-width) rounded-app-md! border border-app-hairline bg-app-surface-1 p-1 text-app-ink shadow-lg",
item: "mx-0.5 rounded-app-sm px-3 py-2 transition-colors duration-150"
}
},
navigationMenu: {
slots: {
link: "cursor-pointer"
link: "cursor-pointer rounded-app-sm! transition-colors duration-150"
},
variants: {
disabled: {
Expand Down
Loading
Loading