Xin Wang c839779d87 Add color adaptation functions for theme-based palette adjustments
- Implement rgbToHsl and hslToRgb functions for color space conversions.
- Introduce adaptPalette function to adjust colors based on dark/light themes, enhancing visual consistency.
- Add isDarkTheme function to determine the current theme state, improving theme handling across visual components.
2026-06-10 09:32:53 +08:00
Description
No description provided
1.3 MiB
Languages
TypeScript 64.4%
Python 33.4%
CSS 1.2%
Shell 0.4%
Makefile 0.4%
Other 0.1%