Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-15 14:22:53 +01:00
DEV: Convert scss variables to CSS Custom properties
Dieser Commit ist enthalten in:
Ursprung
058d03f371
Commit
f48b433b83
2 geänderte Dateien mit 9 neuen und 7 gelöschten Zeilen
|
@ -714,20 +714,20 @@
|
|||
}
|
||||
|
||||
.btn.btn-pavilion-pro {
|
||||
background: $pavilion-primary;
|
||||
color: $pavilion-secondary;
|
||||
background: var(--pavilion-primary);
|
||||
color: var(--pavilion-secondary);
|
||||
|
||||
.d-icon {
|
||||
color: $pavilion-secondary;
|
||||
color: var(--pavilion-secondary);
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background: darken($pavilion-primary, 5%);
|
||||
background: darken(var(--pavilion-primary), 5%);
|
||||
|
||||
&[href],
|
||||
svg.d-icon {
|
||||
color: darken($pavilion-secondary, 10%);
|
||||
color: darken(var(--pavilion-secondary), 10%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
$pavilion-primary: #3c1c8c;
|
||||
$pavilion-secondary: #fff;
|
||||
:root {
|
||||
--pavilion-primary: rgb(60, 28, 140);
|
||||
--pavilion-secondary: rgb(255, 255, 255);
|
||||
}
|
||||
|
|
Laden …
In neuem Issue referenzieren