-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split the Global Styles variations in two: default and premium (#77333)
* Split the variations in two: default (free) and premium * Separate the free Style Variation from the paid ones * Remove props and CSS that are not needed anymore * Move description in the header and make CSS changes on mobile viewports * Add props to control the layout and label. With these props, we'll be able to display the style variations for different theme types. * Disable the split for non-free themes. * Remove margin * Fix regression in the Design Picker, align margins and remove <p> tag when there's no description * Change font color * Keep the previous heading color. * Increase the font size on the paragraph * Fix issues after code review, align horizontally the UI on mobile viewports in Theme showcase and set the item size on mobile view ports to 80px in the theme showcase. * Update packages/global-styles/src/components/global-styles-variations/index.tsx Co-authored-by: Miguel Torres <1233880+mmtr@users.noreply.github.com> --------- Co-authored-by: Miguel Torres <1233880+mmtr@users.noreply.github.com>
- Loading branch information
1 parent
49f693a
commit 08ac29c
Showing
10 changed files
with
247 additions
and
110 deletions.
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.