Refactor HButton

This commit is contained in:
miruka
2019-08-20 17:41:24 -04:00
parent 7e7852b51e
commit ce128d5ab5
14 changed files with 101 additions and 187 deletions

View File

@@ -88,14 +88,13 @@ controls:
color background: colors.strongBackground
button:
color background: colors.inputBackground
color checkedBackground: colors.accentBackground
color disabledBackground:
hsluv(0, 0, colors.intensity * 2, Math.min(0.6, opacity))
color hoveredOverlay: hsluv(0, 0, 100)
color background: colors.inputBackground
color text: colors.text
color disabledText: colors.dimmerText
real disabledOpacity: 0.3
color hoveredOverlay: hsluv(0, 0, 50, 0.3)
color pressedOverlay: hsluv(0, 0, 50, 0.6)
color checkedOverlay: colors.accentBackground
interactiveRectangle:
color background: "transparent"
@@ -191,9 +190,6 @@ chat:
roomSidePane:
color background: colors.mediumBackground
selectViewBar:
color background: chat.roomHeader.background
eventList:
int ownEventsOnRightUnderWidth: 768
color background: "transparent"