Skip to content

Color issue when used together with dark theme #25

Description

@AndhikaWB

Text doesn't show when this library is used together with ggdark theme

library(ggdark)

data("love_words_small")
ggplot(love_words_small, aes(label = word, size = speakers)) +
  geom_text_wordcloud() +
  scale_size_area(max_size = 30) +
  dark_theme_minimal()

When not used with ggdark (ignore the overlapping text, too lazy to fix)
image


When used with ggdark (see code above)
image


Changing color to white via the color parameter also doesn't seem to produce white text, it will produce red/orange text instead

data("love_words_small")
ggplot(love_words_small, aes(label = word, size = speakers, color = 'white')) +
  geom_text_wordcloud() +
  scale_size_area(max_size = 40) +
  dark_theme_minimal()

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions