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 {
|
.btn.btn-pavilion-pro {
|
||||||
background: $pavilion-primary;
|
background: var(--pavilion-primary);
|
||||||
color: $pavilion-secondary;
|
color: var(--pavilion-secondary);
|
||||||
|
|
||||||
.d-icon {
|
.d-icon {
|
||||||
color: $pavilion-secondary;
|
color: var(--pavilion-secondary);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
background: darken($pavilion-primary, 5%);
|
background: darken(var(--pavilion-primary), 5%);
|
||||||
|
|
||||||
&[href],
|
&[href],
|
||||||
svg.d-icon {
|
svg.d-icon {
|
||||||
color: darken($pavilion-secondary, 10%);
|
color: darken(var(--pavilion-secondary), 10%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
$pavilion-primary: #3c1c8c;
|
:root {
|
||||||
$pavilion-secondary: #fff;
|
--pavilion-primary: rgb(60, 28, 140);
|
||||||
|
--pavilion-secondary: rgb(255, 255, 255);
|
||||||
|
}
|
||||||
|
|
Laden …
In neuem Issue referenzieren