@@ -39,9 +39,9 @@ $color-link-visited-dark: #a679d2 !default;
39
39
$color-focus-dark : #9cf !default ;
40
40
41
41
// Focus modifications to meet AA 3:1 contrast ratio against
42
- // button background for positive/negative buttons
42
+ // button background for positive buttons
43
43
$color-focus-positive : #003008 !default ;
44
- $color-focus-negative : #3b0006 !default ;
44
+ $color-focus-positive-dark : #9cf !default ;
45
45
46
46
// Button background color changes
47
47
$input-background-opacity-amount : 0.04 ;
@@ -93,6 +93,7 @@ $states: (
93
93
// --link-default - default link color
94
94
// --link-visited - visited link color
95
95
// --focus - focus highlight/outline color
96
+ // --positive-focus - focus highlight/outline color for positive buttons
96
97
//
97
98
// Background colors:
98
99
// --background - default background color
@@ -114,6 +115,7 @@ $colors--light-theme--text-inactive: rgba($color-x-dark, $inactive-text-opacity-
114
115
$colors--light-theme--link-default : $color-link !default ;
115
116
$colors--light-theme--link-visited : $color-link-visited !default ;
116
117
$colors--light-theme--focus : $color-focus !default ;
118
+ $colors--light-theme--positive-focus : $color-focus-positive !default ;
117
119
118
120
$colors--light-theme--background-default : #fff !default ;
119
121
$colors--light-theme--background-alt : #f7f7f7 !default ;
@@ -174,6 +176,7 @@ $colors--dark-theme--text-inactive: rgba($colors--dark-theme--text-default, $ina
174
176
$colors--dark-theme--link-default : $color-link-dark !default ;
175
177
$colors--dark-theme--link-visited : $color-link-visited-dark !default ;
176
178
$colors--dark-theme--focus : $color-focus-dark !default ;
179
+ $colors--dark-theme--positive-focus : $color-focus-positive-dark !default ;
177
180
178
181
$colors--dark-theme--background-default : #262626 !default ;
179
182
$colors--dark-theme--background-alt : #202020 !default ;
@@ -241,6 +244,7 @@ $colors--theme--text-inactive: var(--vf-color-text-inactive);
241
244
$colors--theme--link-default : var (--vf-color-link-default );
242
245
$colors--theme--link-visited : var (--vf-color-link-visited );
243
246
$colors--theme--focus : var (--vf-color-focus );
247
+ $colors--theme--positive-focus : var (--vf-color-positive-focus );
244
248
245
249
$colors--theme--background-default : var (--vf-color-background-default );
246
250
$colors--theme--background-alt : var (--vf-color-background-alt );
@@ -296,6 +300,7 @@ $colors--theme--button-negative-text: var(--vf-color-button-negative-text);
296
300
--vf-color-link-default : #{$colors--light-theme--link-default } ;
297
301
--vf-color-link-visited : #{$colors--light-theme--link-visited } ;
298
302
--vf-color-focus : #{$colors--light-theme--focus } ;
303
+ --vf-color-positive-focus : #{$colors--light-theme--positive-focus } ;
299
304
300
305
--vf-color-background-default : #{$colors--light-theme--background-default } ;
301
306
--vf-color-background-alt : #{$colors--light-theme--background-alt } ;
@@ -351,6 +356,7 @@ $colors--theme--button-negative-text: var(--vf-color-button-negative-text);
351
356
--vf-color-link-default : #{$colors--dark-theme--link-default } ;
352
357
--vf-color-link-visited : #{$colors--dark-theme--link-visited } ;
353
358
--vf-color-focus : #{$colors--dark-theme--focus } ;
359
+ --vf-color-positive-focus : #{$colors--dark-theme--positive-focus } ;
354
360
355
361
--vf-color-background-default : #{$colors--dark-theme--background-default } ;
356
362
--vf-color-background-alt : #{$colors--dark-theme--background-alt } ;
0 commit comments