Skip to content

Commit

Permalink
Theme touchups
Browse files Browse the repository at this point in the history
  • Loading branch information
ascholerChemeketa committed Nov 23, 2024
1 parent c9ae5a2 commit a198c65
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion script/cssbuilder/cssbuilder.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function getTargets(options) {
{ out: 'theme-default-legacy', in: path.join(cssRoot, 'targets/html/legacy/default/theme-default.scss'), autobuild: true },
{ out: 'theme-min-legacy', in: path.join(cssRoot, 'targets/html/legacy/min/theme-min.scss'), autobuild: true },
{ out: 'theme-crc-legacy', in: path.join(cssRoot, 'targets/html/legacy/crc/theme-crc.scss'), autobuild: true },
{ out: 'theme-soundwriting', in: path.join(cssRoot, 'targets/html/legacy/soundwriting/theme-soundwriting.scss'), autobuild: true },
{ out: 'theme-soundwriting-legacy', in: path.join(cssRoot, 'targets/html/legacy/soundwriting/theme-soundwriting.scss'), autobuild: true },
{ out: 'theme-wide-legacy', in: path.join(cssRoot, 'targets/html/legacy/wide/theme-wide.scss'), autobuild: true },
// -------------------------------------------------------------------------
// Modern web targets
Expand Down
11 changes: 7 additions & 4 deletions xsl/publisher-variables.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -2341,18 +2341,21 @@ along with PreTeXt. If not, see <http://www.gnu.org/licenses/>.
<option name="primary-color-dark" check-contrast="#23241f"/>
</theme>
<theme name="salem" focused-toc="yes">
<option name="provide-dark-mode" default="yes"/>
<!-- <option name="provide-dark-mode" default="yes"/>
<option name="palette" default="default"/>
<option name="primary-color" check-contrast="#fff"/>
<option name="secondary-color" check-contrast="#fff"/>
<option name="primary-color-dark" check-contrast="#23241f"/>
<option name="color-main" check-contrast="#fff"/>
<option name="color-do" check-contrast="#fff"/>
<option name="color-fact" check-contrast="#fff"/>
<option name="color-meta" check-contrast="#fff"/>
<option name="primary-color-dark" check-contrast="#23241f"/> -->
</theme>
<theme name="paper">
<option name="provide-dark-mode" default="yes"/>
<option name="primary-color" check-contrast="#fff"/>
<option name="primary-color-dark" check-contrast="#23241f"/>
</theme>
<theme name="custom">
<option name="provide-dark-mode" default="yes"/>
<option name="entry-point" default="custom-theme.scss"/>
</theme>
</xsl:variable>
Expand Down

0 comments on commit a198c65

Please sign in to comment.