-
-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathspaces.ts
More file actions
18 lines (16 loc) · 553 Bytes
/
Copy pathspaces.ts
File metadata and controls
18 lines (16 loc) · 553 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// ── Space types ──
export interface SpaceColor {
hue: number; // OKLCh hue 0-360
chroma: number; // OKLCh chroma 0-0.4
gradientHue?: number; // Optional second hue for gradient
opacity?: number; // Island background opacity 0.2-1, defaults to 1.0
}
export interface Space {
id: string;
name: string;
icon: string; // Emoji or lucide PascalCase name ("Rocket")
iconType: "emoji" | "lucide";
color: SpaceColor;
createdAt: number;
order: number; // Position in bottom bar
}