Skip to content

Commit

Permalink
fix(radio): met a jour les tokens de couleur
Browse files Browse the repository at this point in the history
  • Loading branch information
zellerbaptiste committed Sep 5, 2023
1 parent 81438af commit 615fe69
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/component/radio/style/scheme/_default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#{selector.ns-group(radio)} {
input[type="radio"] {
& + label {
@include color.background-image((action-high blue-france), (legacy:$legacy), radio-background-image(false));
@include color.background-image((border active blue-france), (legacy:$legacy), radio-background-image(false));
}

@include disabled.selector {
Expand All @@ -22,7 +22,7 @@

&:checked {
+ label {
@include color.background-image((action-high blue-france) (action-high blue-france), (legacy:$legacy), radio-background-image(true));
@include color.background-image((border active blue-france) (active blue-france), (legacy:$legacy), radio-background-image(true));
}

@include disabled.selector {
Expand Down
4 changes: 2 additions & 2 deletions src/component/radio/style/scheme/_rich.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

input[type="radio"] {
+ label {
@include color.background-image((action-high blue-france) (action-high blue-france) (border default grey), (legacy: $legacy), '#{radio-rich-background-image(false)}');
@include color.background-image((border active blue-france) (active blue-france) (border default grey), (legacy: $legacy), '#{radio-rich-background-image(false)}');
@include color.background((background default grey), (legacy: $legacy));
}

Expand All @@ -34,7 +34,7 @@

&:checked {
+ label {
@include color.background-image((action-high blue-france) (action-high blue-france) (action-high blue-france), (legacy: $legacy), '#{radio-rich-background-image(true)}');
@include color.background-image((border active blue-france) (active blue-france) (border active blue-france), (legacy: $legacy), '#{radio-rich-background-image(true)}');
}

~ #{selector.ns(radio-rich__pictogram)} {
Expand Down
4 changes: 2 additions & 2 deletions src/component/radio/style/scheme/_sm.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#{ns-group(radio)}--sm {
input[type="radio"] {
+ label {
@include color.background-image((action-high blue-france), (legacy:$legacy), radio-background-image(false, sm));
@include color.background-image((border active blue-france), (legacy:$legacy), radio-background-image(false, sm));
}

@include disabled.selector() {
Expand All @@ -21,7 +21,7 @@

&:checked {
+ label {
@include color.background-image((action-high blue-france) (action-high blue-france), (legacy:$legacy), radio-background-image(true, sm));
@include color.background-image((border active blue-france) (active blue-france), (legacy:$legacy), radio-background-image(true, sm));
}

@include disabled.selector {
Expand Down

0 comments on commit 615fe69

Please sign in to comment.