-
Notifications
You must be signed in to change notification settings - Fork 59
feat: add Label references to utilities and docs #3621
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
base: ouds/main
Are you sure you want to change the base?
Changes from all commits
8ae8242
e33c965
8ccdecd
34fd339
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
louismaximepiton marked this conversation as resolved.
|
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -55,6 +55,12 @@ toc: true | |||||||
|
|
||||||||
| - <span class="tag tag-small tag-warning"><span class="tag-status-icon"></span>Warning</span> `.shadow-default` has been deprecated in favor of `.shadow-elevated`. It will be removed in v1.5.0. Read more in our [shadow page]([[docsref:/utilities/shadow]]). | ||||||||
|
|
||||||||
| #### Text | ||||||||
|
|
||||||||
| - <span class="tag tag-small tag-positive"><span class="tag-status-icon"></span>New</span> Labels have been added to font size text utilities : `.fs-lxl`, `.fs-ll`, `.fs-lm`, `.fs-ls` are now available. | ||||||||
| See [Regular Texts]([[docsref:foundation/typography#regular-texts]]) for more details. | ||||||||
|
Comment on lines
+60
to
+61
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just to have the same phrasing as the others
Suggested change
|
||||||||
|
|
||||||||
|
|
||||||||
| ### CSS and Sass variables | ||||||||
|
|
||||||||
| - <details class="mb-small"> | ||||||||
|
|
||||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is a section at the end of https://deploy-preview-3621--boosted.netlify.app/orange/docs/1.3/foundation/typography/#text-style-for-custom-components explaining how to use label typography references in custom component. This section could be removed since there is now a helper that could be used. The documentation of this mixin is still relevant but it could be explained later in a page we want to create about all useful mixin for creating components.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Issue already open #3423 |
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.
We decided to not generate a
max-widthproperty forlabelref since it was often not needed in components. Thereforeget-font-sizemixin doesn't generate the max-width for this ref. As a result we don't have it either in these helpers. But I think that it should be present in this case for this usage.