No Code Attached Yet
avatar hans2103
hans2103
3 Jul 2023

Media/templates/site/cassiopeia/scss/vendor/bootstrap/_buttons.scss

what is the use of hard coded colors when we work with css variables instead?

color: $gray-800;
background-color: $white;
border-color: $gray-400;
&:hover,
&:focus {
color: $gray-800;
background-color: $gray-100;
}
}
.article-info .association,
.cat-list-association {
.btn-secondary {
font-weight: 700;
color: $white;
background-color: $gray-600;
border-color: $gray-400;
&:hover,
&:focus {
color: $white;
background-color: $gray-800;

avatar hans2103 hans2103 - open - 3 Jul 2023
avatar joomla-cms-bot joomla-cms-bot - change - 3 Jul 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 Jul 2023
avatar brianteeman
brianteeman - comment - 3 Jul 2023

are you referring to using $white instead of var(--something) ??

avatar hans2103
hans2103 - comment - 3 Jul 2023

See screenshot below where .btn-secondary has both css variables as scss variables.
Scherm­afbeelding 2023-07-03 om 10 42 11

Add a Comment

Login with GitHub to post a comment