Skip to content

Node.js based forum software built for the modern web

fix ghost button hover color on dark skins

Barış Soner Uşaklı5742f5a34035
diff --git a/install/package.json b/install/package.json
index 3e6a9b3a70..42a086bafb 100644
--- a/install/package.json
+++ b/install/package.json
@@ -107,10 +107,10 @@
"nodebb-plugin-spam-be-gone": "2.3.2",
"nodebb-plugin-web-push": "0.7.6",
"nodebb-rewards-essentials": "1.0.2",
- "nodebb-theme-harmony": "2.2.32",
+ "nodebb-theme-harmony": "2.2.33",
"nodebb-theme-lavender": "7.1.21",
"nodebb-theme-peace": "2.2.51",
- "nodebb-theme-persona": "14.2.20",
+ "nodebb-theme-persona": "14.2.21",
"nodebb-widget-essentials": "7.0.42",
"nodemailer": "8.0.1",
"nprogress": "0.2.0",
diff --git a/public/scss/btn-ghost.scss b/public/scss/btn-ghost.scss
index 6f69b8cddc..f488924396 100644
--- a/public/scss/btn-ghost.scss
+++ b/public/scss/btn-ghost.scss
@@ -1,6 +1,6 @@
-$btn-ghost-hover-color: mix($light, $dark, 90%)!default;
+$btn-ghost-hover-color: mix($body-bg, $body-color, 90%)!default;
$btn-ghost-active-color: lighten($btn-ghost-hover-color, 5%)!default;
-$btn-ghost-hover-color-dark: mix($dark, $light, 90%)!default;
+$btn-ghost-hover-color-dark: mix($body-color, $body-bg, 90%)!default;
$btn-ghost-active-color-dark: lighten($btn-ghost-hover-color-dark, 5%)!default;
:root {
diff --git a/public/scss/skins.scss b/public/scss/skins.scss
index 4a330c521f..09359c1fba 100644
--- a/public/scss/skins.scss
+++ b/public/scss/skins.scss
@@ -10,4 +10,22 @@
// fix minty buttons
.skin-minty .btn {
color: initial!important;
-}
\ No newline at end of file
+}
+
+.skin-litera {
+ .badge {
+ padding: 0.25rem 0.5rem;
+ }
+}
+
+:root {
+ .skin-slate {
+ --bs-primary-rgb: #{lighten($primary, 10%)};
+ }
+ .skin-darkly, .skin-slate, .skin-cyborg {
+ --bs-border-color: #929292;
+ }
+ .skin-zephyr {
+ --bs-secondary-rgb: var(--bs-secondary-color);
+ }
+}