diff --git a/.gitignore b/.gitignore index 45cfc444..9b755dee 100644 --- a/.gitignore +++ b/.gitignore @@ -198,4 +198,7 @@ CLAUDE.md tests/generated_screenshots/.runtime/* -internal-* \ No newline at end of file +internal-* + +# Watchman drops these probe files into every watched directory. +.watchman-cookie-* \ No newline at end of file diff --git a/config/apps/calendar/appearance/black_and_white.yaml b/config/apps/calendar/appearance/black_and_white.yaml deleted file mode 100644 index dc59e26b..00000000 --- a/config/apps/calendar/appearance/black_and_white.yaml +++ /dev/null @@ -1,31 +0,0 @@ -# @package apps.calendar - -# UI styling configuration - Black and White Theme -style: - # Color scheme (strictly black, white, and grays) - colors: - primary: '#ffffff' # White for primary elements - primary_hover: '#dddddd' # Light gray for hover states - secondary: '#aaaaaa' # Medium gray for secondary elements - background: '#000000' # Pure black background - text: '#ffffff' # White text - error: '#ffffff' # White for errors (with different styling) - border: '#444444' # Dark gray borders - - # Typography - typography: - font_family: 'Inter, system-ui, sans-serif' - heading_font: 'Inter, system-ui, sans-serif' - base_font_size: '16px' - heading_size: '2rem' # Larger headings for clear hierarchy - - # Button styles - buttons: - border_radius: '0px' # Sharp corners for distinct elements - padding: '0.5rem 1rem' - - # Layout - layout: - container_width: '92%' - spacing: '1.5rem' # More spacing for clear separation - diff --git a/config/apps/calendar/appearance/challenging_font.yaml b/config/apps/calendar/appearance/challenging_font.yaml deleted file mode 100644 index e2dc360b..00000000 --- a/config/apps/calendar/appearance/challenging_font.yaml +++ /dev/null @@ -1,30 +0,0 @@ -# @package apps.calendar - -# UI styling configuration -style: - # Color scheme - colors: - primary: '#1095c1' # Primary color for buttons, links, etc. - primary_hover: '#0a6d8a' # Hover state for primary elements - secondary: '#6c757d' # Secondary color for less important elements - background: '#ffffff' # Main background color - text: '#212529' # Main text color - error: '#dc3545' # Error messages color - border: '#ced4da' # Border color - - # Typography - typography: - font_family: 'Brush Script MT' # Main font family - heading_font: 'Brush Script MT' # Font for headings - base_font_size: '16px' # Base font size - heading_size: '1.5rem' # Size for headings - - # Button styles - buttons: - border_radius: '0.375rem' # Border radius for buttons - padding: '0.5rem 1rem' # Button padding - - # Layout - layout: - container_width: '100%' # Width of the main container - spacing: '1rem' # Standard spacing between elements diff --git a/config/apps/calendar/appearance/dark_theme.yaml b/config/apps/calendar/appearance/dark_theme.yaml deleted file mode 100644 index bbf1e367..00000000 --- a/config/apps/calendar/appearance/dark_theme.yaml +++ /dev/null @@ -1,32 +0,0 @@ -# @package apps.calendar - - -# UI styling configuration - Dark Theme -style: - # Color scheme - colors: - primary: '#bb86fc' # Light purple - primary_hover: '#3700b3' # Darker purple for hover states - secondary: '#03dac6' # Teal secondary - background: '#121212' # Very dark gray background - text: '#ffffff' # White text - error: '#cf6679' # Pink-red for errors - border: '#2d2d2d' # Dark borders - - # Typography - typography: - font_family: 'Inter, system-ui, sans-serif' # Modern font - heading_font: 'Inter, system-ui, sans-serif' # Same font for consistency - base_font_size: '16px' # Standard size - heading_size: '1.75rem' # Slightly smaller headings for dark theme - - # Button styles - buttons: - border_radius: '4px' # More square buttons - padding: '0.5rem 1rem' # Standard padding - - # Layout - layout: - container_width: '95%' # Wide container - spacing: '1rem' # Standard spacing - \ No newline at end of file diff --git a/config/apps/calendar/appearance/default.yaml b/config/apps/calendar/appearance/default.yaml deleted file mode 100644 index 747b0fab..00000000 --- a/config/apps/calendar/appearance/default.yaml +++ /dev/null @@ -1,30 +0,0 @@ -# @package apps.calendar - -# UI styling configuration -style: - # Color scheme - colors: - primary: '#1095c1' # Primary color for buttons, links, etc. - primary_hover: '#0a6d8a' # Hover state for primary elements - secondary: '#6c757d' # Secondary color for less important elements - background: '#ffffff' # Main background color - text: '#212529' # Main text color - error: '#dc3545' # Error messages color - border: '#ced4da' # Border color - - # Typography - typography: - font_family: 'sans-serif' # Main font family - heading_font: 'sans-serif' # Font for headings - base_font_size: '16px' # Base font size - heading_size: '1.5rem' # Size for headings - - # Button styles - buttons: - border_radius: '0.375rem' # Border radius for buttons - padding: '0.5rem 1rem' # Button padding - - # Layout - layout: - container_width: '100%' # Width of the main container - spacing: '1rem' # Standard spacing between elements diff --git a/config/apps/calendar/default.yaml b/config/apps/calendar/default.yaml index 420ab11f..71b5edc7 100644 --- a/config/apps/calendar/default.yaml +++ b/config/apps/calendar/default.yaml @@ -1,6 +1,9 @@ defaults: - content: default - - appearance: default + - layout: default database_path: ${databases_dir}/calendar.db +# Per-app theme override. null = inherit the global `apps/theme` selection. +# Override for just this app with `apps.calendar.theme=solarized`. +theme: null diff --git a/config/apps/calendar/layout/default.yaml b/config/apps/calendar/layout/default.yaml new file mode 100644 index 00000000..0b7faa01 --- /dev/null +++ b/config/apps/calendar/layout/default.yaml @@ -0,0 +1,13 @@ +# @package apps.calendar +# Structure only -- colors, fonts and radii come from the shared theme +# (`config/apps/theme/`). Select with `apps/calendar/layout=`. +layout: default + +# Width of #calendar-container. Narrower values letterbox the month grid, +# which changes how much of it fits above the fold for an agent. +container_width: '100%' +# Vertical rhythm between the nav, grid and agenda blocks. +spacing: '1rem' +# Button hit area. Kept out of the theme because it changes click targets, +# not appearance. +button_padding: '0.5rem 1rem' diff --git a/config/apps/code_editor/appearance/black_and_white.yaml b/config/apps/code_editor/appearance/black_and_white.yaml deleted file mode 100644 index d96bed78..00000000 --- a/config/apps/code_editor/appearance/black_and_white.yaml +++ /dev/null @@ -1,26 +0,0 @@ -# @package apps.code_editor - -font_size: 12 -font: "Arial" -fontcolor: "#000000" -primary_button_color: "#ffffff" -secondary_button_color: "#ffffff" -danger_button_color: "#ffffff" -textarea_background_color: "#ffffff" - -theme: "monokai" -mode: "python" -highlight: False -sort_feature: True - -list_of_modes: - - python - - javascript - - css - - yaml - - markdown - - shell - - clike - - go -list_of_themes: - - monokai \ No newline at end of file diff --git a/config/apps/code_editor/appearance/challenging_font.yaml b/config/apps/code_editor/appearance/challenging_font.yaml deleted file mode 100644 index 58c07ebb..00000000 --- a/config/apps/code_editor/appearance/challenging_font.yaml +++ /dev/null @@ -1,34 +0,0 @@ -# @package apps.code_editor - -font_size: 12 -font: "Brush Script MT" -fontcolor: "" -primary_button_color: "#ffffff" -secondary_button_color: "#ffffff" -danger_button_color: "#D0021B" -textarea_background_color: "#ffffff" -main_background_color: "#90D5FF" - -theme: "monokai" -mode: "python" -highlight: False -sort_feature: True -list_of_modes: - - python - - javascript - - css - - yaml - - markdown - - shell - - clike - - go -list_of_themes: - - monokai - - eclipse - - solarized - - seti - - night - - dracula - - twilight - - zenburn - - material \ No newline at end of file diff --git a/config/apps/code_editor/appearance/colorblind_access.yaml b/config/apps/code_editor/appearance/colorblind_access.yaml deleted file mode 100644 index 0679e9ab..00000000 --- a/config/apps/code_editor/appearance/colorblind_access.yaml +++ /dev/null @@ -1,34 +0,0 @@ -# @package apps.code_editor - -font_size: 12 -font: "Arial" -fontcolor: "" -primary_button_color: "#DC267F" -secondary_button_color: "#DC267F" -danger_button_color: "#FE6100" -textarea_background_color: "#FFFFFF" -main_background_color: "#648FFF" - -theme: "monokai" -mode: "python" -highlight: False -sort_feature: True -list_of_modes: - - python - - javascript - - css - - yaml - - markdown - - shell - - clike - - go -list_of_themes: - - monokai - - eclipse - - solarized - - seti - - night - - dracula - - twilight - - zenburn - - material \ No newline at end of file diff --git a/config/apps/code_editor/appearance/dark_theme.yaml b/config/apps/code_editor/appearance/dark_theme.yaml deleted file mode 100644 index 0a436122..00000000 --- a/config/apps/code_editor/appearance/dark_theme.yaml +++ /dev/null @@ -1,33 +0,0 @@ -# @package apps.code_editor - -font_size: 12 -font: "Arial" -fontcolor: "" -primary_button_color: "#4A90E2" -secondary_button_color: "#50E3C2" -danger_button_color: "#D0021B" -textarea_background_color: "#2d2d2d" - -theme: "monokai" -mode: "python" -highlight: False -sort_feature: True -list_of_modes: - - python - - javascript - - css - - yaml - - markdown - - shell - - clike - - go -list_of_themes: - - monokai - - eclipse - - solarized - - seti - - night - - dracula - - twilight - - zenburn - - material diff --git a/config/apps/code_editor/appearance/default.yaml b/config/apps/code_editor/appearance/default.yaml deleted file mode 100644 index c29d6834..00000000 --- a/config/apps/code_editor/appearance/default.yaml +++ /dev/null @@ -1,34 +0,0 @@ -# @package apps.code_editor - -font_size: 12 -font: "Arial" -fontcolor: "" -primary_button_color: "#ffffff" -secondary_button_color: "#ffffff" -danger_button_color: "#D0021B" -textarea_background_color: "#ffffff" -main_background_color: "#90D5FF" - -theme: "eclipse" -mode: "python" -highlight: False -sort_feature: True -list_of_modes: - - python - - javascript - - css - - yaml - - markdown - - shell - - clike - - go -list_of_themes: - - monokai - - eclipse - - solarized - - seti - - night - - dracula - - twilight - - zenburn - - material \ No newline at end of file diff --git a/config/apps/code_editor/default.yaml b/config/apps/code_editor/default.yaml index bf61aa66..bd93b384 100644 --- a/config/apps/code_editor/default.yaml +++ b/config/apps/code_editor/default.yaml @@ -1,5 +1,51 @@ defaults: - content: default - - appearance: default + - layout: default -database_path: ${databases_dir}/codeeditor \ No newline at end of file +database_path: ${databases_dir}/codeeditor + +# Per-app theme override. null = inherit the global `apps/theme` selection. +# Override for just this app with `apps.code_editor.theme=solarized`. +# +# Note this is the *shared* theme, not CodeMirror's -- the syntax-highlighting +# stylesheet is `editor_theme` below. The two were both called `theme` until +# the appearance groups were removed, and the per-app override silently won, +# leaving CodeMirror initialised with `theme: 'None'`. +theme: null + +# --- Behaviour ------------------------------------------------------------- + +# CodeMirror syntax-highlighting stylesheet, loaded by name from the CDN. +# It is a whole stylesheet rather than a set of variables, so the shared +# theme selects one via its `tone` (see `editor_theme_by_tone`). +editor_theme: "eclipse" +editor_theme_by_tone: + dark: "monokai" + mono: "eclipse" +# Language mode the editor starts in. +mode: "python" +# Load CodeMirror at all. False renders a plain