Weighs the soul of incoming HTTP requests to stop AI crawlers
11
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(docs): Make dark mode diff lines readable (#130)

* fix(docs): Make dark mode diff lines readable

If using dark mode, these lines are not legible at all. I separated the colors into variables and added
more contrasting colors for the dark mode.

* chore: add to changelog

authored by

Henri Vasserman and committed by
GitHub
07bb5f63 41557194

+7 -2
+1
docs/docs/CHANGELOG.md
··· 18 18 - Fixed bot check to only apply if address range matches 19 19 - Fix default difficulty setting that was broken in a refactor 20 20 - Linting fixes 21 + - Make dark mode diff lines readable in the documentation 21 22 22 23 ## v1.14.2 23 24
+6 -2
docs/src/css/custom.css
··· 15 15 --ifm-color-primary-lightest: #3cad6e; 16 16 --ifm-code-font-size: 95%; 17 17 --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); 18 + --code-block-diff-add-line-color: #ccffd8; 19 + --code-block-diff-remove-line-color: #ffebe9; 18 20 } 19 21 20 22 /* For readability concerns, you should choose a lighter palette in dark mode. */ ··· 27 29 --ifm-color-primary-lighter: #32d8b4; 28 30 --ifm-color-primary-lightest: #4fddbf; 29 31 --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); 32 + --code-block-diff-add-line-color: #216932; 33 + --code-block-diff-remove-line-color: #8b423b; 30 34 } 31 35 32 36 .code-block-diff-add-line { 33 - background-color: #ccffd8; 37 + background-color: var(--code-block-diff-add-line-color); 34 38 display: block; 35 39 margin: 0 -40px; 36 40 padding: 0 40px; ··· 44 48 } 45 49 46 50 .code-block-diff-remove-line { 47 - background-color: #ffebe9; 51 + background-color: var(--code-block-diff-remove-line-color); 48 52 display: block; 49 53 margin: 0 -40px; 50 54 padding: 0 40px;