rice change
This commit is contained in:
@@ -2,7 +2,7 @@ pkgs: rec {
|
||||
|
||||
lib = import ../nxlib/ricelib.nix pkgs.lib;
|
||||
|
||||
transparency = 0.9;
|
||||
transparency = 0.8;
|
||||
rounding = 10;
|
||||
gap-size = 10;
|
||||
border-width = 3;
|
||||
|
||||
@@ -68,7 +68,7 @@ class Palette:
|
||||
def ensure_color(c: Color, alter_sat: bool) -> list[int]:
|
||||
hue, lum, sat = c.hls
|
||||
if alter_sat:
|
||||
new_sat = min(sat**0.5, 1)
|
||||
new_sat = min((sat**0.5) + 0.4, 1)
|
||||
else:
|
||||
new_sat = sat
|
||||
new_lum = max(lum, 0.5)
|
||||
|
||||
Reference in New Issue
Block a user