You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to provide some guidelines for developers adding themes to their extension packages. I suggest the following four points. It doesn't have to add a lot of text to the book.
Always define your theme by starting from an existing theme.
Use %+replace%, not +, to modify the starting theme, and set complete = TRUE.
Don't overwrite the default theme.
If your extension package defines new theme elements (new in ggplot 3.3.0), add them to the default theme. As an example of a user-defined new theme element, consider using the code in this comment.