Skip to content

Commit

Permalink
feat: updated extension for better code output contrast (esp. in dark…
Browse files Browse the repository at this point in the history
… mode)
  • Loading branch information
njlyon0 committed Aug 13, 2024
1 parent acef6d0 commit 8610ba5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _extensions/lter/lter_scss-theme/_extension.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
title: LTER Quarto Stylesheets
author: Nick J Lyon
version: 1.0.0
version: 1.1.0
quarto-required: ">=1.2.0"
contributes:
formats:
Expand Down
3 changes: 3 additions & 0 deletions _extensions/lter/lter_scss-theme/theme_lter-edu-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ $code-color: $lter-green-1; // inline code text color

/*-- scss:rules --*/

// Code chunk ouput
pre code:not(.sourceCode) { background-color: $gray-0; }

// Active tabset panel (tab then tab content)
.nav-tabs .nav-link.active {
background-color: $gray-3;
Expand Down
3 changes: 3 additions & 0 deletions _extensions/lter/lter_scss-theme/theme_lter-edu-light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ $code-color: $lter-green-2; // inline code text color

/*-- scss:rules --*/

// Code chunk ouput
pre code:not(.sourceCode) { background-color: $gray-0; }

// Active tabset panel (tab then tab content)
.nav-tabs .nav-link.active {
background-color: #FFF;
Expand Down

0 comments on commit 8610ba5

Please sign in to comment.