mirror of
https://github.com/Dvorinka/Primora.git
synced 2026-10-28 15:51:23 +00:00
feat: ship phase 1 surface area (v0.2.0)
- primora CLI + @primora/mcp server over generated client - auth users admin panel, mobile bottom nav - release workflow: GHCR images, compiled binaries, npm tarballs - fix gzip Content-Length truncation, nginx upstream re-resolution Authored By: TDvorak <[email protected]> Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
f77823ad90
commit
420502eec1
90 files changed
+9172
-9718
No files matched your search
@@ -40,7 +40,7 @@ export function Tabs(props: TabsProps) {
|
||||
|
||||
const getTabClasses = (tab: Tab) => {
|
||||
const isActive = activeTab() === tab.id;
|
||||
const base = `${sizeClasses[size()]} font-medium transition-all duration-fast flex items-center gap-2`;
|
||||
const base = `${sizeClasses[size()]} font-medium transition-all duration-150 flex items-center gap-2`;
|
||||
|
||||
if (tab.disabled) {
|
||||
return `${base} opacity-50 cursor-not-allowed`;
|
||||
@@ -51,19 +51,19 @@ export function Tabs(props: TabsProps) {
|
||||
return `${base} rounded-lg ${
|
||||
isActive
|
||||
? "bg-accent text-white shadow-sm"
|
||||
: "text-text-secondary hover:text-text-primary hover:bg-surface-2"
|
||||
: "text-text-2 hover:text-text-1 hover:bg-surface-2"
|
||||
}`;
|
||||
case "underline":
|
||||
return `${base} border-b-2 ${
|
||||
isActive
|
||||
? "border-accent text-accent"
|
||||
: "border-transparent text-text-secondary hover:text-text-primary hover:border-border-hover"
|
||||
: "border-transparent text-text-2 hover:text-text-1 hover:border-border-strong"
|
||||
}`;
|
||||
default:
|
||||
return `${base} rounded-lg ${
|
||||
isActive
|
||||
? "bg-surface-2 text-text-primary"
|
||||
: "text-text-secondary hover:text-text-primary hover:bg-surface-1"
|
||||
? "bg-surface-2 text-text-1"
|
||||
: "text-text-2 hover:text-text-1 hover:bg-surface"
|
||||
}`;
|
||||
}
|
||||
};
|
||||
@@ -90,7 +90,7 @@ export function Tabs(props: TabsProps) {
|
||||
</Show>
|
||||
<span>{tab.label}</span>
|
||||
<Show when={tab.badge}>
|
||||
<span class="badge-neutral text-2xs">{tab.badge}</span>
|
||||
<span class="badge-neutral text-xs">{tab.badge}</span>
|
||||
</Show>
|
||||
</button>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user