From 559f9b29cdffbe5a092d4959839a71e21531747f Mon Sep 17 00:00:00 2001 From: Casey Bianco-Davis Date: Mon, 6 Oct 2025 11:42:49 +0200 Subject: [PATCH] UI: Theme: Update Curves Handle Type colors This PR Updates the default colors of the Curve Handle types, to increase readability and contrast. Each color more different from each other to not be confusing. Logic for the new colors: * Purple/Dark blue is used for the `Vector` type to match the header and sockets of Vector nodes. * Red is used for `Auto` to show that they're locked and can't be changed without converting the type. * Pink/Salmon color is used for `Auto-Clamped` to be similar to `Auto` while still being distinct. * The remaining colors are chosen to be visually distinct from the other colors. This also fixes a problem caused by 1067112c11 (#145360) where Free handle were left fully black. These black handles are extremely hard to use with Grease Pencil objects, because Grease Pencil strokes often are black. Because the `Free` handle selected color is also black, handles do not show if they are selected. Co-authored-by: Nika Kutsniashvili Pull Request: https://projects.blender.org/blender/blender/pulls/147335 --- .../datafiles/userdef/userdef_default_theme.c | 20 +++++++++---------- .../presets/interface_theme/Blender_Light.xml | 20 +++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/release/datafiles/userdef/userdef_default_theme.c b/release/datafiles/userdef/userdef_default_theme.c index fd4bdd697e8..5f2b51aecfb 100644 --- a/release/datafiles/userdef/userdef_default_theme.c +++ b/release/datafiles/userdef/userdef_default_theme.c @@ -334,16 +334,16 @@ const bTheme U_theme_default = { .long_key_selected = RGBA(0xff8c0099), }, .curves = { - .handle_free = RGBA(0x000000ff), - .handle_auto = RGBA(0x909000ff), - .handle_vect = RGBA(0x409030ff), - .handle_align = RGBA(0x803060ff), - .handle_auto_clamped = RGBA(0x994030ff), - .handle_sel_free = RGBA(0x000000ff), - .handle_sel_auto = RGBA(0xf0ff40ff), - .handle_sel_vect = RGBA(0x40c030ff), - .handle_sel_align = RGBA(0xf090a0ff), - .handle_sel_auto_clamped = RGBA(0xf0af90ff), + .handle_free = RGBA(0x745900ff), + .handle_auto = RGBA(0x740d00ff), + .handle_vect = RGBA(0x232374ff), + .handle_align = RGBA(0x157000ff), + .handle_auto_clamped = RGBA(0x803060ff), + .handle_sel_free = RGBA(0xffc300ff), + .handle_sel_auto = RGBA(0xff1900ff), + .handle_sel_vect = RGBA(0x4444ffff), + .handle_sel_align = RGBA(0x72ff57ff), + .handle_sel_auto_clamped = RGBA(0xf090a0ff), .handle_vertex = RGBA(0x000000ff), .handle_vertex_select = RGBA(0xff8500ff), .handle_vertex_size = 5, diff --git a/scripts/presets/interface_theme/Blender_Light.xml b/scripts/presets/interface_theme/Blender_Light.xml index fa4ae9b08dc..725d3b3c622 100644 --- a/scripts/presets/interface_theme/Blender_Light.xml +++ b/scripts/presets/interface_theme/Blender_Light.xml @@ -449,16 +449,16 @@