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

Another font and another background #21

Merged
merged 5 commits into from
Jan 15, 2024
Merged

Conversation

simonhamp
Copy link
Owner

This was going to be a simple PR to add an image and a font, but I realised a few things whilst testing these additions out, so now this is a ⚠️ breaking change, but I think it's for the best at this early stage... hopefully this will be the last breaking change before v1!

Added

  • GridMe background (specifically for @Stillat. Tweet)
  • RobotoSlab font

Here they are in action

Sneaker photo by Matthew Hamilton on Unsplash

Changed

  • Removed AbstractTheme in favour of simply instantiating the Theme class.

If you were extending AbstractTheme, now you can simply create an instance of SimonHamp\TheOg\Theme\Theme instead.

Move the Theme enum to the root for 'easier access'

Change the AbstractTheme into a normal class - we don't need it to be abstract
@simonhamp simonhamp added the breaking-change This PR contains breaking changes, so a new major version will be required label Jan 15, 2024
@simonhamp simonhamp merged commit e6c14f2 into main Jan 15, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change This PR contains breaking changes, so a new major version will be required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant