We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents be889e8 + d7407e4 commit dad962eCopy full SHA for dad962e
src/Lumi/Components/Button.purs
@@ -2,7 +2,7 @@ module Lumi.Components.Button where
2
3
import Prelude
4
5
-import Color (cssStringHSLA, darken, lighten)
+import Color (cssStringHSLA, darken, desaturate, lighten)
6
import Data.Array as Array
7
import Data.Char (fromCharCode)
8
import Data.Foldable (fold)
@@ -293,6 +293,6 @@ styles = jss
293
, "&:hover": { backgroundColor: cssStringHSLA $ darken 0.1 value }
294
, "&:active": { backgroundColor: cssStringHSLA $ darken 0.15 value }
295
, "&:disabled, &[data-loading=\"true\"]":
296
- { backgroundColor: cssStringHSLA $ lighten 0.25 value
+ { backgroundColor: cssStringHSLA $ lighten 0.4137 $ desaturate 0.1972 $ value
297
}
298
0 commit comments