-
-
Notifications
You must be signed in to change notification settings - Fork 23
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 { Routes } from "./routes" | ||
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 rem
s?
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?
@@ -1,7 +1,7 @@ | |||
import React from "react" | |||
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.