Adds colorable sliders & RGB/HSV color picker (#7441)

This commit is contained in:
Flipp Syder
2022-04-15 15:55:56 -07:00
committed by GitHub
parent deb335c19b
commit c7856327a8
5 changed files with 19 additions and 223 deletions

View File

@@ -1183,6 +1183,12 @@ namespace Content.Client.Stylesheets
new StyleProperty(Slider.StylePropertyFill, sliderFillBox),
}),
new StyleRule(SelectorElement.Type(typeof(ColorableSlider)), new []
{
new StyleProperty(ColorableSlider.StylePropertyFillWhite, sliderFillWhite),
new StyleProperty(ColorableSlider.StylePropertyBackgroundWhite, sliderFillWhite),
}),
new StyleRule(new SelectorElement(typeof(Slider), new []{StyleClassSliderRed}, null, null), new []
{
new StyleProperty(Slider.StylePropertyFill, sliderFillRed),