mirror of
https://github.com/olehomelchenko/astrolabe.git
synced 2026-08-08 02:02:33 +00:00
Refine header emphasis, field-on-layer treatment, and narrow-pane control collapse
This commit is contained in:
@@ -29,6 +29,10 @@ export type IconName =
|
||||
| 'add' // add / create-new — Carbon Add
|
||||
| 'search' // live library search — Carbon Search
|
||||
| 'settings' // per-pane settings disclosure (gear) — Carbon Settings
|
||||
| 'import' // import a workspace file — Carbon Upload (a file goes in)
|
||||
| 'export' // export the workspace to a file — Carbon Download (a file comes out)
|
||||
| 'info' // about / information — Carbon Information (outline)
|
||||
| 'revert' // revert draft to last published — Carbon Reset
|
||||
// Pane-toggle sub-family (spec §01A): a panel frame with one region filled, so the
|
||||
// glyph shows *which* pane it controls by position (left / centre / right).
|
||||
| 'pane-library' // toggle the library pane (left)
|
||||
@@ -69,6 +73,32 @@ const GLYPHS: Record<IconName, ReactNode> = {
|
||||
<rect x="12" y="2" width="8" height="2" />
|
||||
</>
|
||||
),
|
||||
// Carbon Upload — open tray with an up arrow (a file is brought into the app).
|
||||
import: (
|
||||
<>
|
||||
<path d="M26,24v4H6V24H4v4a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V24Z" />
|
||||
<path d="M6,12l1.41,1.41L15,5.83V24h2V5.83l7.59,7.59L26,12,16,2Z" />
|
||||
</>
|
||||
),
|
||||
// Carbon Download — open tray with a down arrow (a file is written out).
|
||||
export: (
|
||||
<>
|
||||
<path d="M26,24v4H6V24H4v4a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V24Z" />
|
||||
<path d="M26,14l-1.41-1.41L17,20.17V2H15V20.17l-7.59-7.58L6,14l10,10Z" />
|
||||
</>
|
||||
),
|
||||
// Carbon Information (outline) — ring + "i".
|
||||
info: (
|
||||
<>
|
||||
<path d="M17,22V14H13v2h2v6H12v2h8V22Z" />
|
||||
<path d="M16,8a1.5,1.5,0,1,0,1.5,1.5A1.5,1.5,0,0,0,16,8Z" />
|
||||
<path d="M16,30A14,14,0,1,1,30,16,14,14,0,0,1,16,30ZM16,4A12,12,0,1,0,28,16,12,12,0,0,0,16,4Z" />
|
||||
</>
|
||||
),
|
||||
// Carbon Reset — a circular arrow, "return to the prior state".
|
||||
revert: (
|
||||
<path d="M18,28A12,12,0,1,0,6,16v6.2L2.41,18.59,1,20l6,6,6-6L11.59,18.59,8,22.2V16A10,10,0,1,1,18,26Z" />
|
||||
),
|
||||
dataset: (
|
||||
<>
|
||||
<rect x="8" y="18" width="4" height="2" />
|
||||
|
||||
Reference in New Issue
Block a user