Dashboard card expand button has a black icon in dark mode
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 84/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- css, javascript
- Domain
- frontend
Research direction
Search the dashboard styles for .bslib-full-screen-enter and inspect the SVG rule. Render the reproduction file, switch to dark mode, and hover the card to confirm the icon color. The issue reports that setting fill: currentcolor on the SVG fixes it; done means the icon follows the button text color in dark mode.
Written by the indexing model from the issue text.
Description
I have:
- searched the issue tracker for similar issues
- installed the latest version of Quarto CLI
- formatted my issue following the Bug Reports guide
Bug description
The expand button that appears when you hover a dashboard card draws its icon with a black fill.
In dark mode the button background is dark, so the icon is close to invisible.
Steps to reproduce
---
title: Expand button
format:
dashboard:
theme:
light: default
dark: darkly
---
## Row
::: {.card title="Card"}
Hover the card, then the expand button.
:::
Render the file, switch to dark mode with the toggle in the navbar, and hover the card.
Actual behavior
In dark mode the button text colour is rgb(255, 255, 255) and its background is rgb(45, 45, 45), but the SVG inside has fill: rgb(0, 0, 0).
The <svg> in .bslib-full-screen-enter has no fill attribute and no rule sets one, so it takes the SVG default of black.
Expected behavior
The icon follows the colour scheme, as the button border already does.
Setting fill: currentcolor on the svg in .bslib-full-screen-enter fixes it in my tests.
Your environment
- IDE: none, terminal only.
- OS: macOS 27.2.1 (arm64).
Quarto check output
quarto check
[✓] Checking environment information...
Quarto cache location: /Users/mcanouil/Library/Caches/quarto
Project: none found (single-file mode)
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.13.0: OK
Dart Sass version 1.107.1: OK
Deno version 2.9.8: OK
Typst version 0.15.1: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 99.9.9
- Dominant language
- JavaScript
- Stars
- 6.2k
- Forks
- 496
- Avg merge
- 15h 47m
- Merged PRs (30d)
- 87
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from quarto-dev/quarto-cli
-
accessibility bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
quarto-dev/quarto-cli#15442 ·
Maintainers usually reply within 1 day
-
accessibility bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
quarto-dev/quarto-cli#15440 ·
Maintainers usually reply within 1 day
-
accessibility bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
quarto-dev/quarto-cli#15439 ·
Maintainers usually reply within 1 day
-
accessibility bug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
quarto-dev/quarto-cli#15438 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
quarto-dev/quarto-cli#15431 · 3 comments ·
Maintainers usually reply within 1 day
All issues in quarto-dev/quarto-cli
Similar issues
-
01 type: bug 41 lvl: easy
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
521xueweihan/HelloGitHub#4655 ·
-
[19.0] pos_sale: settling an order with a 0 down payment line crashes (reading 'reward_id') and leaves a wrong amount duePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
bug CRIT-3
Difficulty 1/5 Under an hour Newbie friendliness 70/100
NASA-AMMOS/anms#426 ·