fix(editor): improve button colors for visible hover/active feedback

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-25 15:51:12 +09:00
parent 038398962e
commit 3897bb0510
3 changed files with 56 additions and 3 deletions

View File

@@ -2,9 +2,9 @@ use crate::ui_context::UiContext;
// Color palette
const COLOR_BG: [u8; 4] = [0x2B, 0x2B, 0x2B, 0xFF];
const COLOR_BUTTON: [u8; 4] = [0x44, 0x44, 0x44, 0xFF];
const COLOR_BUTTON_HOT: [u8; 4] = [0x55, 0x55, 0x55, 0xFF];
const COLOR_BUTTON_ACTIVE: [u8; 4] = [0x66, 0x66, 0x66, 0xFF];
const COLOR_BUTTON: [u8; 4] = [0x44, 0x44, 0x55, 0xFF];
const COLOR_BUTTON_HOT: [u8; 4] = [0x55, 0x66, 0x88, 0xFF];
const COLOR_BUTTON_ACTIVE: [u8; 4] = [0x44, 0x88, 0xFF, 0xFF];
const COLOR_TEXT: [u8; 4] = [0xEE, 0xEE, 0xEE, 0xFF];
const COLOR_PANEL: [u8; 4] = [0x33, 0x33, 0x33, 0xFF];
const COLOR_SLIDER_BG: [u8; 4] = [0x44, 0x44, 0x44, 0xFF];