File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed
Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -47,10 +47,6 @@ input.q-input-target
4747 & : -ms- input -placeholder /* IE 10+ */
4848 color $form-dark !important
4949
50- & ::selection
51- background black
52- color white
53-
5450.q-if-dark
5551 .q-input-target-placeholder
5652 color #97 97 97 !important
@@ -62,10 +58,6 @@ input.q-input-target
6258 & : -ms- input -placeholder /* IE 10+ */
6359 color #97 97 97 !important
6460
65- & ::selection
66- background white
67- color black
68-
6961.q-if-inverted :not (.q-if-inverted-light )
7062 .q-input-target-placeholder
7163 color #d d d !important
@@ -77,10 +69,6 @@ input.q-input-target
7769 & : -ms- input -placeholder /* IE 10+ */
7870 color #d d d !important
7971
80- & ::selection
81- background white
82- color black
83-
8472.q-input-shadow
8573 overflow hidden
8674 visibility hidden
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ export function textToRgb (color) {
149149export function lighten ( color , percent ) {
150150 const rgb = textToRgb ( color ) ,
151151 t = percent < 0 ? 0 : 255 ,
152- p = ( percent < 0 ? percent * - 1 : percent ) / 100 ,
152+ p = Math . abs ( percent ) / 100 ,
153153 R = rgb . r ,
154154 G = rgb . g ,
155155 B = rgb . b
You can’t perform that action at this time.
0 commit comments