mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
feat(frontend): default sidebar sections open and theme toasts
- Rework useSidebarSections to track sections independently, open by default - Theme sonner toasts with app color tokens and the selected theme mode
This commit is contained in:
1 parent
e77badb444
commit
edc3fb4219
6 files changed
+151
-87
No files matched your search
@@ -517,3 +517,23 @@ input:-webkit-autofill:active {
|
||||
.animate-progress {
|
||||
animation: progress 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
:root [data-sonner-toaster][data-sonner-theme] {
|
||||
--normal-bg: var(--color-popover);
|
||||
--normal-bg-hover: var(--color-accent);
|
||||
--normal-border: var(--color-border);
|
||||
--normal-border-hover: var(--color-border);
|
||||
--normal-text: var(--color-foreground);
|
||||
--success-bg: var(--color-popover);
|
||||
--success-border: var(--color-success);
|
||||
--success-text: var(--color-success);
|
||||
--info-bg: var(--color-popover);
|
||||
--info-border: var(--color-info);
|
||||
--info-text: var(--color-info);
|
||||
--warning-bg: var(--color-popover);
|
||||
--warning-border: var(--color-warning);
|
||||
--warning-text: var(--color-warning);
|
||||
--error-bg: var(--color-popover);
|
||||
--error-border: var(--color-destructive);
|
||||
--error-text: var(--color-destructive);
|
||||
}
|
||||
Reference in new issue
Block a user