Closed micahjones13 closed 3 years ago
Ah I see what happened. You can use the Pressed state in Abstract for Hover. This brings up some need for better naming or at least commenting functions in the design files. We will work on that in the future. @avillaindesire do you agree with using the Pressed state for the hover state as well?
Ah I see what happened. You can use the Pressed state in Abstract for Hover. This brings up some need for better naming or at least commenting functions in the design files. We will work on that in the future. @avillaindesire do you agree with using the Pressed state for the hover state as well?
Yep, we can use the pressed state for hover. In the future, we may want to explore a different state for hover since you can select any point on the track to move the thumb there.
Updated the slider color vars and values to be in line with current abstract and KM standards. Jira Link Dark theme changes:
--sliderThumbBackgroundColor: var(--backgroundColor);
from--sliderThumbBackgroundColor: var(--primaryDark);
--sliderThumbBorderColor: var(--primary);
from--sliderThumbBorderColor: var(--inputBackground);
--sliderTrackBackgroundColor: var(--primary);
from--sliderTrackBackgroundColor: var(--secondaryText);
--sliderSelectedThumbBorderColor: var(--primaryLight);
from--sliderSelectedThumbBorderColor: var(--primaryLight);
--sliderThumbBorderSize
to 2px instead of 1px, as per abstractLight theme:
--sliderThumbBackgroundColor: var(--backgroundColor);
from--sliderThumbBackgroundColor: var(--primaryDark);
--sliderThumbBorderColor: var(--primary);
from--sliderThumbBorderColor: var(--inputBackground);
--sliderTrackBackgroundColor: var(--primary);
from--sliderTrackBackgroundColor: var(--inputBackground);
--sliderThumbBorderSize
to 2px instead of 1px, as per abstractThe vars for hover values were not changed, I didn't see any slider hover files in abstract. If I'm just blind and didn't see them let me know. The massive file size is thanks to prettier.