Open naakmsc opened 1 year ago
Press F12 over the ColorScheme
, and it will open for you the constructors.
As you will see, there are four constructors for this ColorScheme
class:
Primary
enum, which stores some Hex values of the colors (web colors).int
values, which will be converted to colors using ToColor()
function from the Extensions.cs
classColor
struct.Try to use the third or the fourth constructor:
public ColorScheme(int primary, int darkPrimary, int lightPrimary, int accent, TextShade textShade)
or
public ColorScheme(Color primary, Color darkPrimary, Color lightPrimary, Color accent, TextShade textShade)
I probably find more usefull the fourth constructor, using Color
struct.
Regards, Vali
I would like to leave a specific color for the primary color in ColorScheme, but I can't find any other way than the default ones.![image](https://github.com/leocb/MaterialSkin/assets/71958603/25c2606e-e0ed-4365-aa43-711ae853b6b5)