Skip to content

brand.typography.link.background-color applies to light/dark mode toggle button #12877

Open
@gordonwoodhull

Description

@gordonwoodhull

a.quarto-color-scheme-toggle is indeed a link but it should probably not be styled as one, at least not the background color.

Image
---
format: html
brand:
  light:
    color:
      foreground: '#222'
      background: '#eee'
    typography:
      link:
        background-color: '#efe'
  dark:
    color:
      foreground: '#eee'
      background: '#222'
    typography:
      monospace:
        background-color: '#321'
      link:
        background-color: '#421'
        color: '#c3a'

---


# light and dark brand syntax


```{r}
#| lst-label: lst-fibonacci
#| lst-cap: A naive algorithm for computing Fibonacci numbers.
fib <- function(x) {
  if (x < 2) 1 else fib(x - 1) + fib(x - 2)
}
```

Here is [a link](https://example.com).

{{< lipsum 2 >}}

Metadata

Metadata

Labels

brand`_brand.yml`bugSomething isn't workingthemesRelated to HTML theming or any other style related issue (like highlight-style)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions