File tree Expand file tree Collapse file tree
src/kde_material_you_colors/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ dependencies = [
2222 " dbus-python>=1.3.2" ,
2323 " numpy>=1.20" ,
2424 " pillow>=9.2.0" ,
25- " materialyoucolor>=2 .0.8 " ,
25+ " materialyoucolor>=3 .0.2 " ,
2626 " python-magic>=0.4.27" ,
2727]
2828
Original file line number Diff line number Diff line change 1111 desired = 7 , # ANSI colors target
1212 fallback_color_argb = 0xFF4285F4 , # Google Blue.
1313 filter = True , # Avoid unsuitable colors.
14- dislike_filter = True , # Fix globally disliked colors
1514)
1615
1716
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ def dict_to_hex(dark_scheme):
4242def palette_to_hex (palette : TonalPalette ):
4343 tones = []
4444 for x in range (100 ):
45- tones .append (hexFromArgb (argb_from_rgba (palette .tone (x ))))
45+ tones .append (hexFromArgb ((palette .tone (x ))))
4646 return tones
4747
4848
You can’t perform that action at this time.
0 commit comments