Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code background color in theme Galaxy #96

Closed
dankh opened this issue Oct 30, 2019 · 2 comments
Closed

Code background color in theme Galaxy #96

dankh opened this issue Oct 30, 2019 · 2 comments

Comments

@dankh
Copy link

dankh commented Oct 30, 2019

In theme Galaxy code background color differs from markdown block background color. The result is code lines surrounded by the backgound color. It's very difficult to read.

Here is a small patch to fix it by applying the block background color :

diff --git a/Assets/css/themes/Galaxy.css b/Assets/css/themes/Galaxy.css
index 9517cec..d8dfc1b 100644
--- a/Assets/css/themes/Galaxy.css
+++ b/Assets/css/themes/Galaxy.css
@@ -18,7 +18,7 @@ body {
        text-rendering:optimizeLegibility
 }
 code {
-       background-color: #cccccc52!important;
+       background-color: #242729 !important;
 }
 small {
        font-size:0.8em

Before

galaxy-background-color-before

After

galaxy-background-color-after

  • Kanboard: v1.2.11
  • Customizer: 1.13.1

Other installed plugins :

  • HighlightCodeSyntax: 1.0.1
@creecros
Copy link
Owner

Make a pull request and I'll add it.

@creecros
Copy link
Owner

added:
commit 35d0d5c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants