How to use the @artsy/reaction/dist/Components/Publishing/Fonts.Fonts.garamond function in @artsy/reaction

To help you get started, we’ve selected a few @artsy/reaction examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github artsy / positron / client / apps / edit / components / message / index.jsx View on Github external
background-color: white;
  max-width: 600px;
  align-self: center;
  padding: 20px 30px;
`

const Header = styled.div`
  ${Fonts.avantgarde('s11')};
  margin-bottom: 10px;
  text-transform: uppercase;
  color: ${p => p.color};
`
Header.displayName = 'Header'

export const Title = styled.h1`
  ${Fonts.garamond('s30')};
  margin-bottom: 15px;
`
Title.displayName = 'Title'

const Description = styled.div`
  ${Fonts.garamond('s19')};
  max-width: 470px;
  line-height: 1.1;
`

const Footer = styled.div`
  display: flex;
  flex-direction: row;
  margin-top: 50px;
  align-items: center;
`
github artsy / positron / client / apps / edit / components / message / index.jsx View on Github external
const Header = styled.div`
  ${Fonts.avantgarde('s11')};
  margin-bottom: 10px;
  text-transform: uppercase;
  color: ${p => p.color};
`
Header.displayName = 'Header'

export const Title = styled.h1`
  ${Fonts.garamond('s30')};
  margin-bottom: 15px;
`
Title.displayName = 'Title'

const Description = styled.div`
  ${Fonts.garamond('s19')};
  max-width: 470px;
  line-height: 1.1;
`

const Footer = styled.div`
  display: flex;
  flex-direction: row;
  margin-top: 50px;
  align-items: center;
`

const ActionsContainer = styled.div`
  margin-right: 20px;
`

const ActionButton = styled.button`
github artsy / positron / client / components / autocomplete2 / list.jsx View on Github external
onClick={() => this.onRemoveItem(i)}
                  />
                
              )
            })}
          
        }
        

      
    )
  }
}

export const ListItem = styled.div`
  ${Fonts.garamond('s17')}
  align-items: center;
  border: 2px solid ${colors.grayRegular};
  color: ${props => props.color ? props.color : colors.purpleRegular};
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  letter-spacing: 0;
  line-height: 26px;
  margin-bottom: 10px;
  overflow: ellipsis;
  padding: 5px 20px 5px 10px;
  position: relative;
  text-transform: none;
`
github artsy / positron / client / apps / edit2 / components / message / index.jsx View on Github external
const Header = styled.div`
  ${Fonts.avantgarde('s11')};
  margin-bottom: 10px;
  text-transform: uppercase;
  color: ${p => p.color};
`
Header.displayName = 'Header'

export const Title = styled.h1`
  ${Fonts.garamond('s30')};
  margin-bottom: 15px;
`
Title.displayName = 'Title'

const Description = styled.div`
  ${Fonts.garamond('s19')};
  max-width: 470px;
  line-height: 1.1;
`

const Footer = styled.div`
  display: flex;
  flex-direction: row;
  margin-top: 50px;
  align-items: center;
`

const ActionsContainer = styled.div`
  margin-right: 20px;
`

const ActionButton = styled.button`
github artsy / positron / client / apps / edit2 / components / message / index.jsx View on Github external
background-color: white;
  max-width: 600px;
  align-self: center;
  padding: 20px 30px;
`

const Header = styled.div`
  ${Fonts.avantgarde('s11')};
  margin-bottom: 10px;
  text-transform: uppercase;
  color: ${p => p.color};
`
Header.displayName = 'Header'

export const Title = styled.h1`
  ${Fonts.garamond('s30')};
  margin-bottom: 15px;
`
Title.displayName = 'Title'

const Description = styled.div`
  ${Fonts.garamond('s19')};
  max-width: 470px;
  line-height: 1.1;
`

const Footer = styled.div`
  display: flex;
  flex-direction: row;
  margin-top: 50px;
  align-items: center;
`