mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-16 22:58:02 +00:00
feat(studio): panel tabs take the decided Current design
Replaces the pill, underline and close treatment with the Current design: panels are cards on the shell with one border each, the shown tab is a fill in the card colour that slides to the next tab, only the shown tab carries its type icon and close glyph, strip actions sit on the active group only, and narrow strips scroll with an edge fade.
This commit is contained in:
@@ -270,6 +270,39 @@
|
||||
],
|
||||
"opacity": 0.64,
|
||||
"format": "rgb-channels"
|
||||
},
|
||||
{
|
||||
"id": "dock-tab-label",
|
||||
"foreground": "--color-text-2",
|
||||
"background": ["--panel-strip-bg"],
|
||||
"role": "text",
|
||||
"minimum": 4.5,
|
||||
"sources": [
|
||||
"packages/studio/src/components/dock/dock.css:13",
|
||||
"packages/studio/src/components/dock/dock.css:15"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "dock-shown-tab-label",
|
||||
"foreground": "--color-text-1",
|
||||
"background": ["--panel-card-bg"],
|
||||
"role": "text",
|
||||
"minimum": 4.5,
|
||||
"sources": [
|
||||
"packages/studio/src/components/dock/dock.css:12",
|
||||
"packages/studio/src/components/dock/dock.css:14"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "dock-hovered-tab-label",
|
||||
"foreground": "--color-text-1",
|
||||
"background": ["--panel-strip-bg", "--panel-tab-bg-hover"],
|
||||
"role": "text",
|
||||
"minimum": 4.5,
|
||||
"sources": [
|
||||
"packages/studio/src/components/dock/dock.css:97",
|
||||
"packages/studio/src/components/dock/dock.css:99"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user