Skip to content

Commit 067c5e0

Browse files
committed
fix: opengist dark theme background class change
1 parent 2c03141 commit 067c5e0

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/backend/Backend.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,12 +400,22 @@ css: |
400400
background-color: ${ css_og_sb_color };
401401
}
402402
403+
.dark:bg-gray-900
404+
{
405+
background-color: ${ css_og_bg_color } !important;
406+
}
407+
408+
.opengist-embed .dark\:bg-gray-900:is(.dark *)
409+
{
410+
background-color: ${ css_og_bg_color } !important;
411+
}
412+
403413
.opengist-embed .code
404414
{
405415
padding-top: ${ this.settings.blk_pad_t }px;
406416
padding-bottom: ${ this.settings.blk_pad_b }px;
407417
border-top: ${ css_og_bg_header_bor };
408-
background-color: ${ css_og_bg_color };
418+
background-color: ${ css_og_bg_color } !important;
409419
width: fit-content;
410420
margin-top: -1px;
411421
background: ${ css_og_bg };

0 commit comments

Comments
 (0)