Skip to content

Commit

Permalink
Fix tables and code blocks in 0.19.3
Browse files Browse the repository at this point in the history
Fixes #8
  • Loading branch information
pkrasicki committed Feb 5, 2024
1 parent 964fae2 commit 6f9197e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Lemmy Modern UI Theme
This Firefox extension replaces the CSS styles on Lemmy instances to create a modern looking theme. Works with Lemmy 0.18.x and 0.17.x.
This Firefox extension replaces the CSS styles on Lemmy instances to create a modern looking theme. Works with Lemmy 0.19, 0.18 and 0.17.

Get the addon: https://addons.mozilla.org/firefox/addon/lemmy-modern-ui-theme

Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Lemmy Modern UI Theme",
"version": "1.3.2",
"version": "1.3.3",
"description": "Modifies the CSS styles on Lemmy instances to create a modern looking theme.",

"content_scripts":
Expand Down
15 changes: 15 additions & 0 deletions theme/dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,19 @@ a:not(.btn)
{
background-color: var(--custom-main-bg-color);
}
}

// tables (0.19.3)
.table
{
--bs-table-color: #fff;
--bs-table-hover-color: #fff;
}

// code blocks with syntax highlighting (0.19.3)
code.hljs
{
color: #99a0ac;
background: #171717;
filter: brightness(1.5) saturate(0.8);
}

0 comments on commit 6f9197e

Please sign in to comment.