Skip to content

The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.

Colour the media kinds from the brand palette

Jareer257b6427f2ee
diff --git a/engine/crates/concat/ui/theme/dark.slint b/engine/crates/concat/ui/theme/dark.slint
index be1171d1..464277cf 100644
--- a/engine/crates/concat/ui/theme/dark.slint
+++ b/engine/crates/concat/ui/theme/dark.slint
@@ -122,19 +122,21 @@ export global Dark {
// the clip it becomes on a track are the same two colours, so they read as
// one object moved rather than two things that happen to have the same
// name.
- out property <color> kind-video: #4d8df6;
- out property <color> kind-video-well: #142640;
- out property <color> kind-audio: #f09e2f;
- out property <color> kind-audio-well: #33220e;
- out property <color> kind-image: #8b5cf6;
- out property <color> kind-image-well: #251a3d;
- out property <color> kind-text: #e8355e;
- out property <color> kind-text-well: #38131d;
- // A filter layer is not a medium — nothing was imported to make one — so
- // it takes the one hue the four media kinds leave free rather than
- // borrowing whichever of them it happens to sit over.
- out property <color> kind-filter: #2bc2a8;
- out property <color> kind-filter-well: #0e2f2a;
+ out property <color> kind-video: #3d8bf8;
+ out property <color> kind-video-well: #19293f;
+ out property <color> kind-audio: #f4c21b;
+ out property <color> kind-audio-well: #3e3413;
+ out property <color> kind-image: #c07af8;
+ out property <color> kind-image-well: #33253f;
+ out property <color> kind-text: #f06ab4;
+ out property <color> kind-text-well: #3d2232;
+ // The marks are the five bright hues the brand's palette has beside its
+ // lime accent: blue, yellow, violet, pink and teal. A filter layer is not
+ // a medium — nothing was imported to make one — so it takes the one hue
+ // the four media kinds leave free rather than borrowing whichever of
+ // them it happens to sit over.
+ out property <color> kind-filter: #3bd39a;
+ out property <color> kind-filter-well: #19372c;
// timeline
//
diff --git a/engine/crates/concat/ui/theme/light.slint b/engine/crates/concat/ui/theme/light.slint
index d632fd5a..1f3f5855 100644
--- a/engine/crates/concat/ui/theme/light.slint
+++ b/engine/crates/concat/ui/theme/light.slint
@@ -109,16 +109,16 @@ export global Light {
// a clip reads as a coloured object on a light lane rather than as a hole
// punched in one. The marks are a step deeper than the dark palette's, so
// that `clip-ink` — white, on the mark, in both themes — still holds.
- out property <color> kind-video: #2f6ad0;
- out property <color> kind-video-well: #dbe6fa;
- out property <color> kind-audio: #a8620a;
- out property <color> kind-audio-well: #fbeacf;
- out property <color> kind-image: #6d3fd6;
- out property <color> kind-image-well: #e7dffb;
- out property <color> kind-text: #cc2049;
- out property <color> kind-text-well: #fbdde3;
- out property <color> kind-filter: #0d7f6e;
- out property <color> kind-filter-well: #d5f2ec;
+ out property <color> kind-video: #306cc1;
+ out property <color> kind-video-well: #deebfe;
+ out property <color> kind-audio: #977811;
+ out property <color> kind-audio-well: #fdf5d8;
+ out property <color> kind-image: #8a58b3;
+ out property <color> kind-image-well: #f4e8fe;
+ out property <color> kind-text: #bb538c;
+ out property <color> kind-text-well: #fce6f2;
+ out property <color> kind-filter: #25835f;
+ out property <color> kind-filter-well: #def8ee;
// timeline
//