-
Notifications
You must be signed in to change notification settings - Fork 14
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
Allow Responsive Display Global Props #1846
Allow Responsive Display Global Props #1846
Conversation
…lobal-responsive-display-props-in-all-kits
…lobal-responsive-display-props-in-all-kits
…lobal-responsive-display-props-in-all-kits
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work so far! Let me know what you think about the token comments. That's how they seem to me at first glance, but I'm not totally familiar with what they should be doing.
…onsive-display-props-in-all-kits
50a0645
to
de2ccbc
Compare
3d003c5
to
373783c
Compare
@@ -28,3 +48,19 @@ $breakpoints: ( | |||
@content; | |||
} | |||
} | |||
|
|||
@mixin break_on($min: null, $max: null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This mixin will create a breakpoint grid with min and max sizes. This is the only way we could get the CSS declarations to apply.
xl: ( | ||
min: $screen-xl-min, | ||
) | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Relates to the break_on
mixin
* Added conditional to displayProps * Added breakpoint query * Removed commented out code * Trying to display gloabl props * Display global props * Display breakpoints on rails * Working on multiple screen sizes * Display global props at multiple screen sizes * Added Props pill back for display * Separate base types * Fix display.rb css output * Global props work fro single display value * Edited visual guidelines styling * Fixed syntax for display.ts * Switched display.ts syntax back * Fixed syntax error this time * Fix types and SCSS classes * Add breakpoints grid to screen sizes * Don't make changes to unassociated files * All files should have one empty line at the end per code style rules * Add colors type Co-authored-by: Dion Theroulde <[email protected]> Co-authored-by: Stephen Marshall <[email protected]>
Screens
Breaking Changes
[Yes/No (Explain)]
Runway Ticket URL
https://nitro.powerhrg.com/runway/backlog_items/PLAY-33)
How to test this
[INSERT TESTING DETAILS]
Checklist:
enhancement
,bug
,improvement
,new kit
,deprecated
, orbreaking
. See Changelog & Labels for details.Milano
label when you are ready for a review.