quarto render stuck on light instead of primary for all themes #14537
-
Descriptionquarto: 1.9.37 when rendering a blog the theme is stuck at using light instead of primary. this happens even with a newly created blog created by quarto create. i have attempted deleting .cache/quarto/sass to see if that fixes the problem that does not work |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
|
Did you define both light and dark as documented? https://quarto.org/docs/websites/website-tools.html#dark-mode I suspect you did not, but if you did, then could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? The goal is to make it as easy as possible for us to recreate your problem so that we can fix it: please help us help you! Thanks. You can share a self-contained "working" (reproducible) Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four If you have multiple files (and if it is absolutely required to have multiple files), please share as a Git repository.
Additionally and if not already given, please share the output of |
Beta Was this translation helpful? Give feedback.
-
|
here is it though i have no clue how to get the navbar to show up: ---
project:
type: website
website:
title: "test"
navbar:
right:
- icon: github
format:
html:
theme: cosmo
---
```txt
Quarto 1.9.37
[✓] Checking environment information...
Quarto cache location: /home/silver/.cache/quarto
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.8.3: OK
Dart Sass version 1.87.0: OK
Deno version 2.4.5: OK
Typst version 0.14.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.9.37
Path: /opt/quarto/bin
[✓] Checking tools....................OK
TinyTeX: (not installed)
Chromium: (not installed)
Chrome Headless Shell: (not installed)
VeraPDF: (not installed)
[✓] Checking LaTeX....................OK
Using: Installation From Path
Path: /usr/bin
Version: undefined
[✓] Checking Chrome Headless....................OK
Chrome: (not detected)
[✓] Checking basic markdown render....OK
[✓] Checking R installation...........(None)
Unable to locate an installed version of R.
Install R from https://cloud.r-project.org/
[✓] Checking Python 3 installation....OK
Version: 3.14.4
Path: /usr/bin/python3
Jupyter: (None)
Jupyter is not available in this Python installation.
Install with python3 -m pip install jupyter
[✓] Checking Julia installation...
``` |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.


Then it has nothing to do with the theme mode.
Theme has defaults, either change theme following the documentation via the sass variables, or use yaml.
website: navbar: background: primaryAnd again that's documented in the links I shared.