-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README and add upgrade guide (#400)
- Loading branch information
1 parent
b04d7dd
commit 9ab98c1
Showing
3 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Upgrading guide | ||
|
||
## Upgrading to `v2.0.0` | ||
|
||
This release updates UI to Polaris v12 styles. Required changes after gem upgrade: | ||
|
||
1. Add `polaris_html_classes` to your `html` tag in layouts: | ||
|
||
```erb | ||
<html class="<%= polaris_html_classes %>" style="<%= polaris_html_styles %>"> | ||
``` | ||
|
||
2. Update icon names in your app. Naming convention in Polaris Icons v12 changed. There's no more separation to `Minor` and `Major` icons. All icons have `Icon` suffix. New icon names can be found in Polaris documentation: https://polaris.shopify.com/icons |