UI: Dope Sheet: Custom theme color for interpolation modes

Split the "Interpolation Line" theme property into three for each
interpolation mode, and use them accordingly. In the current theme
refactor, almost all theme properties of the dope sheet are getting
either removed (unused), or moved (shared). This decluttering opens up
the possibility to allow more theming, and let artists read the Dope
Sheet better.

## Avoiding Confusion

There's two "Bézier" interpolation types:
- Called "Bézier" in the interpolation type menu, and
- Called "Bézier" in the code, for the types that are labeled as
  **"Easing" and "Dynamic"** in the interpolation type menu.

Since this commit is about the interpolation lines, which are **not**
drawn for the former, **this PR only covers Constant, Linear, and the
latter form of Bézier interpolation types.**

Pull Request: https://projects.blender.org/blender/blender/pulls/144255
This commit is contained in:
Nika Kutsniashvili
2025-10-13 18:01:21 +02:00
committed by Sybren A. Stüvel
parent 97e3fb0e03
commit 75eaecf350
11 changed files with 93 additions and 25 deletions

View File

@@ -630,7 +630,9 @@
keyframe_border_selected="#000000ff"
keyframe_scale_factor="1"
summary="#d3660066"
interpolation_line="#94e575cc"
anim_interpolation_linear="#94e575cc"
anim_interpolation_constant="#e59c7bcc"
anim_interpolation_other="#5dbabeb3"
simulated_frames="#721e65ff"
>
<space>