Franknoirot/adjust color ramps (#2116)

* Update chalkboard color ramp to have less saturation

* Remove the hue number from settings display
This commit is contained in:
Frank Noirot
2024-04-15 13:40:09 -04:00
committed by GitHub
parent 3fdf7bd45e
commit 6d12aa48f8
3 changed files with 34 additions and 33 deletions

View File

@ -26,7 +26,7 @@ export function setThemeClass(theme: Themes) {
export function getThemeColorForEngine(theme: Themes) {
const resolvedTheme = theme === Themes.System ? getSystemTheme() : theme
const dark = 28 / 255
const light = 242 / 255
const light = 249 / 255
return resolvedTheme === Themes.Dark
? { r: dark, g: dark, b: dark, a: 1 }
: { r: light, g: light, b: light, a: 1 }