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

feat: configurable defaults #49

Merged
merged 5 commits into from
Jun 5, 2024
Merged

Conversation

jasonraimondi
Copy link
Owner

@jasonraimondi jasonraimondi commented Jun 5, 2024

Description

  • Support configurable defaults

    • DEFAULT_WIDTH: Default: 250
    • DEFAULT_HEIGHT: Default: 250
    • DEFAULT_VIEWPORT_WIDTH: Default: 1080
    • DEFAULT_VIEWPORT_HEIGHT: Default: 1080
    • DEFAULT_IS_MOBILE: Default: false
    • DEFAULT_IS_FULL_PAGE: Default: false
    • DEFAULT_IS_DARK_MODE: Default: false
    • DEFAULT_DEVICE_SCALE_FACTOR: Default: 1
  • Deprecate viewPort in favor of viewport

    • viewPortWidth to viewportWidth
    • viewPortHeight to viewportHeight

Issue

resolves #37

@jasonraimondi jasonraimondi merged commit 5fedc4b into main Jun 5, 2024
3 checks passed
@jasonraimondi jasonraimondi deleted the feat/configurable-defaults branch June 5, 2024 03:36
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.

Configurable defaults
1 participant