Adds colorable sliders & RGB/HSV color picker (#7441)
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user