Skip to content

Commit a9fe03d

Browse files
committed
docs: update timeline and settings documentation with new custom theme colors
1 parent 6e3ad79 commit a9fe03d

2 files changed

Lines changed: 45 additions & 29 deletions

File tree

lana-docs-site/docs/docs/features/timeline.md

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The minimap gives you instant context of your entire log. Spot hotspots at a gla
3939

4040
- **Skyline Chart**: A density-based visualization:
4141
- **Height** = maximum call stack depth at that point
42-
- **Color** = dominant event category (method, SOQL, DML, etc.)
42+
- **Color** = dominant event category (Apex, SOQL, DML, etc.)
4343
- **Opacity** = event density (brighter = more events)
4444
- **Viewport Lens**: A window showing exactly what's visible in the main timeline (time range horizontal, depth range vertical)
4545
- **Time Axis**: Time reference markers at the top
@@ -333,23 +333,25 @@ You can create custom color themes to match your preferences or specific use cas
333333

334334
```json
335335
"lana.timeline.customThemes": {
336-
"My Theme": {
337-
"codeUnit": "#0176D3",
338-
"workflow": "#CE4A6B",
339-
"method": "#54698D",
340-
"flow": "#9050E9",
341-
"dml": "#D68128",
342-
"soql": "#04844B",
343-
"system": "#706E6B"
336+
"Glacial Warmth": {
337+
"apex": "#6882A6",
338+
"codeUnit": "#7A9B6E",
339+
"system": "#9E8E7C",
340+
"automation": "#D98650",
341+
"dml": "#C85A5A",
342+
"soql": "#57A89A",
343+
"callout": "#C9A64D",
344+
"validation": "#8B7BAC"
344345
},
345-
"High Contrast": {
346-
"codeUnit": "#722ED1",
347-
"workflow": "#52C41A",
348-
"method": "#1890FF",
349-
"flow": "#00BCD4",
350-
"dml": "#FF9100",
351-
"soql": "#EB2F96",
352-
"system": "#90A4AE"
346+
"Orchid Slate": {
347+
"apex": "#647C96",
348+
"codeUnit": "#8872A8",
349+
"system": "#8A7E7E",
350+
"automation": "#C08545",
351+
"dml": "#C94C6E",
352+
"soql": "#5A9E85",
353+
"callout": "#B5A044",
354+
"validation": "#4EA6A6"
353355
}
354356
}
355357
```
@@ -358,13 +360,14 @@ You can create custom color themes to match your preferences or specific use cas
358360

359361
Each theme requires the following color properties (in hex format):
360362

363+
- **apex** - Apex method entry/exit events
361364
- **codeUnit** - Code Unit events
362-
- **workflow** - Workflow and automation events
363-
- **method** - Method entry/exit events
364-
- **flow** - Flow execution events
365+
- **system** - System method calls
366+
- **automation** - Workflow, Flow, and Process Builder events
365367
- **dml** - DML operations (insert, update, delete, etc.)
366368
- **soql** - SOQL queries
367-
- **system** - System method calls
369+
- **callout** - HTTP callout events
370+
- **validation** - Validation rule events
368371

369372
Custom themes will appear in the theme selector alongside built-in themes and can be switched using the Command Palette or settings.
370373

lana-docs-site/docs/docs/settings.md

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,26 @@ or
3131
settings.json
3232

3333
```json
34-
"lana.timeline.colors": {
35-
"Code Unit": "#88AE58",
36-
"Workflow": "#51A16E",
37-
"Method": "#2B8F81",
38-
"Flow": "#337986",
39-
"DML": "#285663",
40-
"SOQL": "#5D4963",
41-
"System Method": "#5C3444"
34+
"lana.timeline.customThemes": {
35+
"Glacial Warmth": {
36+
"apex": "#6882A6",
37+
"codeUnit": "#7A9B6E",
38+
"system": "#9E8E7C",
39+
"automation": "#D98650",
40+
"dml": "#C85A5A",
41+
"soql": "#57A89A",
42+
"callout": "#C9A64D",
43+
"validation": "#8B7BAC"
44+
},
45+
"Orchid Slate": {
46+
"apex": "#647C96",
47+
"codeUnit": "#8872A8",
48+
"system": "#8A7E7E",
49+
"automation": "#C08545",
50+
"dml": "#C94C6E",
51+
"soql": "#5A9E85",
52+
"callout": "#B5A044",
53+
"validation": "#4EA6A6"
54+
}
4255
}
4356
```

0 commit comments

Comments
 (0)