fix: use light-variant mark in logo example to match light logo area
R-CMD-check / R CMD check (push) Successful in 3m42s
R-CMD-check / R CMD check (push) Successful in 3m42s
This commit is contained in:
@@ -176,13 +176,13 @@ grid::grid.draw(civilytics_logo(p))
|
||||
|
||||
<img src="man/figures/README-logo-wordmark-1.png" alt="" width="100%" />
|
||||
|
||||
### Mark on a dark plot
|
||||
### Compact mark
|
||||
|
||||
Use `type = "mark"` for the compact icon and `variant = "dark"` to match
|
||||
a dark background.
|
||||
Use `type = "mark"` for the compact C-pulse icon instead of the full
|
||||
wordmark.
|
||||
|
||||
``` r
|
||||
p_dark <- ggplot(mpg, aes(displ, hwy, colour = factor(cyl))) +
|
||||
p2_logo <- ggplot(mpg, aes(displ, hwy, colour = factor(cyl))) +
|
||||
geom_point(size = 2) +
|
||||
scale_color_civilytics() +
|
||||
labs(
|
||||
@@ -190,12 +190,12 @@ p_dark <- ggplot(mpg, aes(displ, hwy, colour = factor(cyl))) +
|
||||
colour = "Cylinders",
|
||||
x = "Displacement (L)", y = "Highway MPG"
|
||||
) +
|
||||
theme_civilytics_dark()
|
||||
theme_civilytics()
|
||||
|
||||
grid::grid.draw(civilytics_logo(p_dark, type = "mark", variant = "dark"))
|
||||
grid::grid.draw(civilytics_logo(p2_logo, type = "mark"))
|
||||
```
|
||||
|
||||
<img src="man/figures/README-logo-dark-1.png" alt="" width="100%" />
|
||||
<img src="man/figures/README-logo-mark-1.png" alt="" width="100%" />
|
||||
|
||||
### Multi-plot layout with logo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user