style(colors): fix exact colors for some DSFR components like footer links

This commit is contained in:
Colin Darie 2022-09-28 19:26:44 +02:00
parent cf4ac28735
commit 36589c186c
2 changed files with 6 additions and 4 deletions

View file

@ -45,12 +45,12 @@ strong {
font-weight: bold; font-weight: bold;
} }
a[target="_blank"]::after { a[target="_blank"]:not([class^="fr-"])::after {
content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==); content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
margin: 0 3px 0 5px; margin: 0 3px 0 5px;
} }
a { a:not([class^="fr-"]) {
color: $blue-france-500; color: $blue-france-500;
} }

View file

@ -15,9 +15,11 @@ select {
background: $white; background: $white;
} }
#footer a { .fr-footer__bottom-link {
color: #333333; // re-apply color unsetted by our common "a" rule setting a blue
color: var(--text-mention-grey);
} }
// with Marianne font, weight of font is less bolder, so bold it up // with Marianne font, weight of font is less bolder, so bold it up
.button.primary { .button.primary {
font-weight: bold; font-weight: bold;