-
Notifications
You must be signed in to change notification settings - Fork 7
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
Feautre/261 Heading component review #266
base: develop
Are you sure you want to change the base?
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/snowdog/alpaca-ui/kucp7rpsl |
src/atoms/heading/Heading.scss
Outdated
$headings-font-weight : $font-weight-medium !default; | ||
$headings-line-height : $font-line-height !default; | ||
$headings-color : $color-primary !default; | ||
$headings-text-transform : uppercase !default; |
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.
as I can see it should not be uppercase by default.
src/atoms/heading/Heading.scss
Outdated
$heading-font-size--first-level : $font-size-extra-large !default; | ||
$heading-font-size--second-level\@screen-m: $font-size-extra-large !default; | ||
$heading-font-size--second-level : $font-size-large !default; | ||
$heading-font-size--third-level\@screen-m : $font-size-large !default; |
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.
IMO we should do it as simple as possible. Maybe it would be good do keep 1 size for one heading for now? @anqaka WDYT?
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.
Regarding to UX, I think smaller font-size for h1 and h2 for mobile view is often requested and useful, not sure about h3
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.
ok, lets leave this problem for now
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.
Looks good
No description provided.