Skip to content

Commit 44f9ffc

Browse files
dwnusbaumkrisstern
authored andcommitted
[JENKINS-71479] Do not use SCSS lighten function directly to avoid invalid CSS (#8425)
(cherry picked from commit 620e775)
1 parent f02efe6 commit 44f9ffc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

war/src/main/scss/abstracts/theme.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ $semantics: (
131131
// Button primary
132132
--button-color--primary: var(--background);
133133
--btn-primary-bg: #063f61;
134-
--btn-primary-bg-hover: lighten(#063f61, 7.5%);
135-
--btn-primary-bg-active: lighten(#063f61, 12%);
136-
// Button primary
134+
--btn-primary-bg-hover: #{lighten(#063f61, 7.5%)};
135+
--btn-primary-bg-active: #{lighten(#063f61, 12%)};
136+
// Deprecated - Button primary
137137
--btn-secondary-color: var(--secondary);
138138
--btn-secondary-bg: var(--btn-text-color);
139139
--btn-secondary-border: var(--medium-grey);

0 commit comments

Comments
 (0)