From 84c2965edf2de5424c35ad67ac5fa5ad7c94f982 Mon Sep 17 00:00:00 2001 From: Lisa Durand Date: Wed, 16 Oct 2024 14:41:09 +0200 Subject: [PATCH] fix scss linter --- app/assets/stylesheets/tags.scss | 45 ++++++++++++++++---------------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/app/assets/stylesheets/tags.scss b/app/assets/stylesheets/tags.scss index 992ef9609..577b375d7 100644 --- a/app/assets/stylesheets/tags.scss +++ b/app/assets/stylesheets/tags.scss @@ -1,24 +1,23 @@ @import "colors"; @import "constants"; -$colors: -"green-tilleul-verveine", -"green-bourgeon", -"green-emeraude", -"green-menthe", -"green-archipel", -"blue-ecume", -"blue-cumulus", -"purple-glycine", -"pink-macaron", -"pink-tuile", -"yellow-tournesol", -"yellow-moutarde", -"orange-terre-battue", -"brown-cafe-creme", -"brown-caramel", -"brown-opera", -"beige-gris-galet"; +$colors: "green-tilleul-verveine", + "green-bourgeon", + "green-emeraude", + "green-menthe", + "green-archipel", + "blue-ecume", + "blue-cumulus", + "purple-glycine", + "pink-macaron", + "pink-tuile", + "yellow-tournesol", + "yellow-moutarde", + "orange-terre-battue", + "brown-cafe-creme", + "brown-caramel", + "brown-opera", + "beige-gris-galet"; @each $color in $colors { @@ -29,10 +28,10 @@ $colors: input[type=image].fr-tag--#{$color}, input[type=reset].fr-tag--#{$color}, input[type=submit].fr-tag--#{$color} { - --idle:transparent; - --hover:var(--background-action-low-#{$color}-hover); - --active:var(--background-action-low-#{$color}-active); - background-color:var(--background-action-low-#{$color}); - color:var(--text-action-high-#{$color}) + --idle: transparent; + --hover: var(--background-action-low-#{$color}-hover); + --active: var(--background-action-low-#{$color}-active); + background-color: var(--background-action-low-#{$color}); + color: var(--text-action-high-#{$color}); } }