vtex-apps / rich-text

2 stars 9 forks source link

Added responsive values to font prop #38

Closed saviomuniz closed 4 years ago

saviomuniz commented 4 years ago

What problem is this solving?

To be able to control font size and style depending on the device

How should this be manually tested?

You can try both

"rich-text#store-headline": { 
    "props": { 
      "font": "t-heading-1",
      "textAlignment": "CENTER",
      "textPosition": "CENTER",
      "text": "Evolve your store with the best apps.",
      "blockClass": "storeHeadline"
    }
  }

and

"rich-text#store-headline": { 
    "props": { 
      "font": { 
        "desktop": "t-heading-1",
        "mobile": "t-body"
      },
      "textAlignment": "CENTER",
      "textPosition": "CENTER",
      "text": "Evolve your store with the best apps.",
      "blockClass": "storeHeadline"
    }
  }

Screenshots or example usage:

image

image

vtex-io-ci-cd[bot] commented 4 years ago

Hi! I'm VTEX IO CI/CD Bot and I'll be helping you to publish your app! 🤖

Please select which version do you want to release:

And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.

vtex-io-docs-bot[bot] commented 4 years ago

Beep boop :robot:

I noticed you didn't make any changes at the docs/ folder

In order to keep track, I'll create an issue if you decide now is not a good time

vtex-io-ci-cd[bot] commented 4 years ago

Your PR has been merged! App is being published. :rocket: Version 0.9.0 → 0.9.1

After the publishing process has been completed (check #vtex-io-releases) and doing A/B tests with the new version, you can deploy your release by running:

vtex deploy vtex.rich-text@0.9.1

After that your app will be updated on all accounts.

For more information on the deployment process check the docs. :book: