generated from nhcarrigan/template
fix: make text in inline code blocks visible (#38)
### Explanation dark mode before  dark mode after  light mode before  light mode after  I copied from the code blocks that are used in the style guide to be sure to use approved colors ### Issue _No response_ ### Attestations - [x] I have read and agree to the [Code of Conduct](https://docs.nhcarrigan.com/community/coc/) - [x] I have read and agree to the [Community Guidelines](https://docs.nhcarrigan.com/community/guide/). - [x] My contribution complies with the [Contributor Covenant](https://docs.nhcarrigan.com/dev/covenant/). ### Dependencies - [ ] I have pinned the dependencies to a specific patch version. ### Style - [x] I have run the linter and resolved any errors. - [x] My pull request uses an appropriate title, matching the conventional commit standards. - [x] My scope of feat/fix/chore/etc. correctly matches the nature of changes in my pull request. ### Tests - [ ] My contribution adds new code, and I have added tests to cover it. - [ ] My contribution modifies existing code, and I have updated the tests to reflect these changes. - [ ] All new and existing tests pass locally with my changes. - [ ] Code coverage remains at or above the configured threshold. ### Documentation _No response_ ### Versioning Patch - My pull request introduces bug fixes ONLY. Reviewed-on: #38 Co-authored-by: Ilenia <ilenia@nhcarrigan.com> Co-committed-by: Ilenia <ilenia@nhcarrigan.com>
This commit was merged in pull request #38.
This commit is contained in:
@@ -191,6 +191,20 @@ site-search button[data-open-modal] kbd {
|
|||||||
border-color: var(--primary-color) !important;
|
border-color: var(--primary-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:where(.sl-markdown-content, .content-panel, article) :not(pre) > code {
|
||||||
|
font-family: "Courier New", monospace;
|
||||||
|
font-weight: 600;
|
||||||
|
background: rgba(43, 27, 61, 0.05) !important;
|
||||||
|
color: var(--witch-purple) !important;
|
||||||
|
padding: 2px 6px;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
html[data-theme="dark"] :where(.sl-markdown-content, .content-panel, article) :not(pre) > code {
|
||||||
|
background: rgba(255, 255, 255, 0.08) !important;
|
||||||
|
color: var(--witch-lavender) !important;
|
||||||
|
}
|
||||||
|
|
||||||
#starlight__search {
|
#starlight__search {
|
||||||
--pagefind-ui-text: var(--primary-color);
|
--pagefind-ui-text: var(--primary-color);
|
||||||
--pagefind-ui-primary: var(--witch-rose);
|
--pagefind-ui-primary: var(--witch-rose);
|
||||||
|
|||||||
Reference in New Issue
Block a user