https://github.com/hellofromtonya/fonts-api-bc-layer-tester
Fonts API BC Layer Tester Plugin
https://github.com/hellofromtonya/fonts-api-bc-layer-tester
Last synced: 11 months ago
JSON representation
Fonts API BC Layer Tester Plugin
- Host: GitHub
- URL: https://github.com/hellofromtonya/fonts-api-bc-layer-tester
- Owner: hellofromtonya
- License: gpl-3.0
- Created: 2023-04-27T18:25:24.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-27T18:42:33.000Z (about 3 years ago)
- Last Synced: 2025-03-05T20:36:50.657Z (over 1 year ago)
- Language: PHP
- Size: 1.24 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fonts API BC Layer tester plugin
This is a tester plugin for testing the BC Layer in the Gutenberg's Fonts API.
## How to install
1. In your local dev environment, create a new folder in `wp-content/plugins/`.
2. Clone this repo or download it and place in the above folder.
4. Activate the plugin in your test site's admin area.
## How to test
1. Open the Site Editor
2. Open the Global Styles UI
3. Open Typography
4. Open `Text`
5. Select the `Poppins` font.
* Expected behavior: The text should change to that font.
6. Save the global styles.
7. Go to the front-end. Then visually check that the text and headings look like for those fonts.
8. Check the error log to verify deprecation notices are present.
## What should the fonts visually look like?
You can visually see how the font should look by clicking to go to Google Fonts website.
* Poppins: [Visually see it](https://fonts.google.com/specimen/Poppins)