Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Changing color for bullets

Open
#660 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
r
Domain
cli

Research direction

Start with the auto-closing documentation at cli.r-lib.org/reference/containers.html and compare the shown cli_text() and cli_bullets() examples. Reproduce the theme behavior with cli_div(), then trace how cli_bullets() applies the .tmp color. Done means bullet output respects the active yellow color, with coverage for the provided example.

Written by the indexing model from the issue text.

Description

bug

From https://cli.r-lib.org/reference/containers.html#auto-closing

div <- function() {
  cli_div(class = "tmp", theme = list(.tmp = list(color = "yellow")))
  cli_text("This is yellow")
}
div()
cli_text("This is not yellow any more")

This works, renders the text as yellow.

However, if I replace cli_text() by cli_bullets(), it doesn't show as yellow.

div <- function() {
  cli_div(class = "tmp", theme = list(.tmp = list(color = "yellow")))
  cli_bullets("This is yellow")
}
div()

Is there a way to do this? I tried going through the docs, but couldn't find it.

Dominant language
R
Stars
726
Forks
94
Avg merge
3h 35m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from r-lib/cli

All issues in r-lib/cli

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.