AmaranthineCodices / roact-material

Material design in Roblox w/ Roact!
MIT License
20 stars 5 forks source link

Simplify theme structure #20

Open AmaranthineCodices opened 6 years ago

AmaranthineCodices commented 6 years ago

Right now, themes have a bunch of really specific properties:

ButtonHoverColor = Colors.Lighten("Blue500", 1);
ButtonPressColor = Colors.Darken("Blue500", 1);
FlatButtonHoverColor = Colors.Lighten("Blue500", 4);
FlatButtonPressColor = Colors.Lighten("Blue500", 3);
FlatButtonColor = Colors.White;
ButtonColor = Colors.Blue500;
-- ...

These can probably be ripped out and replaced with various Colors.Lighten and Colors.Darken calls based on the theme primary/accent colors.