Compare commits

..

No commits in common. "460729104a0abb6bddf7eec7855d623efa103ad9" and "845451ffb665601cc3dfd3fcccb227529427f2d0" have entirely different histories.

2 changed files with 11 additions and 12 deletions

View File

@ -1,9 +1,9 @@
<p> <table>
<img src="app/assets/logo.png" alt="ICRA Logo" width="120" style="float:left; margin-right:16px;"/> <tr>
<strong>ICRA</strong> (Interactive Color Range Analyzer) is a Tkinter-based desktop tool for highlighting customised colour ranges in images. Load a single photo or an entire folder, fine-tune hue/saturation/value sliders, and export overlays complete with quick statistics. <td width="140"><img src="app/assets/logo.png" alt="ICRA Logo" width="120"/></td>
</p> <td>**ICRA** (Interactive Color Range Analyzer) is a Tkinter-based desktop tool for highlighting customised colour ranges in images. Load a single photo or an entire folder, fine-tune hue/saturation/value sliders, and export overlays complete with quick statistics.</td>
</tr>
<div style="clear: both;"></div> </table>
## Features ## Features
- Two synced previews (original + overlay) - Two synced previews (original + overlay)
@ -19,11 +19,11 @@
- Tkinter (install separately on some Linux distros) - Tkinter (install separately on some Linux distros)
## Setup with uv (Windows PowerShell) ## Setup with uv (Windows PowerShell)
```bash ```powershell
git clone https://git.lukasmahler.de/lm/ICRA.git git clone https://git.lukasmahler.de/lm/ICRA.git
cd ICRA cd ICRA
uv venv uv venv
source .venv/Scripts/activate .\.venv\Scripts\Activate
uv pip install . uv pip install .
uv run icra uv run icra
``` ```

View File

@ -448,10 +448,9 @@ class UIBuilderMixin:
def _navigation_palette(self) -> dict[str, str]: def _navigation_palette(self) -> dict[str, str]:
is_dark = getattr(self, "theme", "light") == "dark" is_dark = getattr(self, "theme", "light") == "dark"
default_bg = "#0f0f10" if is_dark else "#ededf2" if is_dark:
bg = self.root.cget("bg") if hasattr(self.root, "cget") else default_bg return {"bg": "#26262a", "fg": "#f5f5f5"}
fg = "#f5f5f5" if is_dark else "#1f1f1f" return {"bg": "#e8e8ee", "fg": "#1f1f1f"}
return {"bg": bg, "fg": fg}
def _refresh_toolbar_buttons_theme(self) -> None: def _refresh_toolbar_buttons_theme(self) -> None:
if not getattr(self, "_toolbar_buttons", None): if not getattr(self, "_toolbar_buttons", None):