Skip to content

Node.js based forum software built for the modern web

fix: btn-close color on skins

Barış Soner Uşaklıbc79f8628def
diff --git a/public/scss/modules/alerts.scss b/public/scss/modules/alerts.scss
index 25cf052df8..34678e4714 100644
--- a/public/scss/modules/alerts.scss
+++ b/public/scss/modules/alerts.scss
@@ -37,6 +37,11 @@
.alert-progress { background-color: $danger; }
}
+ $custom-close-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$body-color}'><path d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/></svg>");
+ .btn-close {
+ --bs-btn-close-bg: #{escape-svg(#{$custom-close-bg})};
+ }
+
background-color: var(--bs-body-bg);
border: 0;
border-left: 5px solid !important;