-
-
Notifications
You must be signed in to change notification settings - Fork 23
Feat/cards typography #72
Conversation
src/ui/atoms/heading.js
Outdated
|
|
||
| export const H1 = styled.h1` | ||
| margin: ${(p) => (p.narrow ? 0 : 3)}rem 0; | ||
| /* margin: ${(p) => (p.narrow ? 0 : 3)}rem 0; */ |
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.
Why commented out?
| import { GlobalStyles } from "./global-styles" | ||
|
|
||
| export const config = { | ||
| base: "14px", |
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.
Why is not rems?
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.
Typographist requires base in pixels. Because pixels is absolute independent unit
| </GridCard> | ||
| </CardBox> | ||
| </CardNarrow> | ||
| <Rhythm> |
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.
Forget to remove rhythm?
| import PropTypes from "prop-types" | ||
| import styled from "styled-components" | ||
| import { above } from "styled-breakpoints" | ||
| import { up } from "@typographist/styled" |
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.
Maybe remove styled-breakpoints from dependencies?
| user-select: none; | ||
| ` | ||
|
|
||
| H4.propTypes = { |
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.
Wouldn't it be better to use flow instead of proptypes?
|
@all-contributors please add @mg901 for design, code |
|
I've put up a pull request to add @mg901! 🎉 |
|
@all-contributors please add @artalar for review |
|
I've put up a pull request to add @artalar! 🎉 |
No description provided.