Skip to content

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

feat(appearance): the logo's blue is the default accent

Jareer0e03fb7ad9d7
diff --git a/src/crates/concat/locales/de.json b/src/crates/concat/locales/de.json
index d4ed416b..be6bc52f 100644
--- a/src/crates/concat/locales/de.json
+++ b/src/crates/concat/locales/de.json
@@ -704,6 +704,7 @@
"settings.amber": "Amber",
"settings.appearance": "Darstellung",
"settings.automatic": "Automatisch",
+ "settings.blue": "Blau",
"settings.checkForUpdates": "Nach Updates suchen",
"settings.checkingForUpdates": "Wird geprüft…",
"settings.concat": "Concat {0}",
diff --git a/src/crates/concat/locales/en.json b/src/crates/concat/locales/en.json
index 7661c0e9..6b2b0518 100644
--- a/src/crates/concat/locales/en.json
+++ b/src/crates/concat/locales/en.json
@@ -704,6 +704,7 @@
"settings.amber": "Amber",
"settings.appearance": "Appearance",
"settings.automatic": "Automatic",
+ "settings.blue": "Blue",
"settings.checkForUpdates": "Check for updates",
"settings.checkingForUpdates": "Checking…",
"settings.concat": "Concat {0}",
diff --git a/src/crates/concat/locales/es.json b/src/crates/concat/locales/es.json
index 2f72efef..0ab2c054 100644
--- a/src/crates/concat/locales/es.json
+++ b/src/crates/concat/locales/es.json
@@ -704,6 +704,7 @@
"settings.amber": "Ámbar",
"settings.appearance": "Apariencia",
"settings.automatic": "Automático",
+ "settings.blue": "Azul",
"settings.checkForUpdates": "Buscar actualizaciones",
"settings.checkingForUpdates": "Comprobando…",
"settings.concat": "Concat {0}",
diff --git a/src/crates/concat/locales/fa.json b/src/crates/concat/locales/fa.json
index b2f2cb3b..30d0a4b4 100644
--- a/src/crates/concat/locales/fa.json
+++ b/src/crates/concat/locales/fa.json
@@ -704,6 +704,7 @@
"settings.amber": "کهربایی",
"settings.appearance": "ظاهر",
"settings.automatic": "خودکار",
+ "settings.blue": "آبی",
"settings.checkForUpdates": "بررسی به‌روزرسانی‌ها",
"settings.checkingForUpdates": "در حال بررسی…",
"settings.concat": "Concat {0}",
diff --git a/src/crates/concat/locales/fr.json b/src/crates/concat/locales/fr.json
index 94ba4aae..f50251f9 100644
--- a/src/crates/concat/locales/fr.json
+++ b/src/crates/concat/locales/fr.json
@@ -704,6 +704,7 @@
"settings.amber": "Ambre",
"settings.appearance": "Apparence",
"settings.automatic": "Automatique",
+ "settings.blue": "Bleu",
"settings.checkForUpdates": "Rechercher des mises à jour",
"settings.checkingForUpdates": "Vérification…",
"settings.concat": "Concat {0}",
diff --git a/src/crates/concat/locales/hr.json b/src/crates/concat/locales/hr.json
index 9474053b..239ce8c3 100644
--- a/src/crates/concat/locales/hr.json
+++ b/src/crates/concat/locales/hr.json
@@ -704,6 +704,7 @@
"settings.amber": "Jantar",
"settings.appearance": "Izgled",
"settings.automatic": "Automatski",
+ "settings.blue": "Plava",
"settings.checkForUpdates": "Provjeri ažuriranja",
"settings.checkingForUpdates": "Provjera…",
"settings.concat": "Concat {0}",
diff --git a/src/crates/concat/locales/it.json b/src/crates/concat/locales/it.json
index 6025139e..a78b178b 100644
--- a/src/crates/concat/locales/it.json
+++ b/src/crates/concat/locales/it.json
@@ -704,6 +704,7 @@
"settings.amber": "Ambra",
"settings.appearance": "Aspetto",
"settings.automatic": "Automatico",
+ "settings.blue": "Blu",
"settings.checkForUpdates": "Cerca aggiornamenti",
"settings.checkingForUpdates": "Controllo in corso…",
"settings.concat": "Concat {0}",
diff --git a/src/crates/concat/locales/ja.json b/src/crates/concat/locales/ja.json
index f0b7df22..399a7953 100644
--- a/src/crates/concat/locales/ja.json
+++ b/src/crates/concat/locales/ja.json
@@ -704,6 +704,7 @@
"settings.amber": "アンバー",
"settings.appearance": "外観",
"settings.automatic": "自動",
+ "settings.blue": "ブルー",
"settings.checkForUpdates": "アップデートを確認",
"settings.checkingForUpdates": "確認中…",
"settings.concat": "Concat {0}",
diff --git a/src/crates/concat/locales/ko.json b/src/crates/concat/locales/ko.json
index 187a0a85..505761e8 100644
--- a/src/crates/concat/locales/ko.json
+++ b/src/crates/concat/locales/ko.json
@@ -704,6 +704,7 @@
"settings.amber": "앰버",
"settings.appearance": "화면",
"settings.automatic": "자동",
+ "settings.blue": "파랑",
"settings.checkForUpdates": "업데이트 확인",
"settings.checkingForUpdates": "확인 중…",
"settings.concat": "Concat {0}",
diff --git a/src/crates/concat/locales/pt-BR.json b/src/crates/concat/locales/pt-BR.json
index 9cbb93d9..48c2a568 100644
--- a/src/crates/concat/locales/pt-BR.json
+++ b/src/crates/concat/locales/pt-BR.json
@@ -704,6 +704,7 @@
"settings.amber": "Âmbar",
"settings.appearance": "Aparência",
"settings.automatic": "Automático",
+ "settings.blue": "Azul",
"settings.checkForUpdates": "Verificar atualizações",
"settings.checkingForUpdates": "Verificando…",
"settings.concat": "Concat {0}",
diff --git a/src/crates/concat/locales/ru.json b/src/crates/concat/locales/ru.json
index c0619251..872ca778 100644
--- a/src/crates/concat/locales/ru.json
+++ b/src/crates/concat/locales/ru.json
@@ -704,6 +704,7 @@
"settings.amber": "Янтарь",
"settings.appearance": "Оформление",
"settings.automatic": "Автоматически",
+ "settings.blue": "Синий",
"settings.checkForUpdates": "Проверить обновления",
"settings.checkingForUpdates": "Проверка…",
"settings.concat": "Concat {0}",
diff --git a/src/crates/concat/locales/tr.json b/src/crates/concat/locales/tr.json
index 20c2c10c..9450bf53 100644
--- a/src/crates/concat/locales/tr.json
+++ b/src/crates/concat/locales/tr.json
@@ -704,6 +704,7 @@
"settings.amber": "Amber",
"settings.appearance": "Görünüm",
"settings.automatic": "Otomatik",
+ "settings.blue": "Mavi",
"settings.checkForUpdates": "Güncellemeleri denetle",
"settings.checkingForUpdates": "Denetleniyor…",
"settings.concat": "Concat {0}",
diff --git a/src/crates/concat/locales/zh-Hans.json b/src/crates/concat/locales/zh-Hans.json
index 0406657c..2d7faa58 100644
--- a/src/crates/concat/locales/zh-Hans.json
+++ b/src/crates/concat/locales/zh-Hans.json
@@ -704,6 +704,7 @@
"settings.amber": "琥珀",
"settings.appearance": "外观",
"settings.automatic": "自动",
+ "settings.blue": "蓝色",
"settings.checkForUpdates": "检查更新",
"settings.checkingForUpdates": "正在检查…",
"settings.concat": "Concat {0}",
diff --git a/src/crates/concat/locales/zh-TW.json b/src/crates/concat/locales/zh-TW.json
index 039f5220..a65764b0 100644
--- a/src/crates/concat/locales/zh-TW.json
+++ b/src/crates/concat/locales/zh-TW.json
@@ -704,6 +704,7 @@
"settings.amber": "琥珀",
"settings.appearance": "外觀",
"settings.automatic": "自動",
+ "settings.blue": "藍色",
"settings.checkForUpdates": "檢查更新",
"settings.checkingForUpdates": "正在檢查…",
"settings.concat": "Concat {0}",
diff --git a/src/crates/concat/src/prefs.rs b/src/crates/concat/src/prefs.rs
index 450ffa00..96f3802a 100644
--- a/src/crates/concat/src/prefs.rs
+++ b/src/crates/concat/src/prefs.rs
@@ -233,7 +233,7 @@ mod tests {
/// A file from before the accent existed still loads, and reads as the
/// default.
#[test]
- fn older_file_without_an_accent_is_lime() {
+ fn older_file_without_an_accent_is_the_default() {
let back: Preferences = serde_json::from_str(r#"{"dark": false}"#).unwrap();
assert_eq!(back.dark, Some(false));
assert_eq!(back.accent, None);
diff --git a/src/crates/concat/ui/dialogs/settings.slint b/src/crates/concat/ui/dialogs/settings.slint
index 513da366..d52dca86 100644
--- a/src/crates/concat/ui/dialogs/settings.slint
+++ b/src/crates/concat/ui/dialogs/settings.slint
@@ -467,8 +467,9 @@ export component SettingsDialog inherits Modal {
/// that only ever reached `I18n.t` through a variable would never be
/// offered to a translator.
property <[string]> accent-labels: [
- I18n.t("settings.lime"), I18n.t("settings.sky"), I18n.t("settings.violet"),
- I18n.t("settings.rose"), I18n.t("settings.amber"), I18n.t("settings.mint"),
+ I18n.t("settings.blue"), I18n.t("settings.lime"), I18n.t("settings.sky"),
+ I18n.t("settings.violet"), I18n.t("settings.rose"), I18n.t("settings.amber"),
+ I18n.t("settings.mint"),
];
/// The window is a phone's. No Remote page then - the API on a socket
diff --git a/src/crates/concat/ui/theme/dark.slint b/src/crates/concat/ui/theme/dark.slint
index e6ae2753..1c35d53d 100644
--- a/src/crates/concat/ui/theme/dark.slint
+++ b/src/crates/concat/ui/theme/dark.slint
@@ -123,23 +123,24 @@ export global Dark {
// accents
//
- // Lime, not blue. The two places that carry the look are the selection
- // highlight and every activated tool, and both are the accent; making it
- // the one accent as well says the same thing with one token instead of
- // three.
+ // Blue, the logo's #0568fd. The two places that carry the look are the
+ // selection highlight and every activated tool, and both are the accent;
+ // making the brand's colour the accent says the same thing with one token
+ // instead of three.
//
- // Six to choose from, and Settings › Appearance picks one. The first is
- // the default, and the one the rest of this file means by "lime". Each
- // is legible against near-black and near-white alike, which is what a
- // selection has to be: it lands on whatever happens to be underneath it.
- // What sits *on* each therefore has to be dark ink, and is fixed with it:
- // `on` is a deep shade of the same hue, `hover` a step brighter, `soft`
- // the colour at 20% for a wash. A dark accent would want #ffffff for its
- // ink instead, which is the light palette's whole answer.
+ // Seven to choose from, and Settings › Appearance picks one. The first is
+ // the default. The six after it are each legible against near-black and
+ // near-white alike, which is what a selection has to be: it lands on
+ // whatever happens to be underneath it. What sits *on* those therefore
+ // has to be dark ink, and is fixed with it: `on` is a deep shade of the
+ // same hue, `hover` a step brighter, `soft` the colour at 20% for a wash.
+ // Blue is the dark accent among them and wants #ffffff for its ink,
+ // which is the light palette's whole answer.
//
// The same order as `light.slint` and as `accent-names` in theme.slint,
// which is where each one's name lives.
out property <[Accent]> accents: [
+ { accent: #0568fd, hover: #2d80ff, soft: #0568fd33, on: #ffffff }, // blue
{ accent: #cbf53f, hover: #d9ff63, soft: #cbf53f33, on: #15220a }, // lime
{ accent: #5fb8ff, hover: #82c9ff, soft: #5fb8ff33, on: #061c33 }, // sky
{ accent: #b394ff, hover: #c6b0ff, soft: #b394ff33, on: #1d0f3d }, // violet
@@ -227,8 +228,8 @@ export global Dark {
/// lanes now carry while staying under `line-strong`, so the rules place a
/// clip without competing with it.
out property <color> grid: #ffffff24;
- // Lime: the palette's first accent, as a colour of its own rather than a
- // read of the accent, so a change of accent leaves the playhead where the
+ // Lime: the palette's second accent, as a colour of its own rather than
+ // a read of the accent, so a change of accent leaves the playhead where the
// eye learnt to find it. Settings > Appearance can put any colour in its
// place (theme.slint, `playhead-custom`).
out property <color> playhead: #cbf53f;
diff --git a/src/crates/concat/ui/theme/light.slint b/src/crates/concat/ui/theme/light.slint
index 1ddf50b5..81837f18 100644
--- a/src/crates/concat/ui/theme/light.slint
+++ b/src/crates/concat/ui/theme/light.slint
@@ -91,22 +91,25 @@ export global Light {
// accents
//
- // The dark palette's six, each taken down to where a near-white ground
- // can hold it. At these values every one clears 4.5:1 against `panel` as
- // ink and white clears 5:1 on it as a fill, which is what lets one token
- // keep doing both jobs — the 41 places that tint a glyph or a border with
- // it and the 26 that fill a control with it are the same token, and
+ // The logo's blue, kept at the logo's own value, then the dark palette's
+ // six, each taken down to where a near-white ground can hold it. At these
+ // values each of the six clears 4.5:1 against `panel` as ink and white
+ // clears 5:1 on it as a fill (the blue sits at 4.45:1 and 4.8:1), which
+ // is what lets one token keep doing both jobs — the 41 places that tint a
+ // glyph or a border with it and the 26 that fill a control with it are
+ // the same token, and
// splitting them into an ink and a fill would be a second accent to keep
// in step.
//
// Hover goes darker, not lighter: on this ground more contrast is more
// engagement, which is the same sentence the dark palette's brighter hover
- // is saying. The ink is white on all six, because every one is now dark —
+ // is saying. The ink is white on all seven, because every one is now dark —
// the pairing the dark palette insists on, honoured from the other side.
// `soft` is the colour at 18%.
//
// The same order as `dark.slint` and as `accent-names` in theme.slint.
out property <[Accent]> accents: [
+ { accent: #0568fd, hover: #0457d6, soft: #0568fd2e, on: #ffffff }, // blue
{ accent: #4d7c0f, hover: #3f680b, soft: #4d7c0f2e, on: #ffffff }, // lime
{ accent: #1f66d1, hover: #1a55b0, soft: #1f66d12e, on: #ffffff }, // sky
{ accent: #7239e6, hover: #6030c8, soft: #7239e62e, on: #ffffff }, // violet
@@ -165,8 +168,8 @@ export global Light {
/// the dark palette's 14% white is: the grid places a clip, it does not
/// compete with one.
out property <color> grid: #00000021;
- // Lime, the palette's first accent, as a colour of its own; see the dark
- // palette. Settings > Appearance can put any colour in its place.
+ // Lime, the palette's second accent, as a colour of its own; see the
+ // dark palette. Settings > Appearance can put any colour in its place.
out property <color> playhead: #4d7c0f;
// Drawn on the audio clip's own light ground, so it is a *darker* wash of
// the kind's hue — the dark palette's light one would vanish into it.
diff --git a/src/crates/concat/ui/theme/theme.slint b/src/crates/concat/ui/theme/theme.slint
index f1db2919..20484b20 100644
--- a/src/crates/concat/ui/theme/theme.slint
+++ b/src/crates/concat/ui/theme/theme.slint
@@ -52,7 +52,7 @@ export global Theme {
/// Settings > Appearance picks it (lib.rs, `on_settings_accent_changed`)
/// the way it picks `dark`, and it retones the window the same way.
/// Remembered by name rather than by number, so a list that grows or
- /// reorders keeps everyone's choice; 0 is Lime, the default. One past
+ /// reorders keeps everyone's choice; 0 is Blue, the default. One past
/// the last name is the custom colour, `accent-custom`.
in-out property <int> accent-choice: 0;
/// A colour picked by hand in place of any on the list. Read only while
@@ -69,7 +69,7 @@ export global Theme {
/// name is the English word Settings shows for it, and the id it is
/// remembered under in settings.json, lower-cased; the dialog holds the
/// same list wrapped for translation, in this order.
- out property <[string]> accent-names: ["Lime", "Sky", "Violet", "Rose", "Amber", "Mint"];
+ out property <[string]> accent-names: ["Blue", "Lime", "Sky", "Violet", "Rose", "Amber", "Mint"];
/// The playhead's colour when one was picked by hand in Settings >
/// Appearance, in place of the palette's own. Read only while
/// `playhead-is-custom`, and one colour under both palettes, for the