make quartz pretty

This commit is contained in:
Barış Soner Uşaklı
2026-02-24 23:35:24 -05:00
parent 898c3f1d41
commit ac493be57a
4 changed files with 22 additions and 1 deletions

View File

@@ -107,7 +107,7 @@
"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.33",
"nodebb-theme-harmony": "2.2.35",
"nodebb-theme-lavender": "7.1.21",
"nodebb-theme-peace": "2.2.51",
"nodebb-theme-persona": "14.2.21",

View File

@@ -1,5 +1,16 @@
// fixes for global skin issues
.skin-quartz {
.dropdown-header {
color: white;
}
.card:has(.dropdown-menu.show) {
backdrop-filter: none;
}
}
// brite text-secondary is white :/
.skin-brite {
.text-secondary {
@@ -28,4 +39,9 @@
.skin-zephyr {
--bs-secondary-rgb: var(--bs-secondary-color);
}
.skin-quartz {
.table{
--bs-table-bg: transparent!important;
}
}
}

View File

@@ -0,0 +1,3 @@
$spacer: 1rem!default;
$input-btn-padding-y: .375rem !default;
$input-btn-padding-x: 0.75rem !default;

View File

@@ -53,6 +53,7 @@ function boostrapImport(themeData) {
// see https://getbootstrap.com/docs/5.0/customize/sass/#variable-defaults
// for an explanation of this order and https://bootswatch.com/help/
const { bootswatchSkin, bsVariables, isCustomSkin } = themeData;
const skinOverrides = ['quartz'];
function bsvariables() {
if (bootswatchSkin) {
if (isCustomSkin) {
@@ -63,6 +64,7 @@ function boostrapImport(themeData) {
}
return `
${bsVariables}
${skinOverrides.includes(bootswatchSkin) ? `@import "skins/${bootswatchSkin}";` : ''}
@import "bootswatch/dist/${bootswatchSkin}/variables";
`;
}