Scale up the blurnail on hover, percents suck, decimals are more readable

This commit is contained in:
daudix
2024-09-18 18:44:43 +03:00
parent a6602357e6
commit 2469f64eb7
14 changed files with 69 additions and 69 deletions

View File

@ -747,7 +747,7 @@ You know, <span class="spoiler solid">Duckquill is a pretty dumb name.</span> I
if (contrastColorLight) {
styles += `
:root {
--contrast-color: rgb(0 0 0 / 80%);
--contrast-color: rgb(0 0 0 / 0.8);
}
`;
} else {
@ -761,11 +761,11 @@ You know, <span class="spoiler solid">Duckquill is a pretty dumb name.</span> I
if (contrastColorDark) {
styles += `
[data-theme="dark"] {
--contrast-color: rgb(0 0 0 / 80%);
--contrast-color: rgb(0 0 0 / 0.8);
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--contrast-color: rgb(0 0 0 / 80%);
--contrast-color: rgb(0 0 0 / 0.8);
}
}
`;

View File

@ -174,11 +174,11 @@ Want to set some nice image as a background? We got you covered:
@include theme-variables using ($theme) {
@if $theme == "dark" {
--bg-overlay: linear-gradient(rgb(0 0 0 / 90%), rgb(0 0 0 / 90%));
--bg-overlay: linear-gradient(rgb(0 0 0 / 0.9), rgb(0 0 0 / 0.9));
}
@else {
--bg-overlay: linear-gradient(rgb(255 255 255 / 80%), rgb(255 255 255 / 80%));
--bg-overlay: linear-gradient(rgb(255 255 255 / 0.8), rgb(255 255 255 / 0.8));
}
}