@@ -115,28 +115,28 @@ textarea:focus {
115115 .button :hover ,
116116 .button.focus ,
117117 .button :focus {
118- border-color : darken ( #7e8993 , 5 % );
119- color : darken ( #32373c , 5 % );
118+ border-color : color . adjust ( #7e8993 , $lightness : -5 % );
119+ color : color . adjust ( #32373c , $lightness : -5 % );
120120 }
121121
122122 .button.focus ,
123123 .button :focus {
124124 border-color : #7e8993 ;
125- color : darken ( #32373c , 5 % );
125+ color : color . adjust ( #32373c , $lightness : -5 % );
126126 box-shadow : 0 0 0 1px #32373c ;
127127 }
128128
129129 .button :active {
130130 border-color : #7e8993 ;
131- color : darken ( #32373c , 5 % );
131+ color : color . adjust ( #32373c , $lightness : -5 % );
132132 box-shadow : none ;
133133 }
134134
135135 .button.active ,
136136 .button.active :focus ,
137137 .button.active :hover {
138138 border-color : $button-color ;
139- color : darken ( #32373c , 5 % );
139+ color : color . adjust ( #32373c , $lightness : -5 % );
140140 box-shadow : inset 0 2px 5px -3px $button-color ;
141141 }
142142
@@ -154,16 +154,16 @@ textarea:focus {
154154 .button.hover ,
155155 .button :hover ,
156156 .button-secondary :hover {
157- border-color : darken ($highlight-color , 10 );
158- color : darken ($highlight-color , 10 );
157+ border-color : color . adjust ($highlight-color , $lightness : -10 % );
158+ color : color . adjust ($highlight-color , $lightness : -10 % );
159159 }
160160
161161 .button.focus ,
162162 .button :focus ,
163163 .button-secondary :focus {
164- border-color : lighten ($highlight-color , 10 );
165- color : darken ($highlight-color , 20 ); ;
166- box-shadow : 0 0 0 1px lighten ($highlight-color , 10 );
164+ border-color : color . adjust ($highlight-color , $lightness : 10 % );
165+ color : color . adjust ($highlight-color , $lightness : -20 % ) ;
166+ box-shadow : 0 0 0 1px color . adjust ($highlight-color , $lightness : 10 % );
167167 }
168168
169169 .button-primary {
@@ -225,14 +225,14 @@ textarea:focus {
225225 }
226226
227227 .wrap .page-title-action :hover {
228- color : darken ($highlight-color , 10 );
229- border-color : darken ($highlight-color , 10 );
228+ color : color . adjust ($highlight-color , $lightness : -10 % );
229+ border-color : color . adjust ($highlight-color , $lightness : -10 % );
230230 }
231231
232232 .wrap .page-title-action :focus {
233- border-color : lighten ($highlight-color , 10 );
234- color : darken ($highlight-color , 20 ); ;
235- box-shadow : 0 0 0 1px lighten ($highlight-color , 10 );
233+ border-color : color . adjust ($highlight-color , $lightness : 10 % );
234+ color : color . adjust ($highlight-color , $lightness : -20 % ) ;
235+ box-shadow : 0 0 0 1px color . adjust ($highlight-color , $lightness : 10 % );
236236 }
237237}
238238
@@ -539,7 +539,7 @@ ul#adminmenu > li.current > a.current:after {
539539
540540.wp-pointer .wp-pointer-content h3 {
541541 background-color : $highlight-color ;
542- border-color : darken ( $highlight-color , 5 % );
542+ border-color : color . adjust ( $highlight-color , $lightness : -5 % );
543543}
544544
545545.wp-pointer .wp-pointer-content h3 :before {
@@ -632,7 +632,7 @@ body.more-filters-opened .more-filters:focus:before {
632632
633633.nav-menus-php .item-edit :focus :before {
634634 box-shadow :
635- 0 0 0 1px lighten ($button-color , 10 ),
635+ 0 0 0 1px color . adjust ($button-color , $lightness : 10 % ),
636636 0 0 2px 1px $button-color ;
637637}
638638
@@ -711,7 +711,7 @@ div#wp-responsive-toggle a:before {
711711 #customize-save-button-wrapper .save :focus ,
712712 #publish-settings :focus {
713713 box-shadow :
714- 0 0 0 1px lighten ($button-color , 10 ),
714+ 0 0 0 1px color . adjust ($button-color , $lightness : 10 % ),
715715 0 0 2px 1px $button-color ;
716716 }
717717
@@ -772,7 +772,7 @@ div#wp-responsive-toggle a:before {
772772 .wp-full-overlay .collapse-sidebar :hover .collapse-sidebar-arrow ,
773773 .wp-full-overlay .collapse-sidebar :focus .collapse-sidebar-arrow {
774774 box-shadow :
775- 0 0 0 1px lighten ($button-color , 10 ),
775+ 0 0 0 1px color . adjust ($button-color , $lightness : 10 % ),
776776 0 0 2px 1px $button-color ;
777777 }
778778
0 commit comments