makepad/widgets/themes/windows-2000/theme.splash
Admin da58218587 draw, widgets: the library is makepad-widgets-core plus a crate per widget family, eighty new widgets and the storybook, relief-lit skeuomorphic surfaces, the feedback panel, keyboard focus and tooltips clear of the cursor
makepad-widgets becomes a front crate over widgets/core and widgets/families (each family a crate of its own, linked by features, so an app compiles only the families it uses); widgets/feedback is the Send feedback panel. The dev PRs (#1241-#1264) are ported to the new layout, as in the merge of dev into work.

Covers work ebf442a94..2b1a41df4 for draw widgets xr code_editor:

- widgets, storybook: the widget catalogue app, some eighty new widgets, a theme store with mixable style sheets, and the rule that a press belongs to
- wm, widgets: the style tween starts with all eight weights, and the new style sheet takes the last number instead of macOS's
- platform: the Android desk swipes at 120 Hz — offscreen render passes and framebuffers cached, SVG meshes kept, font families that complete
- Button: activate from the keyboard when focused (#1241)
- app_main!: only ship the fonts an app declares (#1247)
- platform, widgets, wm: every Vulkan pass renders through a negative-height viewport again, so a Wayland or X11 window stands upright, and no capture
- widgets: the supersampled resolve and the map's shadow mask sample their textures as stored, like every other render texture
- widgets, platform: the last twelve warnings go
- cef, video, platform: what Stage's browser needs from the shared layers
- apps: what the CI box found
- ScrollBar: add `show_handle` for a view that scrolls without a grabbable bar (#1254)
- widgets: children a lookup discovers reach the dump, the snapshot and the flood searches
- tests: the workspace suite, run as a whole for the first time, passes outside the example UI tests
- examples: the UI tests pass, for the reasons they failed
- libs: no warnings in the workspace check on any row
- tests: the last three failures of the CI box's night
- Linux: fix window chrome button hovers and how maximized/fullscreen windows work (#1255)
- Tooltip: position anchored tooltips in the same draw (#1256)
- tests: the three binaries over ten seconds in release come under it
- widgets: let the host install script mods into every Splash isolate
- widgets: a pooled test context forgets the last case's Escape claim
- widgets: the pooled test context's resets replace the globals
- RadioButton: fix its touch hover state and click-off behavior (#1258)
- HtmlLink: fix its hover and pressed states (#1257)
- RadioButton: take key focus on the click, not on the press (#1259)
- feat(text): CoreText outline fallback for hvgl-only fonts (macOS)
- draw text: the CoreText outline fallback is only ever resolved for a face whose outlines live solely in hvgl, and font-family diagnostics are the `f
- platform, widgets, wm: a touch that is taken away is cancelled, never released
- wm on Android: every app is its own process
- widgets: touch lists scroll with Android's physics
- task, cargo-makepad, widgets, audio: the task manager chooses its columns, graphs every process' network and disk traffic and installs itself as a D
- widgets, draw: skeuomorphic surfaces light each other through an optional relief buffer
- widgets, platform: a texture can light the relief buffer, menus take colour chips, and a style reload recompiles changed shader functions
- widgets: relief surfaces can travel like mechanical keys, and dark surfaces take less neighbour light
- platform, widgets, audio_route, ai: window crossfades and whole-frame presents, caption controls that click, themed menus, a stereo-pair audio tap,
- platform, widgets, ai: a restyle recompiles nothing it already has, shows only complete frames, and a window can own its caption
- widgets: relief surfaces can swing their light toward a point
- widgets, builder: the big widget families are features, all on by default, and the Builder takes none of them
- ai: Claude Desktop drives any app with the F10 panel
- Constrain Splash external I/O to the host service bridge (#1243)
- PortalList: stop following the end when scrolling to an earlier item (#1261)
- draw: glass of a view that stopped drawing leaves the screen
- widgets: the Widget lookup methods and with_script_vm_id are compiled once, not once per widget type
- widgets: the library moves to makepad-widgets-core in widgets/core, and makepad-widgets becomes its front crate
- widgets: the Window, widget tree and panel theme reach the tweaker, voice, AI slot and dock through hooks, not through their modules
- widgets: every widget family is a crate of its own under widgets/families, and makepad-widgets links, re-exports and registers the ones its features
- aichat, widgets: the chat reads the design feedback through the tweaker's hook, so linking the chat no longer needs the tweaker
- apps, examples, libs: each crate builds only the widget families it uses, and the design overlay is each app's own default feature
- widgets: the build scripts rerun on their own edits only, and makepad-widgets no longer reads MAKEPAD
- feedback: Send feedback, a caption icon and a small panel that shows exactly what is sent
- feedback: the panel's wording reads right and draws in any font
- feedback: takes makepad-widgets without its default families
- widgets: the empty parts of an app's caption bar drag the window again
- ScrollBar: fade out when idle, like macOS overlay scrollers (#1264)
- platform, draw: web builds start again
- widgets: the keyboard reaches boxes and modals
- widgets: a hover tooltip never sits under the mouse cursor
- feedback: Send clipboard, and the dialog works from the keyboard

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-26 20:10:50 +02:00

274 lines
10 KiB
Text

mod.theme = mod.themes.light
mod.theme.corner_radius = 0.0
mod.theme.container_corner_radius = 0.0
mod.theme.textselection_corner_radius = 0.0
mod.theme.beveling = 2.0
mod.theme.space_factor = 5.0
mod.theme.space_1 = 2.5
mod.theme.space_2 = 5.0
mod.theme.space_3 = 7.5
mod.theme.mspace_1 = mod.turtle.Inset{top: 2.5 right: 2.5 bottom: 2.5 left: 2.5}
mod.theme.color_bg_app = #d4d0c8
mod.theme.color_terminal_bg = #000000
mod.theme.color_terminal_text = #c0c0c0
mod.theme.color_fg_app = #d4d0c8
mod.theme.color_bg_container = #d4d0c8
mod.theme.color_focus = #000080
// The ground behind a code chip, a quote and a table heading, which carry
// ORDINARY text. It is not the selection colour, though the name invites
// it: set to that, plain text sat on it at 1.3:1. White is what this style
// draws its own content wells in.
mod.theme.color_bg_highlight = #ffffff
mod.theme.color_bg_highlight_inline = #000080
mod.theme.color_ctrl_selected = #000080
mod.theme.color_ctrl_active = #000080
mod.theme.color_outset_active = #000080
mod.theme.color_cursor = #000000
mod.theme.color_text_cursor = #000000
mod.theme.color_text = #000000
mod.theme.color_text_hover = #000000
mod.theme.color_text_focus = #000000
mod.theme.color_text_active = #ffffff
mod.theme.color_text_down = #000000
mod.theme.color_text_disabled = #808080
mod.theme.color_label_inner = #000000
mod.theme.color_label_inner_hover = #000000
mod.theme.color_label_inner_focus = #000000
mod.theme.color_label_inner_active = #ffffff
mod.theme.color_label_inner_down = #000000
mod.theme.color_label_inner_disabled = #808080
mod.theme.color_label_outer = #000000
mod.theme.color_label_outer_hover = #000000
mod.theme.color_label_outer_focus = #000000
mod.theme.color_label_outer_active = #ffffff
mod.theme.color_label_outer_down = #000000
mod.theme.color_label_outer_disabled = #808080
mod.theme.color_label = #000000
mod.theme.color_label_hover = #000000
mod.theme.color_label_focus = #000000
mod.theme.color_label_active = #ffffff
mod.theme.color_label_down = #000000
mod.theme.color_label_disabled = #808080
mod.theme.color_icon = #000000
mod.theme.color_icon_hover = #000000
mod.theme.color_icon_focus = #000000
mod.theme.color_icon_active = #ffffff
mod.theme.color_icon_down = #000000
mod.theme.color_icon_disabled = #808080
mod.theme.color_inset = #ffffff
mod.theme.color_inset_1 = #ffffff
mod.theme.color_inset_2 = #ffffff
mod.theme.color_outset = #d4d0c8
mod.theme.color_outset_1 = #d4d0c8
mod.theme.color_outset_2 = #d4d0c8
mod.theme.color_bevel_inset_1 = #808080
mod.theme.color_bevel_inset_2 = #ffffff
mod.theme.color_bevel_outset_1 = #ffffff
mod.theme.color_bevel_outset_2 = #808080
mod.theme.color_inset_hover = #ffffff
mod.theme.color_inset_1_hover = #ffffff
mod.theme.color_inset_2_hover = #ffffff
mod.theme.color_outset_hover = #d4d0c8
mod.theme.color_outset_1_hover = #d4d0c8
mod.theme.color_outset_2_hover = #d4d0c8
mod.theme.color_bevel_inset_1_hover = #808080
mod.theme.color_bevel_inset_2_hover = #ffffff
mod.theme.color_bevel_outset_1_hover = #ffffff
mod.theme.color_bevel_outset_2_hover = #808080
mod.theme.color_inset_focus = #ffffff
mod.theme.color_inset_1_focus = #ffffff
mod.theme.color_inset_2_focus = #ffffff
mod.theme.color_outset_focus = #d4d0c8
mod.theme.color_outset_1_focus = #d4d0c8
mod.theme.color_outset_2_focus = #d4d0c8
mod.theme.color_bevel_inset_1_focus = #808080
mod.theme.color_bevel_inset_2_focus = #ffffff
mod.theme.color_bevel_outset_1_focus = #ffffff
mod.theme.color_bevel_outset_2_focus = #808080
mod.theme.color_inset_active = #ffffff
mod.theme.color_inset_1_active = #ffffff
mod.theme.color_inset_2_active = #ffffff
mod.theme.color_outset_active = #d4d0c8
mod.theme.color_outset_1_active = #d4d0c8
mod.theme.color_outset_2_active = #d4d0c8
mod.theme.color_bevel_inset_1_active = #808080
mod.theme.color_bevel_inset_2_active = #ffffff
mod.theme.color_bevel_outset_1_active = #ffffff
mod.theme.color_bevel_outset_2_active = #808080
mod.theme.color_inset_down = #ffffff
mod.theme.color_inset_1_down = #ffffff
mod.theme.color_inset_2_down = #ffffff
mod.theme.color_outset_down = #d4d0c8
mod.theme.color_outset_1_down = #d4d0c8
mod.theme.color_outset_2_down = #d4d0c8
mod.theme.color_bevel_inset_1_down = #ffffff
mod.theme.color_bevel_inset_2_down = #808080
mod.theme.color_bevel_outset_1_down = #808080
mod.theme.color_bevel_outset_2_down = #ffffff
mod.theme.color_inset_disabled = #d4d0c8
mod.theme.color_inset_1_disabled = #d4d0c8
mod.theme.color_inset_2_disabled = #d4d0c8
mod.theme.color_outset_disabled = #d4d0c8
mod.theme.color_outset_1_disabled = #d4d0c8
mod.theme.color_outset_2_disabled = #d4d0c8
mod.theme.color_bevel_inset_1_disabled = #808080
mod.theme.color_bevel_inset_2_disabled = #ffffff
mod.theme.color_bevel_outset_1_disabled = #ffffff
mod.theme.color_bevel_outset_2_disabled = #808080
mod.theme.color_inset_empty = #ffffff
mod.theme.color_inset_1_empty = #ffffff
mod.theme.color_inset_2_empty = #ffffff
mod.theme.color_outset_empty = #d4d0c8
mod.theme.color_outset_1_empty = #d4d0c8
mod.theme.color_outset_2_empty = #d4d0c8
mod.theme.color_bevel_inset_1_empty = #808080
mod.theme.color_bevel_inset_2_empty = #ffffff
mod.theme.color_bevel_outset_1_empty = #ffffff
mod.theme.color_bevel_outset_2_empty = #808080
mod.theme.color_inset_drag = #ffffff
mod.theme.color_inset_1_drag = #ffffff
mod.theme.color_inset_2_drag = #ffffff
mod.theme.color_outset_drag = #d4d0c8
mod.theme.color_outset_1_drag = #d4d0c8
mod.theme.color_outset_2_drag = #d4d0c8
mod.theme.color_bevel_inset_1_drag = #808080
mod.theme.color_bevel_inset_2_drag = #ffffff
mod.theme.color_bevel_outset_1_drag = #ffffff
mod.theme.color_bevel_outset_2_drag = #808080
mod.theme.color_text_on_accent = #ffffff
// The Architecture map's categorical palette (top-level directory ownership), kind stripes and status roles.
mod.theme.color_map_1 = #9cccff
mod.theme.color_map_1_a = #bae0ff
mod.theme.color_map_1_b = #85c1f5
mod.theme.color_map_1_c = #a5d3ff
mod.theme.color_map_1_d = #87b2df
mod.theme.color_map_1_e = #c6e1ff
mod.theme.color_map_1_f = #94c5fe
mod.theme.color_map_1_g = #b8d7ff
mod.theme.color_map_1_h = #94b6e7
mod.theme.color_map_2 = #88dec7
mod.theme.color_map_2_a = #a8f0d4
mod.theme.color_map_2_b = #77d2b4
mod.theme.color_map_2_c = #89e6c9
mod.theme.color_map_2_d = #77c2ad
mod.theme.color_map_2_e = #a3f0dc
mod.theme.color_map_2_f = #76d9c4
mod.theme.color_map_2_g = #88edda
mod.theme.color_map_2_h = #79c9bb
mod.theme.color_map_3 = #efcc83
mod.theme.color_map_3_a = #ffd79b
mod.theme.color_map_3_b = #e9bc6e
mod.theme.color_map_3_c = #fcd081
mod.theme.color_map_3_d = #d3b373
mod.theme.color_map_3_e = #f9da99
mod.theme.color_map_3_f = #e8c673
mod.theme.color_map_3_g = #fadb86
mod.theme.color_map_3_h = #d2bc79
mod.theme.color_map_4 = #d5b9f7
mod.theme.color_map_4_a = #dfd3ff
mod.theme.color_map_4_b = #c4acf1
mod.theme.color_map_4_c = #d9c1ff
mod.theme.color_map_4_d = #b9a2d8
mod.theme.color_map_4_e = #e8d4ff
mod.theme.color_map_4_f = #d3b0f3
mod.theme.color_map_4_g = #e6c5ff
mod.theme.color_map_4_h = #c6a6da
mod.theme.color_map_5 = #8fdcef
mod.theme.color_map_5_a = #a5ecf7
mod.theme.color_map_5_b = #78d1e1
mod.theme.color_map_5_c = #8ce4f6
mod.theme.color_map_5_d = #7dc1d1
mod.theme.color_map_5_e = #a7ebfd
mod.theme.color_map_5_f = #82d6ee
mod.theme.color_map_5_g = #a0e8ff
mod.theme.color_map_5_h = #86c6dc
mod.theme.color_map_6 = #a4dba4
mod.theme.color_map_6_a = #c3ecb5
mod.theme.color_map_6_b = #9ace8e
mod.theme.color_map_6_c = #aae2a3
mod.theme.color_map_6_d = #90bf8e
mod.theme.color_map_6_e = #bbeebc
mod.theme.color_map_6_f = #95d79d
mod.theme.color_map_6_g = #a6ebb3
mod.theme.color_map_6_h = #8ec79c
mod.theme.color_map_7 = #fab688
mod.theme.color_map_7_a = #ffcfb6
mod.theme.color_map_7_b = #f3a579
mod.theme.color_map_7_c = #ffbd95
mod.theme.color_map_7_d = #db9e77
mod.theme.color_map_7_e = #ffd4b7
mod.theme.color_map_7_f = #f6af78
mod.theme.color_map_7_g = #ffc79a
mod.theme.color_map_7_h = #dea778
mod.theme.color_map_8 = #f2b2ca
mod.theme.color_map_8_a = #ffc8e3
mod.theme.color_map_8_b = #e6a3c3
mod.theme.color_map_8_c = #fbb6d4
mod.theme.color_map_8_d = #d39bb1
mod.theme.color_map_8_e = #ffcfdf
mod.theme.color_map_8_f = #f0a9c1
mod.theme.color_map_8_g = #ffc0d2
mod.theme.color_map_8_h = #dca1b1
mod.theme.color_map_9 = #ffb5ae
mod.theme.color_map_9_a = #ffd1d1
mod.theme.color_map_9_b = #f6a5a4
mod.theme.color_map_9_c = #ffbebb
mod.theme.color_map_9_d = #df9e99
mod.theme.color_map_9_e = #ffd2cc
mod.theme.color_map_9_f = #fdada1
mod.theme.color_map_9_g = #ffc9bf
mod.theme.color_map_9_h = #e5a698
mod.theme.color_map_10 = #bbc7ff
mod.theme.color_map_10_a = #d0deff
mod.theme.color_map_10_b = #a8bbf7
mod.theme.color_map_10_c = #c1cfff
mod.theme.color_map_10_d = #a3aedf
mod.theme.color_map_10_e = #d5dcff
mod.theme.color_map_10_f = #b6bffd
mod.theme.color_map_10_g = #cfd4ff
mod.theme.color_map_10_h = #b0b2e5
mod.theme.color_map_11 = #cbd685
mod.theme.color_map_11_a = #e4e399
mod.theme.color_map_11_b = #c5c76c
mod.theme.color_map_11_c = #d6dc80
mod.theme.color_map_11_d = #b3bb74
mod.theme.color_map_11_e = #dae69e
mod.theme.color_map_11_f = #c0d179
mod.theme.color_map_11_g = #d1e68e
mod.theme.color_map_11_h = #b0c47f
mod.theme.color_map_kind_module = #315e96
mod.theme.color_map_kind_file = #566273
mod.theme.color_map_kind_struct = #286b5d
mod.theme.color_map_kind_enum = #4d702d
mod.theme.color_map_kind_trait = #70508f
mod.theme.color_map_kind_impl = #465f91
mod.theme.color_map_kind_fn = #79601f
mod.theme.color_map_kind_const = #865332
mod.theme.color_map_kind_type_alias = #326b7c
mod.theme.color_map_kind_macro = #8a4667
mod.theme.color_map_kind_component = #315e96
mod.theme.color_map_kind_thread = #79601f
mod.theme.color_map_kind_queue = #4d702d
mod.theme.color_map_kind_store = #865332
mod.theme.color_map_kind_memory = #70508f
mod.theme.color_map_kind_gpu = #326b7c
mod.theme.color_map_kind_io = #8a4667
mod.theme.color_success = #2f7d4b
mod.theme.color_map_basis_exact = #4c5968
mod.theme.color_map_basis_inferred = #7c5b27
mod.theme.color_map_basis_candidates = #72558c
mod.theme.color_syntax_keyword = #3d688a
mod.theme.color_syntax_ident = #242426
mod.theme.color_syntax_type = #36615a
mod.theme.color_syntax_fn = #504326
mod.theme.color_syntax_literal = #425f3e
mod.theme.color_syntax_string = #6e483b
mod.theme.color_syntax_comment = #4b5c47
mod.theme.color_syntax_macro = #674b6d
mod.theme.color_syntax_attribute = #755635
mod.theme.color_syntax_punctuation = #242426
mod.theme.color_syntax_keyword_branch = #674b6d
mod.theme.color_syntax_keyword_loop = #755635
mod.theme.color_syntax_constant = #6e483b
mod.theme.color_syntax_bg = #ffffff
true