Skip to content

Commit 89b0e42

Browse files
authored
fix: 🐛 CSS was wrongly placed in root .scss file (#192)
# Description It seems like the custom styles file in not shipped with the extension. Putting the rules in the brand file seems to work locally and I see there is other css there as well. Worked for me locally too. This PR needs a quick review.
1 parent b2a69d7 commit 89b0e42

File tree

3 files changed

+11
-17
lines changed

3 files changed

+11
-17
lines changed

_extensions/seedcase-theme/_brand.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,14 @@ defaults:
165165
:is(h3, h4, h5, h6, dt) code {
166166
font-weight: bold;
167167
}
168+
169+
// Color built-ins the same as regular variables
170+
// since we sometimes use built-in names as parameter names
171+
span.bu {
172+
color: inherit !important
173+
}
174+
// Color terminal executables the same as regular variables
175+
// since the default has low contrast and is hard to see
176+
span.ex {
177+
color: inherit !important
178+
}

_quarto.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ format:
2424
seedcase-theme-html:
2525
theme:
2626
- brand
27-
- custom-styles.scss
2827

2928
editor:
3029
markdown:

custom-styles.scss

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)