From e23a5bf2439d219b567b1cca7ec74a06b13110fd Mon Sep 17 00:00:00 2001 From: bherbruck Date: Wed, 21 Oct 2026 21:00:11 -0400 Subject: [PATCH] Ship 14 more official themes: SolidCraft 95, Platinum 9, Cupertino, phosphor pair, Blueprint, One Dark and a pack of open-source palettes (#4602) Registers them after the Gruvbox set in the Theme list, adds attribution rows, and keeps the heading-band ordering check passing by nudging heading/subheading (and, for High Contrast, dialog) backgrounds. Co-authored-by: Claude Sonnet 5.5 --- ATTRIBUTION.md | 14 ++ assets/styles/ui/themes/amber-phosphor.json | 203 ++++++++++++++++++ assets/styles/ui/themes/blueprint.json | 203 ++++++++++++++++++ assets/styles/ui/themes/catppuccin-mocha.json | 203 ++++++++++++++++++ assets/styles/ui/themes/cupertino.json | 203 ++++++++++++++++++ assets/styles/ui/themes/graphite.json | 203 ++++++++++++++++++ assets/styles/ui/themes/green-phosphor.json | 203 ++++++++++++++++++ assets/styles/ui/themes/high-contrast.json | 203 ++++++++++++++++++ assets/styles/ui/themes/nord.json | 203 ++++++++++++++++++ assets/styles/ui/themes/nosferatu.json | 203 ++++++++++++++++++ assets/styles/ui/themes/one-dark.json | 203 ++++++++++++++++++ assets/styles/ui/themes/platinum-9.json | 203 ++++++++++++++++++ assets/styles/ui/themes/solarized-light.json | 203 ++++++++++++++++++ assets/styles/ui/themes/solidcraft-95.json | 203 ++++++++++++++++++ assets/styles/ui/themes/tokyo-night.json | 203 ++++++++++++++++++ crates/ui-egui/src/prefs.rs | 2 +- crates/ui-egui/src/theme_files.rs | 34 ++- .../tests/scenarios/prefs_theme_files.json | 5 +- 18 files changed, 2886 insertions(+), 11 deletions(-) create mode 100644 assets/styles/ui/themes/amber-phosphor.json create mode 100644 assets/styles/ui/themes/blueprint.json create mode 100644 assets/styles/ui/themes/catppuccin-mocha.json create mode 100644 assets/styles/ui/themes/cupertino.json create mode 100644 assets/styles/ui/themes/graphite.json create mode 100644 assets/styles/ui/themes/green-phosphor.json create mode 100644 assets/styles/ui/themes/high-contrast.json create mode 100644 assets/styles/ui/themes/nord.json create mode 100644 assets/styles/ui/themes/nosferatu.json create mode 100644 assets/styles/ui/themes/one-dark.json create mode 100644 assets/styles/ui/themes/platinum-9.json create mode 100644 assets/styles/ui/themes/solarized-light.json create mode 100644 assets/styles/ui/themes/solidcraft-95.json create mode 100644 assets/styles/ui/themes/tokyo-night.json diff --git a/ATTRIBUTION.md b/ATTRIBUTION.md index e069b4280..9daf749c4 100644 --- a/ATTRIBUTION.md +++ b/ATTRIBUTION.md @@ -156,6 +156,20 @@ Editable drawing code, native projects and shipped exports are collected under ` | assets/styles/ui/themes/gruvbox-light.json | SolidCraft contributors | original SolidCraft theme file mapping SolidCraft's UI colours to the Gruvbox palette's colour values (Gruvbox by Pavel Pertsev, https://github.com/morhetz/gruvbox, MIT) | MIT OR Apache-2.0 | | assets/styles/ui/themes/gruvbox-light-hard.json | SolidCraft contributors | original SolidCraft theme file mapping SolidCraft's UI colours to the Gruvbox palette's colour values (Gruvbox by Pavel Pertsev, https://github.com/morhetz/gruvbox, MIT) | MIT OR Apache-2.0 | | assets/styles/ui/themes/gruvbox-light-soft.json | SolidCraft contributors | original SolidCraft theme file mapping SolidCraft's UI colours to the Gruvbox palette's colour values (Gruvbox by Pavel Pertsev, https://github.com/morhetz/gruvbox, MIT) | MIT OR Apache-2.0 | +| assets/styles/ui/themes/solidcraft-95.json | SolidCraft contributors | original SolidCraft theme file | MIT OR Apache-2.0 | +| assets/styles/ui/themes/platinum-9.json | SolidCraft contributors | original SolidCraft theme file | MIT OR Apache-2.0 | +| assets/styles/ui/themes/cupertino.json | SolidCraft contributors | original SolidCraft theme file | MIT OR Apache-2.0 | +| assets/styles/ui/themes/green-phosphor.json | SolidCraft contributors | original SolidCraft theme file | MIT OR Apache-2.0 | +| assets/styles/ui/themes/amber-phosphor.json | SolidCraft contributors | original SolidCraft theme file | MIT OR Apache-2.0 | +| assets/styles/ui/themes/blueprint.json | SolidCraft contributors | original SolidCraft theme file | MIT OR Apache-2.0 | +| assets/styles/ui/themes/one-dark.json | SolidCraft contributors | original SolidCraft theme file with colours adapted from the One Dark palette (Atom One Dark by GitHub Atom, https://github.com/atom/atom, MIT) | MIT OR Apache-2.0 | +| assets/styles/ui/themes/tokyo-night.json | SolidCraft contributors | original SolidCraft theme file adapting the colours of a published palette (Tokyo Night by enkia, https://github.com/enkia/tokyo-night-vscode-theme, MIT) | MIT OR Apache-2.0 | +| assets/styles/ui/themes/solarized-light.json | SolidCraft contributors | original SolidCraft theme file adapting the colours of a published palette (Solarized by Ethan Schoonover, https://github.com/altercation/solarized, MIT) | MIT OR Apache-2.0 | +| assets/styles/ui/themes/nord.json | SolidCraft contributors | original SolidCraft theme file adapting the colours of a published palette (Nord by Sven Greb and the Nord contributors, https://github.com/nordtheme/nord, MIT) | MIT OR Apache-2.0 | +| assets/styles/ui/themes/high-contrast.json | SolidCraft contributors | original SolidCraft theme file | MIT OR Apache-2.0 | +| assets/styles/ui/themes/graphite.json | SolidCraft contributors | original SolidCraft theme file | MIT OR Apache-2.0 | +| assets/styles/ui/themes/nosferatu.json | SolidCraft contributors | original SolidCraft theme file adapting the colours of a published palette (Dracula by Zeno Rocha and the Dracula Theme contributors, https://github.com/dracula/dracula-theme, MIT) | MIT OR Apache-2.0 | +| assets/styles/ui/themes/catppuccin-mocha.json | SolidCraft contributors | original SolidCraft theme file adapting the colours of a published palette (Catppuccin by the Catppuccin organisation, https://github.com/catppuccin/catppuccin, MIT) | MIT OR Apache-2.0 | | assets/styles/web/loading-logo.svg | SolidCraft contributors | Animation of the SolidCraft mark, built from the paths and gradients of assets/icons/app/macos/source/SolidCraft.icon/Assets/03-solid-blue-cutout.svg; original animation | MIT OR Apache-2.0 | | assets/styles/web/loading.css | SolidCraft contributors | Original SolidCraft resource data or drawing code, collected without redesign | MIT OR Apache-2.0 | | crates/io/src/native_cad/fixtures/block.FCStd | SolidCraft contributors | original 10 × 20 × 30 mm test box saved by FreeCAD 1.1.4 run as an external program (`make_block_fcstd.py` beside it); no third-party geometry | MIT OR Apache-2.0 | diff --git a/assets/styles/ui/themes/amber-phosphor.json b/assets/styles/ui/themes/amber-phosphor.json new file mode 100644 index 000000000..2d33c00bf --- /dev/null +++ b/assets/styles/ui/themes/amber-phosphor.json @@ -0,0 +1,203 @@ +{ + "base": "dark", + "colors": { + "accent": "#ffbc48", + "accent_soft": "#3c290d", + "agent_busy": "#ffad38", + "agent_ok": "#d4902f", + "app_bar": "#090602", + "app_bar_hover": "#ffad3818", + "app_bar_hover_button": "#ffad3820", + "app_bar_hover_strong": "#ffad3830", + "app_bar_hover_subtle": "#ffad3810", + "app_bar_icon": [ + "#efa335", + "#9b6922", + "#ffad38" + ], + "app_bar_separator": "#533812", + "app_bar_tab_active": "#1d1406", + "app_bar_text": "#f3ca87", + "axis_x": "#f3a535", + "axis_y": "#ffad38", + "axis_z": "#9b6922", + "bend_down": "#ba7e29", + "bend_up": "#d4902f", + "body": "#382309", + "body_edge": "#ffbc48", + "body_selected": "#543615", + "border": "#533812", + "box_crossing": "#d4902f", + "box_window": "#ffad38", + "chip": "#4a3210", + "construction_geom": "#ad7626", + "construction_plane": "#c6872c18", + "continuity": [ + "#c5862b", + "#c6872c", + "#d38f2e", + "#b07827" + ], + "control_border": "#533812", + "control_fill": "#1d1406", + "cube_border": "#533812", + "cube_face": "#36250c", + "cube_hover": "#563a13", + "cube_text": "#efa335", + "dialog_bg": "#100b04", + "dialog_body": "#1d1406", + "dialog_border": "#533812", + "dialog_footer": "#100b04", + "dialog_label": "#f3ca87", + "dialog_rule": "#3b280d", + "dimension": "#ffe2a5", + "dimension_driven": "#9b6922", + "error": "#fff0ca", + "field": "#100b04", + "form_accent": "#d6922f", + "form_dim": "#9b6922", + "form_error": "#fff0ca", + "form_error_fill": "#46300f", + "form_fill": "#7e561c", + "form_ink": "#f3ca87", + "form_primary": "#ffad38", + "form_soft": "#291c09", + "form_success": "#d4902f", + "form_success_fill": "#3b280d", + "form_tab_ink": "#f0a335", + "gizmo": [ + "#f3a535", + "#ffad38", + "#9b6922" + ], + "glyph_bg": "#201607", + "glyph_edge": "#bd812a", + "glyph_text": "#fff0ca", + "grid": "#21170b", + "grid_major": "#362511", + "heading_bg": "#080602", + "hover": "#3c290d", + "hover_edge": "#ffbc48", + "hover_edge_halo": "#170d03", + "hover_profile": "#ffbc4826", + "hover_profile_edge": "#ffbc48", + "icon": "#f3ca87", + "icon_fill": "#b87d28", + "icons.access": [ + "#c5862b", + "#ac7526" + ], + "icons.agent": "#cb8a2d", + "icons.axes": [ + "#f3a535", + "#ffad38", + "#9b6922" + ], + "icons.curvature": [ + "#c0832a", + "#c5862b", + "#ac7526" + ], + "icons.draft": [ + "#cb8a2d", + "#d38f2e" + ], + "icons.floor": "#76501a", + "icons.fold": "#9f6c23", + "icons.folder": "#d38f2e", + "icons.glint": "#f4a63699", + "icons.highlight": "#f6a736", + "icons.interference": "#fff0ca", + "icons.marker_halo": "#171005cc", + "icons.paint": [ + "#cc8b2d", + "#c6872c", + "#eea234" + ], + "icons.plane": "#d38f2e", + "icons.sheet": "#c3852b", + "icons.sheet_2": "#a26e24", + "icons.sheet_light": "#eca034", + "icons.sheet_line": "#f4a636", + "icons.sky": "#654516", + "icons.stripe": "#171005", + "icons.warning": "#ffd274", + "interference": "#fff0ca", + "logo": [ + "#ffad38", + "#eda134", + "#855a1d", + "#ffad38" + ], + "manipulator": "#ffad38", + "mesh_accent": "#d6922f", + "mesh_fill": "#7e561c", + "mesh_ink": "#f0a335", + "mesh_soft": "#291c09", + "on_accent": "#170d03", + "origin_plane": "#c6872c20", + "origin_plane_edge": "#c6872c80", + "origin_plane_hover": "#ffad3840", + "origin_point": "#c48b32", + "overlay": "#100b04", + "panel": "#100b04", + "panel_header": "#1d1406", + "preview_add": "#8e5c20", + "preview_cut": "#ffbc4855", + "preview_new": "#9f6c28", + "preview_sketch": "#d4902f", + "profile_fill": "#be812f20", + "render_accent": "#d6922f", + "render_fill": "#7e561c", + "render_ink": "#f0a335", + "render_soft": "#291c09", + "rubber_band": "#ffad38", + "section_cap": "#ba7e29", + "sel_edge": "#ffbc48", + "sel_edge_rim": "#9d6a24", + "sel_face": "#66431b", + "sel_profile": "#5e3d14", + "sel_profile_edge": "#ffbc48", + "sel_vertex": "#ffbc48", + "selected_bg": "#3c290d", + "selected_ink": "#ffe8b3", + "sheet_fill": "#7e561c", + "sheet_ink": "#f0a335", + "sheet_soft": "#291c09", + "sketch": "#ffbc48", + "sketch_accent": "#d6922f", + "sketch_centerline": "#ba7e29", + "sketch_construction": "#ad7626", + "sketch_fixed": "#c68b2f", + "sketch_ink": "#f0a335", + "sketch_locked": "#d4902f", + "sketch_lost": "#fff0ca", + "sketch_point": "#ffbc48", + "sketch_point_free": "#ffbc48", + "sketch_projected": "#cb8a2d", + "sketch_soft": "#291c09", + "subheading_bg": "#0c0803", + "surface_accent": "#d6922f", + "surface_fill": "#7e561c", + "surface_ink": "#f0a335", + "surface_soft": "#291c09", + "tab_on_fill_dark": "#170d03", + "text": "#f3ca87", + "text_dim": "#9b6922", + "timeline": "#090602", + "timeline_item": "#1d1406", + "timeline_item_error": "#46300f", + "timeline_marker": "#9b6922", + "toolbar": "#100b04", + "triad": [ + "#f3a535", + "#ffad38", + "#9b6922" + ], + "viewport_bottom": "#090603", + "viewport_top": "#090603", + "warning": "#ffd274" + }, + "format": "solidcraft-theme/1", + "name": "Amber Phosphor" +} diff --git a/assets/styles/ui/themes/blueprint.json b/assets/styles/ui/themes/blueprint.json new file mode 100644 index 000000000..08377118f --- /dev/null +++ b/assets/styles/ui/themes/blueprint.json @@ -0,0 +1,203 @@ +{ + "base": "dark", + "colors": { + "accent": "#66ddff", + "accent_soft": "#153c60", + "agent_busy": "#66ddff", + "agent_ok": "#6ee0bb", + "app_bar": "#07192f", + "app_bar_hover": "#c6ecff18", + "app_bar_hover_button": "#c6ecff20", + "app_bar_hover_strong": "#c6ecff30", + "app_bar_hover_subtle": "#c6ecff10", + "app_bar_icon": [ + "#e3f0fa", + "#94b2cb", + "#66ddff" + ], + "app_bar_separator": "#315777", + "app_bar_tab_active": "#112d4b", + "app_bar_text": "#e3f0fa", + "axis_x": "#ec9e99", + "axis_y": "#9ddab7", + "axis_z": "#91c8ff", + "bend_down": "#e7b374", + "bend_up": "#6ee0bb", + "body": "#8baccb", + "body_edge": "#eef8ff", + "body_selected": "#58bbdf", + "border": "#315777", + "box_crossing": "#6ee0bb", + "box_window": "#66ddff", + "chip": "#1f5278", + "construction_geom": "#78b8dc", + "construction_plane": "#b7dcf01c", + "continuity": [ + "#6ee0bb", + "#66ddff", + "#f0d18c", + "#b6a9e4" + ], + "control_border": "#315777", + "control_fill": "#112d4b", + "cube_border": "#315777", + "cube_face": "#163b60", + "cube_hover": "#285f89", + "cube_text": "#e3f0fa", + "dialog_bg": "#0c223c", + "dialog_body": "#112d4b", + "dialog_border": "#315777", + "dialog_footer": "#0c223c", + "dialog_label": "#e3f0fa", + "dialog_rule": "#254764", + "dimension": "#e3f0fa", + "dimension_driven": "#94b2cb", + "error": "#ff968d", + "field": "#071d35", + "form_accent": "#78c6e8", + "form_dim": "#94b2cb", + "form_error": "#ff968d", + "form_error_fill": "#422d40", + "form_fill": "#4386ac", + "form_ink": "#c3e6f6", + "form_primary": "#66ddff", + "form_soft": "#132f4c", + "form_success": "#6ee0bb", + "form_success_fill": "#153e47", + "form_tab_ink": "#c3e6f6", + "gizmo": [ + "#ec9e99", + "#9ddab7", + "#91c8ff" + ], + "glyph_bg": "#0a233e", + "glyph_edge": "#e6b3a6", + "glyph_text": "#e6b3a6", + "grid": "#214975", + "grid_major": "#315d89", + "heading_bg": "#06111e", + "hover": "#153c60", + "hover_edge": "#eef8ff", + "hover_edge_halo": "#092c50", + "hover_profile": "#66ddff26", + "hover_profile_edge": "#66ddff", + "icon": "#e3f0fa", + "icon_fill": "#a4c1dc", + "icons.access": [ + "#6ee0bb", + "#ff968d" + ], + "icons.agent": "#9cd6ef", + "icons.axes": [ + "#ec9e99", + "#9ddab7", + "#91c8ff" + ], + "icons.curvature": [ + "#91c8ff", + "#6ee0bb", + "#ff968d" + ], + "icons.draft": [ + "#9ddab7", + "#f0d18c" + ], + "icons.floor": "#557c9e", + "icons.fold": "#7fa5c5", + "icons.folder": "#b9d8ec", + "icons.glint": "#eaf6ff99", + "icons.highlight": "#eef8ff", + "icons.interference": "#ff968d", + "icons.marker_halo": "#07192fcc", + "icons.paint": [ + "#a5d4ec", + "#66ddff", + "#e3f0fa" + ], + "icons.plane": "#bad8ec", + "icons.sheet": "#a4c9e5", + "icons.sheet_2": "#7ea9cb", + "icons.sheet_light": "#deeffb", + "icons.sheet_line": "#eaf6ff", + "icons.sky": "#416b92", + "icons.stripe": "#07192f", + "icons.warning": "#f0d18c", + "interference": "#ff968d", + "logo": [ + "#d8f4ff", + "#8edcf5", + "#4386ac", + "#eef8ff" + ], + "manipulator": "#66ddff", + "mesh_accent": "#78c6e8", + "mesh_fill": "#4386ac", + "mesh_ink": "#c3e6f6", + "mesh_soft": "#132f4c", + "on_accent": "#07192f", + "origin_plane": "#b7dcf024", + "origin_plane_edge": "#a3cce480", + "origin_plane_hover": "#66ddff45", + "origin_point": "#aad0ed", + "overlay": "#0c223c", + "panel": "#0c223c", + "panel_header": "#112d4b", + "preview_add": "#a9def2", + "preview_cut": "#ff968d55", + "preview_new": "#d2e8f7", + "preview_sketch": "#6ee0bb", + "profile_fill": "#c9eaff12", + "render_accent": "#78c6e8", + "render_fill": "#4386ac", + "render_ink": "#c3e6f6", + "render_soft": "#132f4c", + "rubber_band": "#66ddff", + "section_cap": "#e7b374", + "sel_edge": "#66ddff", + "sel_edge_rim": "#c5f3ff", + "sel_face": "#58bbdf", + "sel_profile": "#1c799e", + "sel_profile_edge": "#66ddff", + "sel_vertex": "#66ddff", + "selected_bg": "#153c60", + "selected_ink": "#b6f2ff", + "sheet_fill": "#4386ac", + "sheet_ink": "#c3e6f6", + "sheet_soft": "#132f4c", + "sketch": "#eaf6ff", + "sketch_accent": "#78c6e8", + "sketch_centerline": "#e7b374", + "sketch_construction": "#78b8dc", + "sketch_fixed": "#e3f0fa", + "sketch_ink": "#c3e6f6", + "sketch_locked": "#6ee0bb", + "sketch_lost": "#ff968d", + "sketch_point": "#e3f0fa", + "sketch_point_free": "#66ddff", + "sketch_projected": "#9cd6ef", + "sketch_soft": "#132f4c", + "subheading_bg": "#091a2d", + "surface_accent": "#78c6e8", + "surface_fill": "#4386ac", + "surface_ink": "#c3e6f6", + "surface_soft": "#132f4c", + "tab_on_fill_dark": "#07192f", + "text": "#e3f0fa", + "text_dim": "#94b2cb", + "timeline": "#07192f", + "timeline_item": "#112d4b", + "timeline_item_error": "#422d40", + "timeline_marker": "#94b2cb", + "toolbar": "#0c223c", + "triad": [ + "#ec9e99", + "#9ddab7", + "#91c8ff" + ], + "viewport_bottom": "#143b67", + "viewport_top": "#143b67", + "warning": "#f0d18c" + }, + "format": "solidcraft-theme/1", + "name": "Blueprint" +} diff --git a/assets/styles/ui/themes/catppuccin-mocha.json b/assets/styles/ui/themes/catppuccin-mocha.json new file mode 100644 index 000000000..f4009a1f7 --- /dev/null +++ b/assets/styles/ui/themes/catppuccin-mocha.json @@ -0,0 +1,203 @@ +{ + "base": "dark", + "colors": { + "accent": "#cba6f7", + "accent_soft": "#302b46", + "agent_busy": "#cba6f7", + "agent_ok": "#a6e3a1", + "app_bar": "#181825", + "app_bar_hover": "#cdd6f418", + "app_bar_hover_button": "#cdd6f422", + "app_bar_hover_strong": "#cdd6f430", + "app_bar_hover_subtle": "#cdd6f410", + "app_bar_icon": [ + "#cdd6f4", + "#a6adc8", + "#cba6f7" + ], + "app_bar_separator": "#45475a", + "app_bar_tab_active": "#313244", + "app_bar_text": "#cdd6f4", + "axis_x": "#f38ba8", + "axis_y": "#a6e3a1", + "axis_z": "#477dc8", + "bend_down": "#f9e2af", + "bend_up": "#a6e3a1", + "body": "#586382", + "body_edge": "#477dc8", + "body_selected": "#365280", + "border": "#45475a", + "box_crossing": "#a6e3a1", + "box_window": "#cba6f7", + "chip": "#cba6f7", + "construction_geom": "#f9e2af", + "construction_plane": "#f9e2af22", + "continuity": [ + "#a6e3a1", + "#477dc8", + "#f9e2af", + "#cba6f7" + ], + "control_border": "#45475a", + "control_fill": "#313244", + "cube_border": "#45475a", + "cube_face": "#313244", + "cube_hover": "#302b46", + "cube_text": "#cdd6f4", + "dialog_bg": "#1e1e2e", + "dialog_body": "#1e1e2e", + "dialog_border": "#45475a", + "dialog_footer": "#1e1e2e", + "dialog_label": "#cdd6f4", + "dialog_rule": "#45475a", + "dimension": "#cdd6f4", + "dimension_driven": "#a6adc8", + "error": "#f38ba8", + "field": "#181825", + "form_accent": "#cba6f7", + "form_dim": "#a6adc8", + "form_error": "#f38ba8", + "form_error_fill": "#493446", + "form_fill": "#477dc8", + "form_ink": "#cdd6f4", + "form_primary": "#cba6f7", + "form_soft": "#302b46", + "form_success": "#a6e3a1", + "form_success_fill": "#353f42", + "form_tab_ink": "#cdd6f4", + "gizmo": [ + "#f38ba8", + "#a6e3a1", + "#477dc8" + ], + "glyph_bg": "#313244", + "glyph_edge": "#f38ba8", + "glyph_text": "#f38ba8", + "grid": "#242531", + "grid_major": "#363846", + "heading_bg": "#0f0f17", + "hover": "#302b46", + "hover_edge": "#477dc8", + "hover_edge_halo": "#11111b", + "hover_profile": "#cba6f728", + "hover_profile_edge": "#477dc8", + "icon": "#cdd6f4", + "icon_fill": "#a6adc8", + "icons.access": [ + "#a6e3a1", + "#f38ba8" + ], + "icons.agent": "#cba6f7", + "icons.axes": [ + "#f38ba8", + "#a6e3a1", + "#477dc8" + ], + "icons.curvature": [ + "#477dc8", + "#a6e3a1", + "#f38ba8" + ], + "icons.draft": [ + "#a6e3a1", + "#f9e2af" + ], + "icons.floor": "#a6adc8", + "icons.fold": "#a6adc8", + "icons.folder": "#f9e2af", + "icons.glint": "#cdd6f480", + "icons.highlight": "#cdd6f4", + "icons.interference": "#f38ba8", + "icons.marker_halo": "#181825cc", + "icons.paint": [ + "#f38ba8", + "#477dc8", + "#f9e2af" + ], + "icons.plane": "#f9e2af", + "icons.sheet": "#586382", + "icons.sheet_2": "#586382", + "icons.sheet_light": "#cdd6f4", + "icons.sheet_line": "#477dc8", + "icons.sky": "#586382", + "icons.stripe": "#a6adc8", + "icons.warning": "#f9e2af", + "interference": "#f38ba8", + "logo": [ + "#cba6f7", + "#477dc8", + "#586382", + "#cdd6f4" + ], + "manipulator": "#cba6f7", + "mesh_accent": "#cba6f7", + "mesh_fill": "#477dc8", + "mesh_ink": "#cdd6f4", + "mesh_soft": "#302b46", + "on_accent": "#06121b", + "origin_plane": "#f9e2af28", + "origin_plane_edge": "#f9e2af88", + "origin_plane_hover": "#cba6f740", + "origin_point": "#a6adc8", + "overlay": "#1e1e2e", + "panel": "#1e1e2e", + "panel_header": "#313244", + "preview_add": "#477dc8", + "preview_cut": "#f38ba866", + "preview_new": "#f9e2af", + "preview_sketch": "#a6e3a1", + "profile_fill": "#477dc822", + "render_accent": "#cba6f7", + "render_fill": "#477dc8", + "render_ink": "#cdd6f4", + "render_soft": "#302b46", + "rubber_band": "#cba6f7", + "section_cap": "#f9e2af", + "sel_edge": "#477dc8", + "sel_edge_rim": "#477dc8", + "sel_face": "#365280", + "sel_profile": "#365280", + "sel_profile_edge": "#477dc8", + "sel_vertex": "#477dc8", + "selected_bg": "#365280", + "selected_ink": "#cdd6f4", + "sheet_fill": "#477dc8", + "sheet_ink": "#cdd6f4", + "sheet_soft": "#302b46", + "sketch": "#477dc8", + "sketch_accent": "#cba6f7", + "sketch_centerline": "#f9e2af", + "sketch_construction": "#f9e2af", + "sketch_fixed": "#cdd6f4", + "sketch_ink": "#cdd6f4", + "sketch_locked": "#a6e3a1", + "sketch_lost": "#f38ba8", + "sketch_point": "#cdd6f4", + "sketch_point_free": "#477dc8", + "sketch_projected": "#cba6f7", + "sketch_soft": "#302b46", + "subheading_bg": "#161622", + "surface_accent": "#cba6f7", + "surface_fill": "#477dc8", + "surface_ink": "#cdd6f4", + "surface_soft": "#302b46", + "tab_on_fill_dark": "#181825", + "text": "#cdd6f4", + "text_dim": "#a6adc8", + "timeline": "#313244", + "timeline_item": "#313244", + "timeline_item_error": "#51384b", + "timeline_marker": "#a6adc8", + "toolbar": "#1e1e2e", + "triad": [ + "#f38ba8", + "#a6e3a1", + "#477dc8" + ], + "viewport_bottom": "#11111b", + "viewport_top": "#11111b", + "warning": "#f9e2af" + }, + "format": "solidcraft-theme/1", + "name": "Catppuccin Mocha" +} diff --git a/assets/styles/ui/themes/cupertino.json b/assets/styles/ui/themes/cupertino.json new file mode 100644 index 000000000..34ed0e44f --- /dev/null +++ b/assets/styles/ui/themes/cupertino.json @@ -0,0 +1,203 @@ +{ + "base": "light", + "colors": { + "accent": "#007aff", + "accent_soft": "#dcecff", + "agent_busy": "#329ade", + "agent_ok": "#299b45", + "app_bar": "#dcdcdc", + "app_bar_hover": "#0000000a", + "app_bar_hover_button": "#ffffff80", + "app_bar_hover_strong": "#00000018", + "app_bar_hover_subtle": "#ffffff40", + "app_bar_icon": [ + "#48484a", + "#8e8e93", + "#007aff" + ], + "app_bar_separator": "#b4b4b8", + "app_bar_tab_active": "#f4f4f4", + "app_bar_text": "#242426", + "axis_x": "#ff0000", + "axis_y": "#00ff00", + "axis_z": "#0202f8", + "bend_down": "#bd843f", + "bend_up": "#36934d", + "body": "#b6bbc3", + "body_edge": "#393d44", + "body_selected": "#79afea", + "border": "#c6c6c8", + "box_crossing": "#39a75b", + "box_window": "#007aff", + "chip": "#007aff", + "construction_geom": "#9a712b", + "construction_plane": "#efd3a146", + "continuity": [ + "#009e73", + "#0072b2", + "#f0c800", + "#cc008c" + ], + "control_border": "#b0b0b4", + "control_fill": "#ececec", + "cube_border": "#9a9aa0", + "cube_face": "#f2f2f4", + "cube_hover": "#cce5ff", + "cube_text": "#262628", + "dialog_bg": "#ececec", + "dialog_body": "#f3f3f3", + "dialog_border": "#c6c6c8", + "dialog_footer": "#ececec", + "dialog_label": "#262628", + "dialog_rule": "#c6c6c8", + "dimension": "#262628", + "dimension_driven": "#6e6e73", + "error": "#d53137", + "field": "#ffffff", + "form_accent": "#8055be", + "form_dim": "#6e6e73", + "form_error": "#c02b31", + "form_error_fill": "#fcebea", + "form_fill": "#946bc9", + "form_ink": "#262628", + "form_primary": "#0071e3", + "form_soft": "#eee8f7", + "form_success": "#237b38", + "form_success_fill": "#e6f3e8", + "form_tab_ink": "#7445af", + "gizmo": [ + "#ed514b", + "#36ad59", + "#2184e9" + ], + "glyph_bg": "#ffffff", + "glyph_edge": "#ce8d85", + "glyph_text": "#c34136", + "grid": "#d0d2d6", + "grid_major": "#b5b8be", + "heading_bg": "#e2e2e2", + "hover": "#dcecff", + "hover_edge": "#222226", + "hover_edge_halo": "#ffffff", + "hover_profile": "#007aff26", + "hover_profile_edge": "#007aff", + "icon": "#505054", + "icon_fill": "#b5c8e1", + "icons.access": [ + "#34a853", + "#e94e44" + ], + "icons.agent": "#a467d6", + "icons.axes": [ + "#e95049", + "#35a754", + "#297fdb" + ], + "icons.curvature": [ + "#297fdb", + "#35ad59", + "#e95049" + ], + "icons.draft": [ + "#35ad59", + "#e4bb31" + ], + "icons.floor": "#606068", + "icons.fold": "#9a9aa2", + "icons.folder": "#70bce8", + "icons.glint": "#ffffffb3", + "icons.highlight": "#ffffff", + "icons.interference": "#ed514b", + "icons.marker_halo": "#00000080", + "icons.paint": [ + "#ed514b", + "#3599e4", + "#edc53d" + ], + "icons.plane": "#ebd3a2", + "icons.sheet": "#bbd7ef", + "icons.sheet_2": "#a5c8e7", + "icons.sheet_light": "#e5eff8", + "icons.sheet_line": "#84aace", + "icons.sky": "#d1e2f0", + "icons.stripe": "#38383c", + "icons.warning": "#f5c437", + "interference": "#ed443b", + "logo": [ + "#85b9ef", + "#4096e9", + "#2b71be", + "#ffffff" + ], + "manipulator": "#007aff", + "mesh_accent": "#927300", + "mesh_fill": "#d0ac35", + "mesh_ink": "#856700", + "mesh_soft": "#fbf5df", + "on_accent": "#ffffff", + "origin_plane": "#f0c58a55", + "origin_plane_edge": "#bf915ac8", + "origin_plane_hover": "#8eaee680", + "origin_point": "#d8dadd", + "overlay": "#f6f6f6f5", + "panel": "#ececec", + "panel_header": "#e2e2e2", + "preview_add": "#78aae1", + "preview_cut": "#eb634d66", + "preview_new": "#e9d875", + "preview_sketch": "#3ab86b", + "profile_fill": "#f3c88a3d", + "render_accent": "#af4083", + "render_fill": "#bd5b92", + "render_ink": "#9f3676", + "render_soft": "#f6e8f0", + "rubber_band": "#007aff", + "section_cap": "#c79769", + "sel_edge": "#007aff", + "sel_edge_rim": "#a6d2ff", + "sel_face": "#669bd6", + "sel_profile": "#215da3", + "sel_profile_edge": "#007aff", + "sel_vertex": "#316cae", + "selected_bg": "#dcecff", + "selected_ink": "#004b9b", + "sheet_fill": "#3884a5", + "sheet_ink": "#226b89", + "sheet_soft": "#e6f1f6", + "sketch": "#1264bf", + "sketch_accent": "#288049", + "sketch_centerline": "#b77c47", + "sketch_construction": "#cb8b37", + "sketch_fixed": "#262628", + "sketch_ink": "#23723f", + "sketch_locked": "#318348", + "sketch_lost": "#c94f68", + "sketch_point": "#262628", + "sketch_point_free": "#1264bf", + "sketch_projected": "#9258b7", + "sketch_soft": "#eaf4ed", + "subheading_bg": "#e8e8e8", + "surface_accent": "#996a28", + "surface_fill": "#b5833e", + "surface_ink": "#8b5c1d", + "surface_soft": "#f8efdf", + "tab_on_fill_dark": "#242426", + "text": "#262628", + "text_dim": "#6e6e73", + "timeline": "#e2e2e2", + "timeline_item": "#ffffff", + "timeline_item_error": "#f8dedb", + "timeline_marker": "#63636b", + "toolbar": "#ececec", + "triad": [ + "#e95049", + "#35a754", + "#297fdb" + ], + "viewport_bottom": "#d9dce2", + "viewport_top": "#f5f5f7", + "warning": "#ad7400" + }, + "format": "solidcraft-theme/1", + "name": "Cupertino" +} diff --git a/assets/styles/ui/themes/graphite.json b/assets/styles/ui/themes/graphite.json new file mode 100644 index 000000000..734c11c14 --- /dev/null +++ b/assets/styles/ui/themes/graphite.json @@ -0,0 +1,203 @@ +{ + "base": "dark", + "colors": { + "accent": "#4aa3d8", + "accent_soft": "#293c49", + "agent_busy": "#4aa3d8", + "agent_ok": "#83c69b", + "app_bar": "#1c1e21", + "app_bar_hover": "#e0e2e518", + "app_bar_hover_button": "#e0e2e522", + "app_bar_hover_strong": "#e0e2e530", + "app_bar_hover_subtle": "#e0e2e510", + "app_bar_icon": [ + "#e0e2e5", + "#a0a6b0", + "#4aa3d8" + ], + "app_bar_separator": "#484d55", + "app_bar_tab_active": "#303338", + "app_bar_text": "#e0e2e5", + "axis_x": "#ed7777", + "axis_y": "#83c69b", + "axis_z": "#2878a9", + "bend_down": "#dbb879", + "bend_up": "#83c69b", + "body": "#68717d", + "body_edge": "#2878a9", + "body_selected": "#245674", + "border": "#484d55", + "box_crossing": "#83c69b", + "box_window": "#4aa3d8", + "chip": "#4aa3d8", + "construction_geom": "#dbb879", + "construction_plane": "#dbb87922", + "continuity": [ + "#83c69b", + "#2878a9", + "#dbb879", + "#ad9cce" + ], + "control_border": "#484d55", + "control_fill": "#303338", + "cube_border": "#484d55", + "cube_face": "#303338", + "cube_hover": "#293c49", + "cube_text": "#e0e2e5", + "dialog_bg": "#25272b", + "dialog_body": "#25272b", + "dialog_border": "#484d55", + "dialog_footer": "#25272b", + "dialog_label": "#e0e2e5", + "dialog_rule": "#484d55", + "dimension": "#e0e2e5", + "dimension_driven": "#a0a6b0", + "error": "#ed7777", + "field": "#1c1e21", + "form_accent": "#4aa3d8", + "form_dim": "#a0a6b0", + "form_error": "#ed7777", + "form_error_fill": "#4d373a", + "form_fill": "#2878a9", + "form_ink": "#e0e2e5", + "form_primary": "#4aa3d8", + "form_soft": "#293c49", + "form_success": "#83c69b", + "form_success_fill": "#35423e", + "form_tab_ink": "#e0e2e5", + "gizmo": [ + "#ed7777", + "#83c69b", + "#2878a9" + ], + "glyph_bg": "#303338", + "glyph_edge": "#ed7777", + "glyph_text": "#ed7777", + "grid": "#292b30", + "grid_major": "#393c42", + "heading_bg": "#121416", + "hover": "#293c49", + "hover_edge": "#2878a9", + "hover_edge_halo": "#17191d", + "hover_profile": "#4aa3d828", + "hover_profile_edge": "#2878a9", + "icon": "#e0e2e5", + "icon_fill": "#a0a6b0", + "icons.access": [ + "#83c69b", + "#ed7777" + ], + "icons.agent": "#ad9cce", + "icons.axes": [ + "#ed7777", + "#83c69b", + "#2878a9" + ], + "icons.curvature": [ + "#2878a9", + "#83c69b", + "#ed7777" + ], + "icons.draft": [ + "#83c69b", + "#dbb879" + ], + "icons.floor": "#a0a6b0", + "icons.fold": "#a0a6b0", + "icons.folder": "#dbb879", + "icons.glint": "#e0e2e580", + "icons.highlight": "#e0e2e5", + "icons.interference": "#ed7777", + "icons.marker_halo": "#1c1e21cc", + "icons.paint": [ + "#ed7777", + "#2878a9", + "#dbb879" + ], + "icons.plane": "#dbb879", + "icons.sheet": "#68717d", + "icons.sheet_2": "#68717d", + "icons.sheet_light": "#e0e2e5", + "icons.sheet_line": "#2878a9", + "icons.sky": "#68717d", + "icons.stripe": "#a0a6b0", + "icons.warning": "#dbb879", + "interference": "#ed7777", + "logo": [ + "#4aa3d8", + "#2878a9", + "#68717d", + "#e0e2e5" + ], + "manipulator": "#4aa3d8", + "mesh_accent": "#4aa3d8", + "mesh_fill": "#2878a9", + "mesh_ink": "#e0e2e5", + "mesh_soft": "#293c49", + "on_accent": "#06121b", + "origin_plane": "#dbb87928", + "origin_plane_edge": "#dbb87988", + "origin_plane_hover": "#4aa3d840", + "origin_point": "#a0a6b0", + "overlay": "#25272b", + "panel": "#25272b", + "panel_header": "#303338", + "preview_add": "#2878a9", + "preview_cut": "#ed777766", + "preview_new": "#dbb879", + "preview_sketch": "#83c69b", + "profile_fill": "#2878a922", + "render_accent": "#4aa3d8", + "render_fill": "#2878a9", + "render_ink": "#e0e2e5", + "render_soft": "#293c49", + "rubber_band": "#4aa3d8", + "section_cap": "#dbb879", + "sel_edge": "#2878a9", + "sel_edge_rim": "#2878a9", + "sel_face": "#245674", + "sel_profile": "#245674", + "sel_profile_edge": "#2878a9", + "sel_vertex": "#2878a9", + "selected_bg": "#245674", + "selected_ink": "#e0e2e5", + "sheet_fill": "#2878a9", + "sheet_ink": "#e0e2e5", + "sheet_soft": "#293c49", + "sketch": "#2878a9", + "sketch_accent": "#4aa3d8", + "sketch_centerline": "#dbb879", + "sketch_construction": "#dbb879", + "sketch_fixed": "#e0e2e5", + "sketch_ink": "#e0e2e5", + "sketch_locked": "#83c69b", + "sketch_lost": "#ed7777", + "sketch_point": "#e0e2e5", + "sketch_point_free": "#2878a9", + "sketch_projected": "#ad9cce", + "sketch_soft": "#293c49", + "subheading_bg": "#1c1d20", + "surface_accent": "#4aa3d8", + "surface_fill": "#2878a9", + "surface_ink": "#e0e2e5", + "surface_soft": "#293c49", + "tab_on_fill_dark": "#1c1e21", + "text": "#e0e2e5", + "text_dim": "#a0a6b0", + "timeline": "#303338", + "timeline_item": "#303338", + "timeline_item_error": "#553a3d", + "timeline_marker": "#a0a6b0", + "toolbar": "#25272b", + "triad": [ + "#ed7777", + "#83c69b", + "#2878a9" + ], + "viewport_bottom": "#17191d", + "viewport_top": "#17191d", + "warning": "#dbb879" + }, + "format": "solidcraft-theme/1", + "name": "Graphite" +} diff --git a/assets/styles/ui/themes/green-phosphor.json b/assets/styles/ui/themes/green-phosphor.json new file mode 100644 index 000000000..473d32fce --- /dev/null +++ b/assets/styles/ui/themes/green-phosphor.json @@ -0,0 +1,203 @@ +{ + "base": "dark", + "colors": { + "accent": "#4dff79", + "accent_soft": "#123c20", + "agent_busy": "#4dff79", + "agent_ok": "#39d45c", + "app_bar": "#020904", + "app_bar_hover": "#79ff9b18", + "app_bar_hover_button": "#79ff9b20", + "app_bar_hover_strong": "#79ff9b30", + "app_bar_hover_subtle": "#79ff9b10", + "app_bar_icon": [ + "#8def9f", + "#5b9b6a", + "#4dff79" + ], + "app_bar_separator": "#285333", + "app_bar_tab_active": "#0b1d10", + "app_bar_text": "#8def9f", + "axis_x": "#c1f3ba", + "axis_y": "#4dff79", + "axis_z": "#599b70", + "bend_down": "#32ba50", + "bend_up": "#39d45c", + "body": "#0b3818", + "body_edge": "#4dff79", + "body_selected": "#18542b", + "border": "#285333", + "box_crossing": "#39d45c", + "box_window": "#4dff79", + "chip": "#144a20", + "construction_geom": "#2fad4a", + "construction_plane": "#72c68b18", + "continuity": [ + "#35c555", + "#36c655", + "#39d35b", + "#30b04c" + ], + "control_border": "#285333", + "control_fill": "#0b1d10", + "cube_border": "#285333", + "cube_face": "#0f3617", + "cube_hover": "#175625", + "cube_text": "#40ee66", + "dialog_bg": "#061009", + "dialog_body": "#0b1d10", + "dialog_border": "#285333", + "dialog_footer": "#061009", + "dialog_label": "#8def9f", + "dialog_rule": "#173b22", + "dimension": "#8def9f", + "dimension_driven": "#5b9b6a", + "error": "#d8ffdf", + "field": "#061009", + "form_accent": "#59d67b", + "form_dim": "#5b9b6a", + "form_error": "#d8ffdf", + "form_error_fill": "#21462a", + "form_fill": "#287e43", + "form_ink": "#9bf0b1", + "form_primary": "#4dff79", + "form_soft": "#0e2918", + "form_success": "#39d45c", + "form_success_fill": "#133b20", + "form_tab_ink": "#9bf0b1", + "gizmo": [ + "#c1f3ba", + "#4dff79", + "#599b70" + ], + "glyph_bg": "#09200e", + "glyph_edge": "#33bd51", + "glyph_text": "#d8ffdf", + "grid": "#091b0f", + "grid_major": "#122d1a", + "heading_bg": "#030804", + "hover": "#123c20", + "hover_edge": "#4dff79", + "hover_edge_halo": "#021007", + "hover_profile": "#4dff7926", + "hover_profile_edge": "#4dff79", + "icon": "#8def9f", + "icon_fill": "#57b875", + "icons.access": [ + "#35c555", + "#2eac4a" + ], + "icons.agent": "#37cb57", + "icons.axes": [ + "#c1f3ba", + "#4dff79", + "#599b70" + ], + "icons.curvature": [ + "#34c053", + "#35c555", + "#2eac4a" + ], + "icons.draft": [ + "#37cb57", + "#39d35b" + ], + "icons.floor": "#207633", + "icons.fold": "#2b9f44", + "icons.folder": "#39d35b", + "icons.glint": "#42f46999", + "icons.highlight": "#43f66a", + "icons.interference": "#d8ffdf", + "icons.marker_halo": "#06170acc", + "icons.paint": [ + "#37cc58", + "#36c655", + "#40ee66" + ], + "icons.plane": "#39d35b", + "icons.sheet": "#35c354", + "icons.sheet_2": "#2ca246", + "icons.sheet_light": "#40ec66", + "icons.sheet_line": "#42f469", + "icons.sky": "#1b652b", + "icons.stripe": "#06170a", + "icons.warning": "#d1ffad", + "interference": "#d8ffdf", + "logo": [ + "#b3ffc4", + "#79ed95", + "#34854b", + "#d8ffdf" + ], + "manipulator": "#4dff79", + "mesh_accent": "#59d67b", + "mesh_fill": "#287e43", + "mesh_ink": "#9bf0b1", + "mesh_soft": "#0e2918", + "on_accent": "#031207", + "origin_plane": "#72c68b20", + "origin_plane_edge": "#72c68b80", + "origin_plane_hover": "#4dff7940", + "origin_point": "#37ca57", + "overlay": "#061009", + "panel": "#061009", + "panel_header": "#0b1d10", + "preview_add": "#278e43", + "preview_cut": "#4dff7955", + "preview_new": "#319f4b", + "preview_sketch": "#39d45c", + "profile_fill": "#2fbe5320", + "render_accent": "#59d67b", + "render_fill": "#287e43", + "render_ink": "#9bf0b1", + "render_soft": "#0e2918", + "rubber_band": "#4dff79", + "section_cap": "#32ba50", + "sel_edge": "#4dff79", + "sel_edge_rim": "#249d48", + "sel_face": "#216638", + "sel_profile": "#1a5e2c", + "sel_profile_edge": "#4dff79", + "sel_vertex": "#4dff79", + "selected_bg": "#123c20", + "selected_ink": "#b3ffc4", + "sheet_fill": "#287e43", + "sheet_ink": "#9bf0b1", + "sheet_soft": "#0e2918", + "sketch": "#4dff79", + "sketch_accent": "#59d67b", + "sketch_centerline": "#32ba50", + "sketch_construction": "#2fad4a", + "sketch_fixed": "#8def9f", + "sketch_ink": "#9bf0b1", + "sketch_locked": "#39d45c", + "sketch_lost": "#d8ffdf", + "sketch_point": "#8def9f", + "sketch_point_free": "#4dff79", + "sketch_projected": "#37cb57", + "sketch_soft": "#0e2918", + "subheading_bg": "#040c07", + "surface_accent": "#59d67b", + "surface_fill": "#287e43", + "surface_ink": "#9bf0b1", + "surface_soft": "#0e2918", + "tab_on_fill_dark": "#031207", + "text": "#8def9f", + "text_dim": "#5b9b6a", + "timeline": "#020904", + "timeline_item": "#0b1d10", + "timeline_item_error": "#21462a", + "timeline_marker": "#5b9b6a", + "toolbar": "#061009", + "triad": [ + "#c1f3ba", + "#4dff79", + "#599b70" + ], + "viewport_bottom": "#010703", + "viewport_top": "#010703", + "warning": "#d1ffad" + }, + "format": "solidcraft-theme/1", + "name": "Green Phosphor" +} diff --git a/assets/styles/ui/themes/high-contrast.json b/assets/styles/ui/themes/high-contrast.json new file mode 100644 index 000000000..1d96b8989 --- /dev/null +++ b/assets/styles/ui/themes/high-contrast.json @@ -0,0 +1,203 @@ +{ + "base": "dark", + "colors": { + "accent": "#00bfff", + "accent_soft": "#002c45", + "agent_busy": "#00bfff", + "agent_ok": "#40e080", + "app_bar": "#000000", + "app_bar_hover": "#ffffff18", + "app_bar_hover_button": "#ffffff22", + "app_bar_hover_strong": "#ffffff30", + "app_bar_hover_subtle": "#ffffff10", + "app_bar_icon": [ + "#ffffff", + "#cccccc", + "#00bfff" + ], + "app_bar_separator": "#a0a0a0", + "app_bar_tab_active": "#151515", + "app_bar_text": "#ffffff", + "axis_x": "#ff6666", + "axis_y": "#40e080", + "axis_z": "#0070d0", + "bend_down": "#ffcc00", + "bend_up": "#40e080", + "body": "#555555", + "body_edge": "#0070d0", + "body_selected": "#004c80", + "border": "#a0a0a0", + "box_crossing": "#40e080", + "box_window": "#00bfff", + "chip": "#00bfff", + "construction_geom": "#ffcc00", + "construction_plane": "#ffcc0022", + "continuity": [ + "#40e080", + "#0070d0", + "#ffcc00", + "#c080ff" + ], + "control_border": "#a0a0a0", + "control_fill": "#151515", + "cube_border": "#a0a0a0", + "cube_face": "#151515", + "cube_hover": "#002c45", + "cube_text": "#ffffff", + "dialog_bg": "#0c0c0c", + "dialog_body": "#000000", + "dialog_border": "#a0a0a0", + "dialog_footer": "#000000", + "dialog_label": "#ffffff", + "dialog_rule": "#a0a0a0", + "dimension": "#ffffff", + "dimension_driven": "#cccccc", + "error": "#ff6666", + "field": "#000000", + "form_accent": "#00bfff", + "form_dim": "#cccccc", + "form_error": "#ff6666", + "form_error_fill": "#331414", + "form_fill": "#0070d0", + "form_ink": "#ffffff", + "form_primary": "#00bfff", + "form_soft": "#002c45", + "form_success": "#40e080", + "form_success_fill": "#0b2616", + "form_tab_ink": "#ffffff", + "gizmo": [ + "#ff6666", + "#40e080", + "#0070d0" + ], + "glyph_bg": "#151515", + "glyph_edge": "#ff6666", + "glyph_text": "#ff6666", + "grid": "#10202b", + "grid_major": "#234054", + "heading_bg": "#000000", + "hover": "#002c45", + "hover_edge": "#ffcc00", + "hover_edge_halo": "#000000", + "hover_profile": "#00bfff28", + "hover_profile_edge": "#0070d0", + "icon": "#ffffff", + "icon_fill": "#cccccc", + "icons.access": [ + "#40e080", + "#ff6666" + ], + "icons.agent": "#c080ff", + "icons.axes": [ + "#ff6666", + "#40e080", + "#0070d0" + ], + "icons.curvature": [ + "#0070d0", + "#40e080", + "#ff6666" + ], + "icons.draft": [ + "#40e080", + "#ffcc00" + ], + "icons.floor": "#cccccc", + "icons.fold": "#cccccc", + "icons.folder": "#ffcc00", + "icons.glint": "#ffffff80", + "icons.highlight": "#ffffff", + "icons.interference": "#ff6666", + "icons.marker_halo": "#000000cc", + "icons.paint": [ + "#ff6666", + "#0070d0", + "#ffcc00" + ], + "icons.plane": "#ffcc00", + "icons.sheet": "#555555", + "icons.sheet_2": "#555555", + "icons.sheet_light": "#ffffff", + "icons.sheet_line": "#0070d0", + "icons.sky": "#555555", + "icons.stripe": "#cccccc", + "icons.warning": "#ffcc00", + "interference": "#ff6666", + "logo": [ + "#00bfff", + "#0070d0", + "#555555", + "#ffffff" + ], + "manipulator": "#00bfff", + "mesh_accent": "#00bfff", + "mesh_fill": "#0070d0", + "mesh_ink": "#ffffff", + "mesh_soft": "#002c45", + "on_accent": "#06121b", + "origin_plane": "#ffcc0028", + "origin_plane_edge": "#ffcc0088", + "origin_plane_hover": "#00bfff40", + "origin_point": "#cccccc", + "overlay": "#000000", + "panel": "#000000", + "panel_header": "#151515", + "preview_add": "#0070d0", + "preview_cut": "#ff666666", + "preview_new": "#ffcc00", + "preview_sketch": "#40e080", + "profile_fill": "#0070d022", + "render_accent": "#00bfff", + "render_fill": "#0070d0", + "render_ink": "#ffffff", + "render_soft": "#002c45", + "rubber_band": "#00bfff", + "section_cap": "#ffcc00", + "sel_edge": "#00bfff", + "sel_edge_rim": "#0070d0", + "sel_face": "#004c80", + "sel_profile": "#004c80", + "sel_profile_edge": "#0070d0", + "sel_vertex": "#0070d0", + "selected_bg": "#004c80", + "selected_ink": "#ffffff", + "sheet_fill": "#0070d0", + "sheet_ink": "#ffffff", + "sheet_soft": "#002c45", + "sketch": "#0070d0", + "sketch_accent": "#00bfff", + "sketch_centerline": "#ffcc00", + "sketch_construction": "#ffcc00", + "sketch_fixed": "#ffffff", + "sketch_ink": "#ffffff", + "sketch_locked": "#40e080", + "sketch_lost": "#ff6666", + "sketch_point": "#ffffff", + "sketch_point_free": "#0070d0", + "sketch_projected": "#c080ff", + "sketch_soft": "#002c45", + "subheading_bg": "#060606", + "surface_accent": "#00bfff", + "surface_fill": "#0070d0", + "surface_ink": "#ffffff", + "surface_soft": "#002c45", + "tab_on_fill_dark": "#000000", + "text": "#ffffff", + "text_dim": "#cccccc", + "timeline": "#151515", + "timeline_item": "#151515", + "timeline_item_error": "#3d1818", + "timeline_marker": "#cccccc", + "toolbar": "#000000", + "triad": [ + "#ff6666", + "#40e080", + "#0070d0" + ], + "viewport_bottom": "#000000", + "viewport_top": "#000000", + "warning": "#ffcc00" + }, + "format": "solidcraft-theme/1", + "name": "High Contrast" +} diff --git a/assets/styles/ui/themes/nord.json b/assets/styles/ui/themes/nord.json new file mode 100644 index 000000000..8d9a064b4 --- /dev/null +++ b/assets/styles/ui/themes/nord.json @@ -0,0 +1,203 @@ +{ + "base": "dark", + "colors": { + "accent": "#88c0d0", + "accent_soft": "#35495b", + "agent_busy": "#88c0d0", + "agent_ok": "#a3be8c", + "app_bar": "#242933", + "app_bar_hover": "#eceff418", + "app_bar_hover_button": "#eceff422", + "app_bar_hover_strong": "#eceff430", + "app_bar_hover_subtle": "#eceff410", + "app_bar_icon": [ + "#eceff4", + "#a4b0c2", + "#88c0d0" + ], + "app_bar_separator": "#4c566a", + "app_bar_tab_active": "#3b4252", + "app_bar_text": "#eceff4", + "axis_x": "#bf616a", + "axis_y": "#a3be8c", + "axis_z": "#5e81ac", + "bend_down": "#ebcb8b", + "bend_up": "#a3be8c", + "body": "#657991", + "body_edge": "#5e81ac", + "body_selected": "#34607a", + "border": "#4c566a", + "box_crossing": "#a3be8c", + "box_window": "#88c0d0", + "chip": "#88c0d0", + "construction_geom": "#ebcb8b", + "construction_plane": "#ebcb8b22", + "continuity": [ + "#a3be8c", + "#5e81ac", + "#ebcb8b", + "#b48ead" + ], + "control_border": "#4c566a", + "control_fill": "#3b4252", + "cube_border": "#4c566a", + "cube_face": "#3b4252", + "cube_hover": "#35495b", + "cube_text": "#eceff4", + "dialog_bg": "#2e3440", + "dialog_body": "#2e3440", + "dialog_border": "#4c566a", + "dialog_footer": "#2e3440", + "dialog_label": "#eceff4", + "dialog_rule": "#4c566a", + "dimension": "#eceff4", + "dimension_driven": "#a4b0c2", + "error": "#bf616a", + "field": "#242933", + "form_accent": "#88c0d0", + "form_dim": "#a4b0c2", + "form_error": "#bf616a", + "form_error_fill": "#4b3d48", + "form_fill": "#5e81ac", + "form_ink": "#eceff4", + "form_primary": "#88c0d0", + "form_soft": "#35495b", + "form_success": "#a3be8c", + "form_success_fill": "#424b4d", + "form_tab_ink": "#eceff4", + "gizmo": [ + "#bf616a", + "#a3be8c", + "#5e81ac" + ], + "glyph_bg": "#3b4252", + "glyph_edge": "#bf616a", + "glyph_text": "#bf616a", + "grid": "#354051", + "grid_major": "#444f60", + "heading_bg": "#171a20", + "hover": "#35495b", + "hover_edge": "#5e81ac", + "hover_edge_halo": "#242f40", + "hover_profile": "#88c0d028", + "hover_profile_edge": "#5e81ac", + "icon": "#eceff4", + "icon_fill": "#a4b0c2", + "icons.access": [ + "#a3be8c", + "#bf616a" + ], + "icons.agent": "#b48ead", + "icons.axes": [ + "#bf616a", + "#a3be8c", + "#5e81ac" + ], + "icons.curvature": [ + "#5e81ac", + "#a3be8c", + "#bf616a" + ], + "icons.draft": [ + "#a3be8c", + "#ebcb8b" + ], + "icons.floor": "#a4b0c2", + "icons.fold": "#a4b0c2", + "icons.folder": "#ebcb8b", + "icons.glint": "#eceff480", + "icons.highlight": "#eceff4", + "icons.interference": "#bf616a", + "icons.marker_halo": "#242933cc", + "icons.paint": [ + "#bf616a", + "#5e81ac", + "#ebcb8b" + ], + "icons.plane": "#ebcb8b", + "icons.sheet": "#657991", + "icons.sheet_2": "#657991", + "icons.sheet_light": "#eceff4", + "icons.sheet_line": "#5e81ac", + "icons.sky": "#657991", + "icons.stripe": "#a4b0c2", + "icons.warning": "#ebcb8b", + "interference": "#bf616a", + "logo": [ + "#88c0d0", + "#5e81ac", + "#657991", + "#eceff4" + ], + "manipulator": "#88c0d0", + "mesh_accent": "#88c0d0", + "mesh_fill": "#5e81ac", + "mesh_ink": "#eceff4", + "mesh_soft": "#35495b", + "on_accent": "#06121b", + "origin_plane": "#ebcb8b28", + "origin_plane_edge": "#ebcb8b88", + "origin_plane_hover": "#88c0d040", + "origin_point": "#a4b0c2", + "overlay": "#2e3440", + "panel": "#2e3440", + "panel_header": "#3b4252", + "preview_add": "#5e81ac", + "preview_cut": "#bf616a66", + "preview_new": "#ebcb8b", + "preview_sketch": "#a3be8c", + "profile_fill": "#5e81ac22", + "render_accent": "#88c0d0", + "render_fill": "#5e81ac", + "render_ink": "#eceff4", + "render_soft": "#35495b", + "rubber_band": "#88c0d0", + "section_cap": "#ebcb8b", + "sel_edge": "#5e81ac", + "sel_edge_rim": "#5e81ac", + "sel_face": "#34607a", + "sel_profile": "#34607a", + "sel_profile_edge": "#5e81ac", + "sel_vertex": "#5e81ac", + "selected_bg": "#34607a", + "selected_ink": "#eceff4", + "sheet_fill": "#5e81ac", + "sheet_ink": "#eceff4", + "sheet_soft": "#35495b", + "sketch": "#5e81ac", + "sketch_accent": "#88c0d0", + "sketch_centerline": "#ebcb8b", + "sketch_construction": "#ebcb8b", + "sketch_fixed": "#eceff4", + "sketch_ink": "#eceff4", + "sketch_locked": "#a3be8c", + "sketch_lost": "#bf616a", + "sketch_point": "#eceff4", + "sketch_point_free": "#5e81ac", + "sketch_projected": "#b48ead", + "sketch_soft": "#35495b", + "subheading_bg": "#222730", + "surface_accent": "#88c0d0", + "surface_fill": "#5e81ac", + "surface_ink": "#eceff4", + "surface_soft": "#35495b", + "tab_on_fill_dark": "#242933", + "text": "#eceff4", + "text_dim": "#a4b0c2", + "timeline": "#3b4252", + "timeline_item": "#3b4252", + "timeline_item_error": "#513f4a", + "timeline_marker": "#a4b0c2", + "toolbar": "#2e3440", + "triad": [ + "#bf616a", + "#a3be8c", + "#5e81ac" + ], + "viewport_bottom": "#242f40", + "viewport_top": "#242f40", + "warning": "#ebcb8b" + }, + "format": "solidcraft-theme/1", + "name": "Nord" +} diff --git a/assets/styles/ui/themes/nosferatu.json b/assets/styles/ui/themes/nosferatu.json new file mode 100644 index 000000000..67b8b2bc3 --- /dev/null +++ b/assets/styles/ui/themes/nosferatu.json @@ -0,0 +1,203 @@ +{ + "base": "dark", + "colors": { + "accent": "#bd93f9", + "accent_soft": "#393149", + "agent_busy": "#bd93f9", + "agent_ok": "#50fa7b", + "app_bar": "#21222c", + "app_bar_hover": "#f8f8f218", + "app_bar_hover_button": "#f8f8f222", + "app_bar_hover_strong": "#f8f8f230", + "app_bar_hover_subtle": "#f8f8f210", + "app_bar_icon": [ + "#f8f8f2", + "#a1a4c4", + "#bd93f9" + ], + "app_bar_separator": "#50546d", + "app_bar_tab_active": "#343746", + "app_bar_text": "#f8f8f2", + "axis_x": "#ff5555", + "axis_y": "#50fa7b", + "axis_z": "#8456b8", + "bend_down": "#f1fa8c", + "bend_up": "#50fa7b", + "body": "#656581", + "body_edge": "#8456b8", + "body_selected": "#563c79", + "border": "#50546d", + "box_crossing": "#50fa7b", + "box_window": "#bd93f9", + "chip": "#bd93f9", + "construction_geom": "#f1fa8c", + "construction_plane": "#f1fa8c22", + "continuity": [ + "#50fa7b", + "#8456b8", + "#f1fa8c", + "#bd93f9" + ], + "control_border": "#50546d", + "control_fill": "#343746", + "cube_border": "#50546d", + "cube_face": "#343746", + "cube_hover": "#393149", + "cube_text": "#f8f8f2", + "dialog_bg": "#282a36", + "dialog_body": "#282a36", + "dialog_border": "#50546d", + "dialog_footer": "#282a36", + "dialog_label": "#f8f8f2", + "dialog_rule": "#50546d", + "dimension": "#f8f8f2", + "dimension_driven": "#a1a4c4", + "error": "#ff5555", + "field": "#21222c", + "form_accent": "#bd93f9", + "form_dim": "#a1a4c4", + "form_error": "#ff5555", + "form_error_fill": "#53333c", + "form_fill": "#8456b8", + "form_ink": "#f8f8f2", + "form_primary": "#bd93f9", + "form_soft": "#393149", + "form_success": "#50fa7b", + "form_success_fill": "#2f4d42", + "form_tab_ink": "#f8f8f2", + "gizmo": [ + "#ff5555", + "#50fa7b", + "#8456b8" + ], + "glyph_bg": "#343746", + "glyph_edge": "#ff5555", + "glyph_text": "#ff5555", + "grid": "#2e2f3d", + "grid_major": "#3e4050", + "heading_bg": "#14151b", + "hover": "#393149", + "hover_edge": "#8456b8", + "hover_edge_halo": "#1d1e29", + "hover_profile": "#bd93f928", + "hover_profile_edge": "#8456b8", + "icon": "#f8f8f2", + "icon_fill": "#a1a4c4", + "icons.access": [ + "#50fa7b", + "#ff5555" + ], + "icons.agent": "#bd93f9", + "icons.axes": [ + "#ff5555", + "#50fa7b", + "#8456b8" + ], + "icons.curvature": [ + "#8456b8", + "#50fa7b", + "#ff5555" + ], + "icons.draft": [ + "#50fa7b", + "#f1fa8c" + ], + "icons.floor": "#a1a4c4", + "icons.fold": "#a1a4c4", + "icons.folder": "#f1fa8c", + "icons.glint": "#f8f8f280", + "icons.highlight": "#f8f8f2", + "icons.interference": "#ff5555", + "icons.marker_halo": "#21222ccc", + "icons.paint": [ + "#ff5555", + "#8456b8", + "#f1fa8c" + ], + "icons.plane": "#f1fa8c", + "icons.sheet": "#656581", + "icons.sheet_2": "#656581", + "icons.sheet_light": "#f8f8f2", + "icons.sheet_line": "#8456b8", + "icons.sky": "#656581", + "icons.stripe": "#a1a4c4", + "icons.warning": "#f1fa8c", + "interference": "#ff5555", + "logo": [ + "#bd93f9", + "#8456b8", + "#656581", + "#f8f8f2" + ], + "manipulator": "#bd93f9", + "mesh_accent": "#bd93f9", + "mesh_fill": "#8456b8", + "mesh_ink": "#f8f8f2", + "mesh_soft": "#393149", + "on_accent": "#06121b", + "origin_plane": "#f1fa8c28", + "origin_plane_edge": "#f1fa8c88", + "origin_plane_hover": "#bd93f940", + "origin_point": "#a1a4c4", + "overlay": "#282a36", + "panel": "#282a36", + "panel_header": "#343746", + "preview_add": "#8456b8", + "preview_cut": "#ff555566", + "preview_new": "#f1fa8c", + "preview_sketch": "#50fa7b", + "profile_fill": "#8456b822", + "render_accent": "#bd93f9", + "render_fill": "#8456b8", + "render_ink": "#f8f8f2", + "render_soft": "#393149", + "rubber_band": "#bd93f9", + "section_cap": "#f1fa8c", + "sel_edge": "#8456b8", + "sel_edge_rim": "#8456b8", + "sel_face": "#563c79", + "sel_profile": "#563c79", + "sel_profile_edge": "#8456b8", + "sel_vertex": "#8456b8", + "selected_bg": "#563c79", + "selected_ink": "#f8f8f2", + "sheet_fill": "#8456b8", + "sheet_ink": "#f8f8f2", + "sheet_soft": "#393149", + "sketch": "#8456b8", + "sketch_accent": "#bd93f9", + "sketch_centerline": "#f1fa8c", + "sketch_construction": "#f1fa8c", + "sketch_fixed": "#f8f8f2", + "sketch_ink": "#f8f8f2", + "sketch_locked": "#50fa7b", + "sketch_lost": "#ff5555", + "sketch_point": "#f8f8f2", + "sketch_point_free": "#8456b8", + "sketch_projected": "#bd93f9", + "sketch_soft": "#393149", + "subheading_bg": "#1e2028", + "surface_accent": "#bd93f9", + "surface_fill": "#8456b8", + "surface_ink": "#f8f8f2", + "surface_soft": "#393149", + "tab_on_fill_dark": "#21222c", + "text": "#f8f8f2", + "text_dim": "#a1a4c4", + "timeline": "#343746", + "timeline_item": "#343746", + "timeline_item_error": "#5c343d", + "timeline_marker": "#a1a4c4", + "toolbar": "#282a36", + "triad": [ + "#ff5555", + "#50fa7b", + "#8456b8" + ], + "viewport_bottom": "#1d1e29", + "viewport_top": "#1d1e29", + "warning": "#f1fa8c" + }, + "format": "solidcraft-theme/1", + "name": "Nosferatu" +} diff --git a/assets/styles/ui/themes/one-dark.json b/assets/styles/ui/themes/one-dark.json new file mode 100644 index 000000000..785e3a119 --- /dev/null +++ b/assets/styles/ui/themes/one-dark.json @@ -0,0 +1,203 @@ +{ + "base": "dark", + "colors": { + "accent": "#61afef", + "accent_soft": "#344b65", + "agent_busy": "#6cb4f0", + "agent_ok": "#4cc27a", + "app_bar": "#21252b", + "app_bar_hover": "#adb6bf1c", + "app_bar_hover_button": "#ffffff1e", + "app_bar_hover_strong": "#ffffff28", + "app_bar_hover_subtle": "#ffffff12", + "app_bar_icon": [ + "#abb2bf", + "#5c6370", + "#61afef" + ], + "app_bar_separator": "#8891a0", + "app_bar_tab_active": "#353b47", + "app_bar_text": "#abb2bf", + "axis_x": "#e06c75", + "axis_y": "#98c379", + "axis_z": "#61afef", + "bend_down": "#d19a66", + "bend_up": "#98c379", + "body": "#abb2bf", + "body_edge": "#181a1f", + "body_selected": "#61afef", + "border": "#3e4451", + "box_crossing": "#98c379", + "box_window": "#61afef", + "chip": "#344b65", + "construction_geom": "#d19a66", + "construction_plane": "#d0996646", + "continuity": [ + "#98c379", + "#61afef", + "#e5c07b", + "#c678dd" + ], + "control_border": "#4a5262", + "control_fill": "#272b34", + "cube_border": "#5c6370", + "cube_face": "#abb2bf", + "cube_hover": "#61afef", + "cube_text": "#21252b", + "dialog_bg": "#282c34", + "dialog_body": "#3b4453", + "dialog_border": "#4b5263", + "dialog_footer": "#2f343e", + "dialog_label": "#b4bbc8", + "dialog_rule": "#353b47", + "dimension": "#abb2bf", + "dimension_driven": "#7f848e", + "error": "#e06c75", + "field": "#1e2227", + "form_accent": "#7b63a6", + "form_dim": "#949ba8", + "form_error": "#f06460", + "form_error_fill": "#6e3236", + "form_fill": "#8a6fcc", + "form_ink": "#dee2e8", + "form_primary": "#3a88ee", + "form_soft": "#372f4f", + "form_success": "#8fdb9a", + "form_success_fill": "#2c4a33", + "form_tab_ink": "#b39bee", + "gizmo": [ + "#e06c75", + "#98c379", + "#61afef" + ], + "glyph_bg": "#282c34", + "glyph_edge": "#e06c75", + "glyph_text": "#e06c75", + "grid": "#323842", + "grid_major": "#3e4451", + "heading_bg": "#14161a", + "hover": "#3e4451", + "hover_edge": "#181a1f", + "hover_edge_halo": "#abb2bf", + "hover_profile": "#60afef30", + "hover_profile_edge": "#61afef", + "icon": "#abb2bf", + "icon_fill": "#5c6370", + "icons.access": [ + "#98c379", + "#e06c75" + ], + "icons.agent": "#c678dd", + "icons.axes": [ + "#e06c75", + "#98c379", + "#61afef" + ], + "icons.curvature": [ + "#61afef", + "#98c379", + "#e06c75" + ], + "icons.draft": [ + "#98c379", + "#e5c07b" + ], + "icons.floor": "#3e4451", + "icons.fold": "#7f848e", + "icons.folder": "#e5c07b", + "icons.glint": "#ffffffa0", + "icons.highlight": "#ffffff", + "icons.interference": "#e06c75", + "icons.marker_halo": "#181a1f96", + "icons.paint": [ + "#e06c75", + "#61afef", + "#e5c07b" + ], + "icons.plane": "#e5c07b", + "icons.sheet": "#61afef", + "icons.sheet_2": "#56b6c2", + "icons.sheet_light": "#abb2bf", + "icons.sheet_line": "#61afef", + "icons.sky": "#abb2bf", + "icons.stripe": "#21252b", + "icons.warning": "#e5c07b", + "interference": "#e06c75", + "logo": [ + "#61afef", + "#56b6c2", + "#c678dd", + "#abb2bf" + ], + "manipulator": "#61afef", + "mesh_accent": "#857100", + "mesh_fill": "#c6a800", + "mesh_ink": "#d4b726", + "mesh_soft": "#41391a", + "on_accent": "#ffffff", + "origin_plane": "#d19b675e", + "origin_plane_edge": "#d19a66c8", + "origin_plane_hover": "#c579dd96", + "origin_point": "#abb2bf", + "overlay": "#21252bf0", + "panel": "#21252b", + "panel_header": "#282c34", + "preview_add": "#61afef", + "preview_cut": "#e16d746e", + "preview_new": "#e5c07b", + "preview_sketch": "#98c379", + "profile_fill": "#60acec28", + "render_accent": "#e074ae", + "render_fill": "#c8588f", + "render_ink": "#e074ae", + "render_soft": "#402336", + "rubber_band": "#61afef", + "section_cap": "#d19a66", + "sel_edge": "#61afef", + "sel_edge_rim": "#a6d4fa", + "sel_face": "#4d78a6", + "sel_profile": "#2c4b6b", + "sel_profile_edge": "#61afef", + "sel_vertex": "#61afef", + "selected_bg": "#2a466e", + "selected_ink": "#9cc7f5", + "sheet_fill": "#2a7fa8", + "sheet_ink": "#4fb3d9", + "sheet_soft": "#1f3a47", + "sketch": "#61afef", + "sketch_accent": "#56b6c2", + "sketch_centerline": "#d19a66", + "sketch_construction": "#d19a66", + "sketch_fixed": "#abb2bf", + "sketch_ink": "#46be78", + "sketch_locked": "#98c379", + "sketch_lost": "#e06c75", + "sketch_point": "#abb2bf", + "sketch_point_free": "#61afef", + "sketch_projected": "#c678dd", + "sketch_soft": "#1f3b2b", + "subheading_bg": "#1e2127", + "surface_accent": "#95682d", + "surface_fill": "#b26a14", + "surface_ink": "#e0914a", + "surface_soft": "#45331e", + "tab_on_fill_dark": "#000000", + "text": "#abb2bf", + "text_dim": "#7f848e", + "timeline": "#1e2227", + "timeline_item": "#323842", + "timeline_item_error": "#5c343d", + "timeline_marker": "#abb2bf", + "toolbar": "#21252b", + "triad": [ + "#e06c75", + "#98c379", + "#61afef" + ], + "viewport_bottom": "#282c34", + "viewport_top": "#282c34", + "warning": "#e5c07b" + }, + "format": "solidcraft-theme/1", + "name": "One Dark" +} diff --git a/assets/styles/ui/themes/platinum-9.json b/assets/styles/ui/themes/platinum-9.json new file mode 100644 index 000000000..1f1d39cc2 --- /dev/null +++ b/assets/styles/ui/themes/platinum-9.json @@ -0,0 +1,203 @@ +{ + "base": "light", + "colors": { + "accent": "#555599", + "accent_soft": "#ccccff", + "agent_busy": "#8888bb", + "agent_ok": "#558855", + "app_bar": "#c5c5c5", + "app_bar_hover": "#ffffff40", + "app_bar_hover_button": "#ffffff66", + "app_bar_hover_strong": "#ffffff80", + "app_bar_hover_subtle": "#ffffff26", + "app_bar_icon": [ + "#333333", + "#777777", + "#666699" + ], + "app_bar_separator": "#aaaaaa", + "app_bar_tab_active": "#e6e6e6", + "app_bar_text": "#222222", + "axis_x": "#ff0000", + "axis_y": "#00ff00", + "axis_z": "#0202f8", + "bend_down": "#c85a14", + "bend_up": "#1e8c32", + "body": "#adadb6", + "body_edge": "#292933", + "body_selected": "#9999cc", + "border": "#888888", + "box_crossing": "#28a050", + "box_window": "#555599", + "chip": "#555599", + "construction_geom": "#9c5600", + "construction_plane": "#ccccdd33", + "continuity": [ + "#009e73", + "#0072b2", + "#f0c800", + "#cc008c" + ], + "control_border": "#888888", + "control_fill": "#dddddd", + "cube_border": "#888888", + "cube_face": "#eeeeee", + "cube_hover": "#ccccff", + "cube_text": "#222222", + "dialog_bg": "#dddddd", + "dialog_body": "#eeeeee", + "dialog_border": "#888888", + "dialog_footer": "#dddddd", + "dialog_label": "#222222", + "dialog_rule": "#aaaaaa", + "dimension": "#222222", + "dimension_driven": "#666666", + "error": "#bb3333", + "field": "#ffffff", + "form_accent": "#666699", + "form_dim": "#666666", + "form_error": "#aa2222", + "form_error_fill": "#f2dddd", + "form_fill": "#8888bb", + "form_ink": "#444477", + "form_primary": "#555599", + "form_soft": "#e6e6f2", + "form_success": "#336633", + "form_success_fill": "#e2ecdf", + "form_tab_ink": "#555599", + "gizmo": [ + "#e1463c", + "#50be50", + "#4682f0" + ], + "glyph_bg": "#ffffff", + "glyph_edge": "#be6e64", + "glyph_text": "#ca473d", + "grid": "#e2e2e2", + "grid_major": "#c8c8c8", + "heading_bg": "#cccccc", + "hover": "#ccccff", + "hover_edge": "#000000", + "hover_edge_halo": "#ffffff", + "hover_profile": "#9999cc33", + "hover_profile_edge": "#666699", + "icon": "#222222", + "icon_fill": "#666699", + "icons.access": [ + "#46b45a", + "#dc463c" + ], + "icons.agent": "#8888bb", + "icons.axes": [ + "#d23c3c", + "#3ca03c", + "#3c64dc" + ], + "icons.curvature": [ + "#3c6ee6", + "#46be5a", + "#e13c2d" + ], + "icons.draft": [ + "#46b45a", + "#ebc832" + ], + "icons.floor": "#666666", + "icons.fold": "#999999", + "icons.folder": "#aaaaee", + "icons.glint": "#ffffffa0", + "icons.highlight": "#ffffff", + "icons.interference": "#e1463c", + "icons.marker_halo": "#00000096", + "icons.paint": [ + "#dc463c", + "#4696e6", + "#f0c83c" + ], + "icons.plane": "#f4d696", + "icons.sheet": "#ccccdd", + "icons.sheet_2": "#aaaabb", + "icons.sheet_light": "#eeeeff", + "icons.sheet_line": "#777799", + "icons.sky": "#ccccdd", + "icons.stripe": "#1e1e1e", + "icons.warning": "#fac83c", + "interference": "#eb2d28", + "logo": [ + "#ccccff", + "#9999cc", + "#666699", + "#ffffff" + ], + "manipulator": "#555599", + "mesh_accent": "#666699", + "mesh_fill": "#8888bb", + "mesh_ink": "#444477", + "mesh_soft": "#e6e6f2", + "on_accent": "#ffffff", + "origin_plane": "#ccccdd44", + "origin_plane_edge": "#888899aa", + "origin_plane_hover": "#9999cc66", + "origin_point": "#aaaaaa", + "overlay": "#dddddd", + "panel": "#dddddd", + "panel_header": "#cccccc", + "preview_add": "#9999cc", + "preview_cut": "#e8532c6e", + "preview_new": "#f0e169", + "preview_sketch": "#20be60", + "profile_fill": "#ccccff33", + "render_accent": "#666699", + "render_fill": "#8888bb", + "render_ink": "#444477", + "render_soft": "#e6e6f2", + "rubber_band": "#555599", + "section_cap": "#d68048", + "sel_edge": "#555599", + "sel_edge_rim": "#ccccff", + "sel_face": "#9999cc", + "sel_profile": "#444477", + "sel_profile_edge": "#555599", + "sel_vertex": "#555599", + "selected_bg": "#ccccff", + "selected_ink": "#333366", + "sheet_fill": "#8888bb", + "sheet_ink": "#444477", + "sheet_soft": "#e6e6f2", + "sketch": "#444488", + "sketch_accent": "#666699", + "sketch_centerline": "#c86e3c", + "sketch_construction": "#e68228", + "sketch_fixed": "#222222", + "sketch_ink": "#444477", + "sketch_locked": "#447744", + "sketch_lost": "#c83c5a", + "sketch_point": "#222222", + "sketch_point_free": "#444488", + "sketch_projected": "#963cbe", + "sketch_soft": "#e6e6f2", + "subheading_bg": "#d7d7d7", + "surface_accent": "#666699", + "surface_fill": "#8888bb", + "surface_ink": "#444477", + "surface_soft": "#e6e6f2", + "tab_on_fill_dark": "#222222", + "text": "#222222", + "text_dim": "#666666", + "timeline": "#cccccc", + "timeline_item": "#eeeeee", + "timeline_item_error": "#f2dddd", + "timeline_marker": "#666666", + "toolbar": "#dddddd", + "triad": [ + "#dc3c3c", + "#3caa3c", + "#3c64e6" + ], + "viewport_bottom": "#ffffff", + "viewport_top": "#ffffff", + "warning": "#997722" + }, + "format": "solidcraft-theme/1", + "name": "Platinum 9" +} diff --git a/assets/styles/ui/themes/solarized-light.json b/assets/styles/ui/themes/solarized-light.json new file mode 100644 index 000000000..960760603 --- /dev/null +++ b/assets/styles/ui/themes/solarized-light.json @@ -0,0 +1,203 @@ +{ + "base": "light", + "colors": { + "accent": "#268bd2", + "accent_soft": "#e1e8d9", + "agent_busy": "#268bd2", + "agent_ok": "#859900", + "app_bar": "#fdf6e3", + "app_bar_hover": "#586e7518", + "app_bar_hover_button": "#586e7522", + "app_bar_hover_strong": "#586e7530", + "app_bar_hover_subtle": "#586e7510", + "app_bar_icon": [ + "#586e75", + "#657b83", + "#268bd2" + ], + "app_bar_separator": "#b6b3a1", + "app_bar_tab_active": "#e3ddc9", + "app_bar_text": "#586e75", + "axis_x": "#dc322f", + "axis_y": "#859900", + "axis_z": "#346e88", + "bend_down": "#b58900", + "bend_up": "#859900", + "body": "#b5b6a0", + "body_edge": "#346e88", + "body_selected": "#bdd9da", + "border": "#b6b3a1", + "box_crossing": "#859900", + "box_window": "#268bd2", + "chip": "#268bd2", + "construction_geom": "#b58900", + "construction_plane": "#b5890022", + "continuity": [ + "#859900", + "#346e88", + "#b58900", + "#6c71c4" + ], + "control_border": "#b6b3a1", + "control_fill": "#e3ddc9", + "cube_border": "#b6b3a1", + "cube_face": "#e3ddc9", + "cube_hover": "#e1e8d9", + "cube_text": "#586e75", + "dialog_bg": "#eee8d5", + "dialog_body": "#eee8d5", + "dialog_border": "#b6b3a1", + "dialog_footer": "#eee8d5", + "dialog_label": "#586e75", + "dialog_rule": "#b6b3a1", + "dimension": "#586e75", + "dimension_driven": "#657b83", + "error": "#dc322f", + "field": "#fdf6e3", + "form_accent": "#268bd2", + "form_dim": "#657b83", + "form_error": "#dc322f", + "form_error_fill": "#eac4b4", + "form_fill": "#346e88", + "form_ink": "#586e75", + "form_primary": "#268bd2", + "form_soft": "#e1e8d9", + "form_success": "#859900", + "form_success_fill": "#dcdbb1", + "form_tab_ink": "#346e88", + "gizmo": [ + "#dc322f", + "#859900", + "#346e88" + ], + "glyph_bg": "#e3ddc9", + "glyph_edge": "#dc322f", + "glyph_text": "#dc322f", + "grid": "#dfddd0", + "grid_major": "#c8cbc1", + "heading_bg": "#e3ddc9", + "hover": "#e1e8d9", + "hover_edge": "#346e88", + "hover_edge_halo": "#fdf6e3", + "hover_profile": "#268bd228", + "hover_profile_edge": "#346e88", + "icon": "#586e75", + "icon_fill": "#657b83", + "icons.access": [ + "#859900", + "#dc322f" + ], + "icons.agent": "#6c71c4", + "icons.axes": [ + "#dc322f", + "#859900", + "#346e88" + ], + "icons.curvature": [ + "#346e88", + "#859900", + "#dc322f" + ], + "icons.draft": [ + "#859900", + "#b58900" + ], + "icons.floor": "#657b83", + "icons.fold": "#657b83", + "icons.folder": "#b58900", + "icons.glint": "#586e7580", + "icons.highlight": "#586e75", + "icons.interference": "#dc322f", + "icons.marker_halo": "#fdf6e3cc", + "icons.paint": [ + "#dc322f", + "#346e88", + "#b58900" + ], + "icons.plane": "#b58900", + "icons.sheet": "#b5b6a0", + "icons.sheet_2": "#b5b6a0", + "icons.sheet_light": "#586e75", + "icons.sheet_line": "#346e88", + "icons.sky": "#b5b6a0", + "icons.stripe": "#657b83", + "icons.warning": "#b58900", + "interference": "#dc322f", + "logo": [ + "#268bd2", + "#346e88", + "#b5b6a0", + "#586e75" + ], + "manipulator": "#268bd2", + "mesh_accent": "#268bd2", + "mesh_fill": "#346e88", + "mesh_ink": "#586e75", + "mesh_soft": "#e1e8d9", + "on_accent": "#ffffff", + "origin_plane": "#b5890028", + "origin_plane_edge": "#b5890088", + "origin_plane_hover": "#268bd240", + "origin_point": "#657b83", + "overlay": "#eee8d5", + "panel": "#eee8d5", + "panel_header": "#e3ddc9", + "preview_add": "#346e88", + "preview_cut": "#dc322f66", + "preview_new": "#b58900", + "preview_sketch": "#859900", + "profile_fill": "#346e8822", + "render_accent": "#268bd2", + "render_fill": "#346e88", + "render_ink": "#586e75", + "render_soft": "#e1e8d9", + "rubber_band": "#268bd2", + "section_cap": "#b58900", + "sel_edge": "#346e88", + "sel_edge_rim": "#346e88", + "sel_face": "#bdd9da", + "sel_profile": "#bdd9da", + "sel_profile_edge": "#346e88", + "sel_vertex": "#346e88", + "selected_bg": "#bdd9da", + "selected_ink": "#234a55", + "sheet_fill": "#346e88", + "sheet_ink": "#586e75", + "sheet_soft": "#e1e8d9", + "sketch": "#346e88", + "sketch_accent": "#268bd2", + "sketch_centerline": "#b58900", + "sketch_construction": "#b58900", + "sketch_fixed": "#586e75", + "sketch_ink": "#586e75", + "sketch_locked": "#859900", + "sketch_lost": "#dc322f", + "sketch_point": "#586e75", + "sketch_point_free": "#346e88", + "sketch_projected": "#6c71c4", + "sketch_soft": "#e1e8d9", + "subheading_bg": "#eae4d1", + "surface_accent": "#268bd2", + "surface_fill": "#346e88", + "surface_ink": "#586e75", + "surface_soft": "#e1e8d9", + "tab_on_fill_dark": "#fdf6e3", + "text": "#586e75", + "text_dim": "#657b83", + "timeline": "#e3ddc9", + "timeline_item": "#e3ddc9", + "timeline_item_error": "#eabcad", + "timeline_marker": "#657b83", + "toolbar": "#eee8d5", + "triad": [ + "#dc322f", + "#859900", + "#346e88" + ], + "viewport_bottom": "#fdf6e3", + "viewport_top": "#fdf6e3", + "warning": "#b58900" + }, + "format": "solidcraft-theme/1", + "name": "Solarized Light" +} diff --git a/assets/styles/ui/themes/solidcraft-95.json b/assets/styles/ui/themes/solidcraft-95.json new file mode 100644 index 000000000..b2c4a24b9 --- /dev/null +++ b/assets/styles/ui/themes/solidcraft-95.json @@ -0,0 +1,203 @@ +{ + "base": "light", + "colors": { + "accent": "#000080", + "accent_soft": "#c0c0c0", + "agent_busy": "#ffffff", + "agent_ok": "#008000", + "app_bar": "#000080", + "app_bar_hover": "#ffffff33", + "app_bar_hover_button": "#ffffff33", + "app_bar_hover_strong": "#ffffff4d", + "app_bar_hover_subtle": "#ffffff1a", + "app_bar_icon": [ + "#ffffff", + "#c0c0c0", + "#00ffff" + ], + "app_bar_separator": "#808080", + "app_bar_tab_active": "#000080", + "app_bar_text": "#ffffff", + "axis_x": "#ff0000", + "axis_y": "#00ff00", + "axis_z": "#0000ff", + "bend_down": "#808000", + "bend_up": "#008000", + "body": "#c0c0c0", + "body_edge": "#000000", + "body_selected": "#8080ff", + "border": "#808080", + "box_crossing": "#008000", + "box_window": "#000080", + "chip": "#000080", + "construction_geom": "#808000", + "construction_plane": "#ffff0046", + "continuity": [ + "#008000", + "#0000ff", + "#ffff00", + "#800080" + ], + "control_border": "#808080", + "control_fill": "#c0c0c0", + "cube_border": "#808080", + "cube_face": "#c0c0c0", + "cube_hover": "#8080ff", + "cube_text": "#000000", + "dialog_bg": "#c0c0c0", + "dialog_body": "#c0c0c0", + "dialog_border": "#808080", + "dialog_footer": "#c0c0c0", + "dialog_label": "#000000", + "dialog_rule": "#808080", + "dimension": "#000000", + "dimension_driven": "#808080", + "error": "#ff0000", + "field": "#ffffff", + "form_accent": "#800080", + "form_dim": "#808080", + "form_error": "#800000", + "form_error_fill": "#ffffc0", + "form_fill": "#800080", + "form_ink": "#000000", + "form_primary": "#000080", + "form_soft": "#c0c0c0", + "form_success": "#008000", + "form_success_fill": "#c0dcc0", + "form_tab_ink": "#800080", + "gizmo": [ + "#ff0000", + "#00ff00", + "#0000ff" + ], + "glyph_bg": "#ffffff", + "glyph_edge": "#800000", + "glyph_text": "#800000", + "grid": "#40a0a0", + "grid_major": "#808080", + "heading_bg": "#a0a0a0", + "hover": "#c0c0c0", + "hover_edge": "#000000", + "hover_edge_halo": "#ffffff", + "hover_profile": "#00008030", + "hover_profile_edge": "#0000ff", + "icon": "#000000", + "icon_fill": "#c0c0c0", + "icons.access": [ + "#808080", + "#ff0000" + ], + "icons.agent": "#800080", + "icons.axes": [ + "#ff0000", + "#008000", + "#0000ff" + ], + "icons.curvature": [ + "#008080", + "#808080", + "#ff0000" + ], + "icons.draft": [ + "#808080", + "#ffff00" + ], + "icons.floor": "#000000", + "icons.fold": "#808080", + "icons.folder": "#ffff00", + "icons.glint": "#ffffffa0", + "icons.highlight": "#ffffff", + "icons.interference": "#ff0000", + "icons.marker_halo": "#00000096", + "icons.paint": [ + "#ff0000", + "#0000ff", + "#ffff00" + ], + "icons.plane": "#ffff00", + "icons.sheet": "#00ffff", + "icons.sheet_2": "#008080", + "icons.sheet_light": "#ffffff", + "icons.sheet_line": "#000080", + "icons.sky": "#008080", + "icons.stripe": "#000000", + "icons.warning": "#ffff00", + "interference": "#ff0000", + "logo": [ + "#ffffff", + "#c0c0c0", + "#808080", + "#ffffff" + ], + "manipulator": "#000080", + "mesh_accent": "#000080", + "mesh_fill": "#808000", + "mesh_ink": "#808000", + "mesh_soft": "#ffffc0", + "on_accent": "#ffffff", + "origin_plane": "#ffff005e", + "origin_plane_edge": "#808000c8", + "origin_plane_hover": "#00008080", + "origin_point": "#c0c0c0", + "overlay": "#c0c0c0ff", + "panel": "#c0c0c0", + "panel_header": "#c0c0c0", + "preview_add": "#000080", + "preview_cut": "#ff00006e", + "preview_new": "#ffff00", + "preview_sketch": "#008000", + "profile_fill": "#ffff0033", + "render_accent": "#000080", + "render_fill": "#800080", + "render_ink": "#800080", + "render_soft": "#c0c0c0", + "rubber_band": "#000080", + "section_cap": "#808000", + "sel_edge": "#0000ff", + "sel_edge_rim": "#8080ff", + "sel_face": "#8080ff", + "sel_profile": "#000080", + "sel_profile_edge": "#000080", + "sel_vertex": "#000080", + "selected_bg": "#000080", + "selected_ink": "#ffffff", + "sheet_fill": "#008080", + "sheet_ink": "#000080", + "sheet_soft": "#c0c0c0", + "sketch": "#000080", + "sketch_accent": "#008000", + "sketch_centerline": "#808000", + "sketch_construction": "#808000", + "sketch_fixed": "#000000", + "sketch_ink": "#008000", + "sketch_locked": "#008000", + "sketch_lost": "#800080", + "sketch_point": "#000000", + "sketch_point_free": "#000080", + "sketch_projected": "#800080", + "sketch_soft": "#c0dcc0", + "subheading_bg": "#b0b0b0", + "surface_accent": "#000080", + "surface_fill": "#808000", + "surface_ink": "#808000", + "surface_soft": "#ffffc0", + "tab_on_fill_dark": "#000000", + "text": "#000000", + "text_dim": "#808080", + "timeline": "#c0c0c0", + "timeline_item": "#c0c0c0", + "timeline_item_error": "#ffffc0", + "timeline_marker": "#000000", + "toolbar": "#c0c0c0", + "triad": [ + "#ff0000", + "#00ff00", + "#0000ff" + ], + "viewport_bottom": "#008080", + "viewport_top": "#008080", + "warning": "#ffff00" + }, + "format": "solidcraft-theme/1", + "name": "SolidCraft 95" +} diff --git a/assets/styles/ui/themes/tokyo-night.json b/assets/styles/ui/themes/tokyo-night.json new file mode 100644 index 000000000..5170cc7c8 --- /dev/null +++ b/assets/styles/ui/themes/tokyo-night.json @@ -0,0 +1,203 @@ +{ + "base": "dark", + "colors": { + "accent": "#7aa2f7", + "accent_soft": "#253452", + "agent_busy": "#7aa2f7", + "agent_ok": "#9ece6a", + "app_bar": "#16161e", + "app_bar_hover": "#c0caf518", + "app_bar_hover_button": "#c0caf522", + "app_bar_hover_strong": "#c0caf530", + "app_bar_hover_subtle": "#c0caf510", + "app_bar_icon": [ + "#c0caf5", + "#9aa5ce", + "#7aa2f7" + ], + "app_bar_separator": "#414868", + "app_bar_tab_active": "#24283b", + "app_bar_text": "#c0caf5", + "axis_x": "#f7768e", + "axis_y": "#9ece6a", + "axis_z": "#4775ce", + "bend_down": "#e0af68", + "bend_up": "#9ece6a", + "body": "#4f6089", + "body_edge": "#4775ce", + "body_selected": "#304e7e", + "border": "#414868", + "box_crossing": "#9ece6a", + "box_window": "#7aa2f7", + "chip": "#7aa2f7", + "construction_geom": "#e0af68", + "construction_plane": "#e0af6822", + "continuity": [ + "#9ece6a", + "#4775ce", + "#e0af68", + "#bb9af7" + ], + "control_border": "#414868", + "control_fill": "#24283b", + "cube_border": "#414868", + "cube_face": "#24283b", + "cube_hover": "#253452", + "cube_text": "#c0caf5", + "dialog_bg": "#1a1b26", + "dialog_body": "#1a1b26", + "dialog_border": "#414868", + "dialog_footer": "#1a1b26", + "dialog_label": "#c0caf5", + "dialog_rule": "#414868", + "dimension": "#c0caf5", + "dimension_driven": "#9aa5ce", + "error": "#f7768e", + "field": "#16161e", + "form_accent": "#7aa2f7", + "form_dim": "#9aa5ce", + "form_error": "#f7768e", + "form_error_fill": "#462d3b", + "form_fill": "#4775ce", + "form_ink": "#c0caf5", + "form_primary": "#7aa2f7", + "form_soft": "#253452", + "form_success": "#9ece6a", + "form_success_fill": "#303932", + "form_tab_ink": "#c0caf5", + "gizmo": [ + "#f7768e", + "#9ece6a", + "#4775ce" + ], + "glyph_bg": "#24283b", + "glyph_edge": "#f7768e", + "glyph_text": "#f7768e", + "grid": "#262938", + "grid_major": "#363a4d", + "heading_bg": "#0d0e13", + "hover": "#253452", + "hover_edge": "#4775ce", + "hover_edge_halo": "#151722", + "hover_profile": "#7aa2f728", + "hover_profile_edge": "#4775ce", + "icon": "#c0caf5", + "icon_fill": "#9aa5ce", + "icons.access": [ + "#9ece6a", + "#f7768e" + ], + "icons.agent": "#bb9af7", + "icons.axes": [ + "#f7768e", + "#9ece6a", + "#4775ce" + ], + "icons.curvature": [ + "#4775ce", + "#9ece6a", + "#f7768e" + ], + "icons.draft": [ + "#9ece6a", + "#e0af68" + ], + "icons.floor": "#9aa5ce", + "icons.fold": "#9aa5ce", + "icons.folder": "#e0af68", + "icons.glint": "#c0caf580", + "icons.highlight": "#c0caf5", + "icons.interference": "#f7768e", + "icons.marker_halo": "#16161ecc", + "icons.paint": [ + "#f7768e", + "#4775ce", + "#e0af68" + ], + "icons.plane": "#e0af68", + "icons.sheet": "#4f6089", + "icons.sheet_2": "#4f6089", + "icons.sheet_light": "#c0caf5", + "icons.sheet_line": "#4775ce", + "icons.sky": "#4f6089", + "icons.stripe": "#9aa5ce", + "icons.warning": "#e0af68", + "interference": "#f7768e", + "logo": [ + "#7aa2f7", + "#4775ce", + "#4f6089", + "#c0caf5" + ], + "manipulator": "#7aa2f7", + "mesh_accent": "#7aa2f7", + "mesh_fill": "#4775ce", + "mesh_ink": "#c0caf5", + "mesh_soft": "#253452", + "on_accent": "#06121b", + "origin_plane": "#e0af6828", + "origin_plane_edge": "#e0af6888", + "origin_plane_hover": "#7aa2f740", + "origin_point": "#9aa5ce", + "overlay": "#1a1b26", + "panel": "#1a1b26", + "panel_header": "#24283b", + "preview_add": "#4775ce", + "preview_cut": "#f7768e66", + "preview_new": "#e0af68", + "preview_sketch": "#9ece6a", + "profile_fill": "#4775ce22", + "render_accent": "#7aa2f7", + "render_fill": "#4775ce", + "render_ink": "#c0caf5", + "render_soft": "#253452", + "rubber_band": "#7aa2f7", + "section_cap": "#e0af68", + "sel_edge": "#4775ce", + "sel_edge_rim": "#4775ce", + "sel_face": "#304e7e", + "sel_profile": "#304e7e", + "sel_profile_edge": "#4775ce", + "sel_vertex": "#4775ce", + "selected_bg": "#304e7e", + "selected_ink": "#c0caf5", + "sheet_fill": "#4775ce", + "sheet_ink": "#c0caf5", + "sheet_soft": "#253452", + "sketch": "#4775ce", + "sketch_accent": "#7aa2f7", + "sketch_centerline": "#e0af68", + "sketch_construction": "#e0af68", + "sketch_fixed": "#c0caf5", + "sketch_ink": "#c0caf5", + "sketch_locked": "#9ece6a", + "sketch_lost": "#f7768e", + "sketch_point": "#c0caf5", + "sketch_point_free": "#4775ce", + "sketch_projected": "#bb9af7", + "sketch_soft": "#253452", + "subheading_bg": "#14141c", + "surface_accent": "#7aa2f7", + "surface_fill": "#4775ce", + "surface_ink": "#c0caf5", + "surface_soft": "#253452", + "tab_on_fill_dark": "#16161e", + "text": "#c0caf5", + "text_dim": "#9aa5ce", + "timeline": "#24283b", + "timeline_item": "#24283b", + "timeline_item_error": "#4f313f", + "timeline_marker": "#9aa5ce", + "toolbar": "#1a1b26", + "triad": [ + "#f7768e", + "#9ece6a", + "#4775ce" + ], + "viewport_bottom": "#151722", + "viewport_top": "#151722", + "warning": "#e0af68" + }, + "format": "solidcraft-theme/1", + "name": "Tokyo Night" +} diff --git a/crates/ui-egui/src/prefs.rs b/crates/ui-egui/src/prefs.rs index 9f2fcd5d6..be1f976bf 100644 --- a/crates/ui-egui/src/prefs.rs +++ b/crates/ui-egui/src/prefs.rs @@ -1947,7 +1947,7 @@ mod tests { let mut h = crate::scenario::Harness::new(); let out = h.call("ui.prefs", json!({"theme": "gruvbox-dark-hard"})); assert_eq!(out["result"]["theme"], "gruvbox-dark-hard", "{out}"); - assert!(out["result"]["theme_ids"].as_array().is_some_and(|ids| ids.len() == 9), "{out}"); + assert!(out["result"]["theme_ids"].as_array().is_some_and(|ids| ids.len() == 3 + crate::theme_files::builtin().len()), "{out}"); h.frames(2); let hard = crate::theme_files::find("gruvbox-dark-hard", &[]).map(crate::theme_files::resolve).unwrap(); assert!(h.app.ui.dark); diff --git a/crates/ui-egui/src/theme_files.rs b/crates/ui-egui/src/theme_files.rs index f102930e9..912ba3e48 100644 --- a/crates/ui-egui/src/theme_files.rs +++ b/crates/ui-egui/src/theme_files.rs @@ -1,6 +1,6 @@ //! Colour themes as files (#2255): a `solidcraft-theme/1` JSON file names a base palette (the //! built-in Dark or Light) and sets any of its [`Tokens`] by name, so a theme can be a handful of -//! lines. Built-in themes (the Gruvbox family) are such files under `assets/styles/ui/themes/`; +//! lines. Built-in themes (Gruvbox and others) are such files under `assets/styles/ui/themes/`; //! imported ones are kept in the preferences (`Prefs::custom_themes`), so they also work in the //! browser. Colour vision modes still apply on top of a theme (`Tokens::with_vision`). //! @@ -263,14 +263,28 @@ pub fn export(name: &str, base: Base, t: &Tokens) -> Value { json!({"format": FORMAT, "name": name, "base": base, "colors": colors}) } -/// The theme files that come with SolidCraft (original files; Gruvbox's palette, MIT). -const BUILTIN: [(&str, &str); 6] = [ +/// The theme files that come with SolidCraft (original files; Gruvbox, Tokyo Night, Solarized, Nord, Nosferatu and Catppuccin map open-source palettes, MIT). +const BUILTIN: [(&str, &str); 20] = [ ("gruvbox-dark", include_str!("../../../assets/styles/ui/themes/gruvbox-dark.json")), ("gruvbox-dark-hard", include_str!("../../../assets/styles/ui/themes/gruvbox-dark-hard.json")), ("gruvbox-dark-soft", include_str!("../../../assets/styles/ui/themes/gruvbox-dark-soft.json")), ("gruvbox-light", include_str!("../../../assets/styles/ui/themes/gruvbox-light.json")), ("gruvbox-light-hard", include_str!("../../../assets/styles/ui/themes/gruvbox-light-hard.json")), ("gruvbox-light-soft", include_str!("../../../assets/styles/ui/themes/gruvbox-light-soft.json")), + ("solidcraft-95", include_str!("../../../assets/styles/ui/themes/solidcraft-95.json")), + ("platinum-9", include_str!("../../../assets/styles/ui/themes/platinum-9.json")), + ("cupertino", include_str!("../../../assets/styles/ui/themes/cupertino.json")), + ("green-phosphor", include_str!("../../../assets/styles/ui/themes/green-phosphor.json")), + ("amber-phosphor", include_str!("../../../assets/styles/ui/themes/amber-phosphor.json")), + ("blueprint", include_str!("../../../assets/styles/ui/themes/blueprint.json")), + ("one-dark", include_str!("../../../assets/styles/ui/themes/one-dark.json")), + ("tokyo-night", include_str!("../../../assets/styles/ui/themes/tokyo-night.json")), + ("solarized-light", include_str!("../../../assets/styles/ui/themes/solarized-light.json")), + ("nord", include_str!("../../../assets/styles/ui/themes/nord.json")), + ("high-contrast", include_str!("../../../assets/styles/ui/themes/high-contrast.json")), + ("graphite", include_str!("../../../assets/styles/ui/themes/graphite.json")), + ("nosferatu", include_str!("../../../assets/styles/ui/themes/nosferatu.json")), + ("catppuccin-mocha", include_str!("../../../assets/styles/ui/themes/catppuccin-mocha.json")), ]; /// The built-in themes, read once (one that fails to read is left out; a test reads them all). @@ -326,7 +340,9 @@ mod tests { for t in builtin() { let base = if t.base.is_dark() { Tokens::dark() } else { Tokens::light() }; assert_ne!(resolve(t), base, "{}", t.id); - assert_eq!(t.base.is_dark(), t.id.contains("dark"), "{}", t.id); + if t.id.starts_with("gruvbox-") { + assert_eq!(t.base.is_dark(), t.id.contains("dark"), "{}", t.id); + } } } @@ -406,15 +422,15 @@ mod tests { let mk = |name: &str| ThemeFile { id: slug(name), name: name.into(), ..Default::default() }; assert_eq!(add(&mut custom, mk("Gruvbox Dark")).unwrap(), "custom-gruvbox-dark"); assert_eq!(add(&mut custom, mk("Dark")).unwrap(), "custom-dark"); - assert_eq!(add(&mut custom, mk("Nord")).unwrap(), "nord"); - let again = ThemeFile { base: Base::Light, ..mk("Nord") }; - assert_eq!(add(&mut custom, again).unwrap(), "nord"); + assert_eq!(add(&mut custom, mk("Mine")).unwrap(), "mine"); + let again = ThemeFile { base: Base::Light, ..mk("Mine") }; + assert_eq!(add(&mut custom, again).unwrap(), "mine"); assert_eq!(custom.len(), 3); - assert_eq!(custom.iter().find(|t| t.id == "nord").map(|t| t.base), Some(Base::Light)); + assert_eq!(custom.iter().find(|t| t.id == "mine").map(|t| t.base), Some(Base::Light)); for i in custom.len()..MAX_CUSTOM { add(&mut custom, mk(&format!("t{i}"))).unwrap(); } assert!(add(&mut custom, mk("one too many")).is_err()); - assert!(find("gruvbox-dark", &custom).is_some() && find("nord", &custom).is_some() && find("dark", &custom).is_none()); + assert!(find("gruvbox-dark", &custom).is_some() && find("mine", &custom).is_some() && find("dark", &custom).is_none()); } } diff --git a/crates/ui-egui/tests/scenarios/prefs_theme_files.json b/crates/ui-egui/tests/scenarios/prefs_theme_files.json index 4b105e097..58ad0edc8 100644 --- a/crates/ui-egui/tests/scenarios/prefs_theme_files.json +++ b/crates/ui-egui/tests/scenarios/prefs_theme_files.json @@ -1,5 +1,5 @@ [ - {"note": "#2255: the Theme list offers the built-in theme files (Gruvbox) after Dark, Light and System; picking one applies at once, Cancel puts the theme back."}, + {"note": "#2255: the Theme list offers the built-in theme files (Gruvbox, SolidCraft 95, …) after Dark, Light and System; picking one applies at once, Cancel puts the theme back."}, {"click": {"handle": "titlebar:preferences"}}, {"expect": {"prefs": {"dialog": "General", "theme": "dark", "dark": true}}}, {"click": {"handle": "prefs:theme"}}, @@ -8,6 +8,9 @@ {"click": {"handle": "prefs:theme"}}, {"click": {"handle": "prefs:theme:gruvbox-dark"}}, {"expect": {"prefs": {"theme": "gruvbox-dark", "dark": true}}}, + {"click": {"handle": "prefs:theme"}}, + {"click": {"handle": "prefs:theme:solidcraft-95"}}, + {"expect": {"prefs": {"theme": "solidcraft-95", "dark": false}}}, {"widget": "Cancel"}, {"expect": {"prefs": {"dialog": null, "theme": "dark", "dark": true}}} ]