Mercurial
comparison infinite_canvas/theme.c @ 278:8d560f50ed4c
Improve infinite canvas interactions and browser chrome
Render Lucide icons directly with Raylib, add searchable icon browsing, robust text editing, entity lifecycle animations, z-order-safe input, semantic themes, and animated editable browser controls. Document rendering, pinning, context, and component extension for future agents.
Co-authored-by: Copilot <[email protected]>
Copilot-Session: f68442b1-fa8f-46a0-9689-81710613bbd4
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Mon, 17 Aug 2026 22:16:14 -0700 |
| parents | b55c22cff335 |
| children |
comparison
equal
deleted
inserted
replaced
| 277:1d99147f520c | 278:8d560f50ed4c |
|---|---|
| 85 p_theme->surface = (Color){24, 24, 27, 255}; | 85 p_theme->surface = (Color){24, 24, 27, 255}; |
| 86 p_theme->surface_muted = (Color){39, 39, 42, 255}; | 86 p_theme->surface_muted = (Color){39, 39, 42, 255}; |
| 87 p_theme->border = (Color){63, 63, 70, 255}; | 87 p_theme->border = (Color){63, 63, 70, 255}; |
| 88 p_theme->text = (Color){244, 244, 245, 255}; | 88 p_theme->text = (Color){244, 244, 245, 255}; |
| 89 p_theme->text_muted = (Color){161, 161, 170, 255}; | 89 p_theme->text_muted = (Color){161, 161, 170, 255}; |
| 90 p_theme->accent = (Color){96, 165, 250, 255}; | 90 p_theme->accent = (Color){167, 139, 250, 255}; |
| 91 p_theme->accent_soft = (Color){30, 58, 95, 255}; | 91 p_theme->accent_soft = (Color){46, 35, 72, 255}; |
| 92 p_theme->on_accent = (Color){255, 255, 255, 255}; | |
| 93 p_theme->selection = (Color){196, 181, 253, 230}; | |
| 94 p_theme->entity_outline = (Color){255, 255, 255, 26}; | |
| 95 p_theme->button = (Color){63, 63, 70, 255}; | |
| 96 p_theme->button_hover = (Color){82, 82, 91, 255}; | |
| 97 p_theme->button_active = (Color){124, 58, 237, 255}; | |
| 98 p_theme->button_active_hover = (Color){139, 92, 246, 255}; | |
| 99 p_theme->switch_track_off = (Color){63, 63, 70, 255}; | |
| 100 p_theme->switch_track_off_hover = (Color){82, 82, 91, 255}; | |
| 101 p_theme->switch_track_on = (Color){52, 211, 153, 255}; | |
| 102 p_theme->switch_track_on_hover = (Color){110, 231, 183, 255}; | |
| 103 p_theme->switch_thumb = (Color){250, 250, 250, 255}; | |
| 104 p_theme->pin = (Color){251, 191, 36, 255}; | |
| 105 p_theme->danger = (Color){248, 113, 113, 255}; | |
| 92 p_theme->shadow = (Color){0, 0, 0, 110}; | 106 p_theme->shadow = (Color){0, 0, 0, 110}; |
| 93 p_theme->toast_surface = (Color){24, 24, 27, 255}; | 107 p_theme->toast_surface = (Color){24, 24, 27, 255}; |
| 94 p_theme->toast_border = (Color){63, 63, 70, 255}; | 108 p_theme->toast_border = (Color){63, 63, 70, 255}; |
| 95 } else { | 109 } else { |
| 96 p_theme->background = (Color){255, 255, 255, 255}; | 110 p_theme->background = (Color){255, 255, 255, 255}; |
| 99 p_theme->border = (Color){205, 211, 221, 255}; | 113 p_theme->border = (Color){205, 211, 221, 255}; |
| 100 p_theme->text = (Color){24, 24, 27, 255}; | 114 p_theme->text = (Color){24, 24, 27, 255}; |
| 101 p_theme->text_muted = (Color){113, 113, 122, 255}; | 115 p_theme->text_muted = (Color){113, 113, 122, 255}; |
| 102 p_theme->accent = (Color){37, 99, 235, 255}; | 116 p_theme->accent = (Color){37, 99, 235, 255}; |
| 103 p_theme->accent_soft = (Color){239, 246, 255, 255}; | 117 p_theme->accent_soft = (Color){239, 246, 255, 255}; |
| 118 p_theme->on_accent = (Color){255, 255, 255, 255}; | |
| 119 p_theme->selection = (Color){0, 122, 255, 230}; | |
| 120 p_theme->entity_outline = (Color){0, 0, 0, 20}; | |
| 121 p_theme->button = (Color){24, 24, 27, 255}; | |
| 122 p_theme->button_hover = (Color){39, 39, 42, 255}; | |
| 123 p_theme->button_active = (Color){37, 99, 235, 255}; | |
| 124 p_theme->button_active_hover = (Color){59, 130, 246, 255}; | |
| 125 p_theme->switch_track_off = (Color){205, 211, 221, 255}; | |
| 126 p_theme->switch_track_off_hover = (Color){161, 161, 170, 255}; | |
| 127 p_theme->switch_track_on = (Color){22, 163, 74, 255}; | |
| 128 p_theme->switch_track_on_hover = (Color){34, 197, 94, 255}; | |
| 129 p_theme->switch_thumb = (Color){255, 255, 255, 255}; | |
| 130 p_theme->pin = (Color){217, 119, 6, 255}; | |
| 131 p_theme->danger = (Color){220, 38, 38, 255}; | |
| 104 p_theme->shadow = (Color){15, 23, 42, 36}; | 132 p_theme->shadow = (Color){15, 23, 42, 36}; |
| 105 p_theme->toast_surface = (Color){255, 255, 255, 255}; | 133 p_theme->toast_surface = (Color){255, 255, 255, 255}; |
| 106 p_theme->toast_border = (Color){212, 216, 223, 255}; | 134 p_theme->toast_border = (Color){212, 216, 223, 255}; |
| 107 } | 135 } |
| 108 } | 136 } |