perf(style): codex-skills/cowa-admin-list-ui

This commit is contained in:
zhangheng
2026-04-28 14:36:36 +08:00
parent 2e33b6fd7e
commit 9d9bf4ff7f
20 changed files with 2672 additions and 812 deletions

View File

@@ -0,0 +1,29 @@
export function getShellNavLinkStyles(active: boolean) {
return {
root: {
minHeight: 40,
borderRadius: 4,
padding: "8px 12px",
color: active ? "#1874FF" : "#4E5969",
backgroundColor: active ? "#E7EFFF" : "transparent",
transition: "background-color 0.2s ease, color 0.2s ease",
},
body: {
gap: 8,
},
label: {
fontSize: 14,
fontWeight: 500,
lineHeight: "22px",
},
section: {
color: active ? "#1874FF" : "inherit",
},
chevron: {
color: active ? "#1874FF" : "#86909C",
},
children: {
paddingLeft: 0,
},
} as const
}