Skip to content

Commit c06f513

Browse files
committed
fix(Tag): checkable selected Tag border should be able to config
1 parent 91fba02 commit c06f513

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

src/step/scss/variable.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/// @family navigation
66
/// @varPrefix $step-
77
/// @classPrefix {prefix}-step
8-
/// @order {"size/bounding":10,"size/text":11,"size/node":12,"size/divider":13,"size/content":14,"size/dot":15,"statement/awaiting":10,"statement/awaiting/arrow":100,"statement/awaiting/divider":101,"statement/awaiting/content":102,"statement/awaiting/node":103,"statement/processing":11,"statement/processing/arrow":110,"statement/processing/divider":111,"statement/processing/content":112,"statement/processing/node":113,"statement/finished":12,"statement/finished/arrow":120,"statement/finished/divider":121,"statement/finished/content":122,"statement/finished/node":123,"statement/disabled":13,"statement/disabled/arrow":130,"statement/disabled/divider":131,"statement/disabled/content":132,"statement/disabled/node":133,"statement/normal":14,"statement/normal/content":140}
8+
/// @order {"size/bounding":10,"size/text":11,"size/node":12,"size/divider":13,"size/content":14,"size/dot":15,"statement/awaiting":10,"statement/awaiting/arrow":100,"statement/awaiting/node":101,"statement/awaiting/divider":102,"statement/awaiting/content":103,"statement/processing":11,"statement/processing/arrow":110,"statement/processing/node":111,"statement/processing/divider":112,"statement/processing/content":113,"statement/finished":12,"statement/finished/arrow":120,"statement/finished/node":121,"statement/finished/divider":122,"statement/finished/content":123,"statement/disabled":13,"statement/disabled/arrow":130,"statement/disabled/node":131,"statement/disabled/divider":132,"statement/disabled/content":133,"statement/normal":14,"statement/normal/content":140}
99
////
1010

1111
$step-prefix: '.' + $css-prefix + 'step';
@@ -206,7 +206,7 @@ $step-circle-item-node-process-color: $color-white !default;
206206
$step-circle-item-node-process-percent-color: $color-brand1-6 !default;
207207

208208
/// percent size
209-
/// @namespace statement/processing/node
209+
/// @namespace size/node
210210
$step-circle-item-node-process-percent-size: $font-size-body-1 !default;
211211

212212
/// border color

src/tag/main.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
@extend %tag-selectable-normal;
200200

201201
&.checked {
202-
@extend %tag-statement-secondary;
202+
@extend %tag-statement-normal;
203203
@extend %tag-checkable-normal-tick;
204204
}
205205
}

src/tag/scss/placeholder.scss

+11
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,17 @@
123123
);
124124
}
125125

126+
%tag-statement-normal {
127+
@include tag-statement(
128+
$tag-secondary-text-color,
129+
$tag-secondary-border-color,
130+
$tag-secondary-bg,
131+
$tag-secondary-text-color-hover,
132+
$tag-secondary-border-color-hover,
133+
$tag-secondary-bg-hover
134+
);
135+
}
136+
126137
%tag-statement-secondary {
127138
@include tag-statement(
128139
$tag-secondary-text-color,

0 commit comments

Comments
 (0)