Go to file
echo 4445574b43 Phase 3: Color correction panel with sliders, tint, and preset filters
- Color_Filter enum: None, Vintage, Noir, Cool_Tone, Warm_Tone,
  High_Contrast, Faded, Dramatic
- editor_apply_filter_preset: maps each filter to adjustment values
- editor_render_adjust_panel: right-side panel with:
  - Brightness/Contrast/Saturation/Tint sliders via rl.GuiSliderBar
  - Tint color swatches (6 preset tints)
  - 8 preset filter buttons
  - Apply and Reset buttons
- editor_update_display: composites base image with tint preview
  into display_rt for real-time adjustment preview
- 'Adjust' toggle button in toolbar (highlights when active)
- Canvas width shrinks when adjustments panel is open
- Color_Adjustments struct gains filter field
- Panel_Editor_State gains show_adjust_panel field

Build passes. 155/156 tests pass (1 pre-existing CLI/TUI failure).
2026-05-28 15:43:00 +02:00
.github/workflows check point 2026-05-24 12:41:31 +02:00
odin Phase 3: Color correction panel with sliders, tint, and preset filters 2026-05-28 15:43:00 +02:00
public init state 2026-05-18 19:58:01 +02:00
src init state 2026-05-18 19:58:01 +02:00
.env.example init state 2026-05-18 19:58:01 +02:00
.gitignore init state 2026-05-18 19:58:01 +02:00
.gitmodules check point 2026-05-24 12:41:31 +02:00
AGENTS.md current state 2026-05-28 15:20:02 +02:00
app current state 2026-05-28 15:20:02 +02:00
eslint.config.js init state 2026-05-18 19:58:01 +02:00
index.html init state 2026-05-18 19:58:01 +02:00
package-lock.json check point 2026-05-21 06:10:32 +02:00
package.json init state 2026-05-18 19:58:01 +02:00
postcss.config.js init state 2026-05-18 19:58:01 +02:00
README.md init state 2026-05-18 19:58:01 +02:00
tailwind.config.js init state 2026-05-18 19:58:01 +02:00
tests current state 2026-05-28 15:20:02 +02:00
tsconfig.app.json init state 2026-05-18 19:58:01 +02:00
tsconfig.json init state 2026-05-18 19:58:01 +02:00
tsconfig.node.json init state 2026-05-18 19:58:01 +02:00
vite.config.ts init state 2026-05-18 19:58:01 +02:00
vitest.config.ts init state 2026-05-18 19:58:01 +02:00

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])