Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subtheme functions #5430

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Subtheme functions #5430

wants to merge 8 commits into from

Conversation

teunbrand
Copy link
Collaborator

This PR implements the subtheme idea from #5301.

Briefly, it adds functions that allow specifying parts of a theme with shorter arguments.

A few considerations:

  • I tried making a function factory for these subtheme functions, to automatically populate the formals as the argument names are very regex friendly. However, roxygen2 wouldn't recognise the formals in the @usage section.
  • Should these function be named subtheme_*() as to avoid confusion with e.g. theme_light() which is conceptually doing a different thing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant