How to use the @xstyled/styled-components.h3 function in @xstyled/styled-components

To help you get started, we’ve selected a few @xstyled/styled-components 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 smooth-code / bundle-analyzer / apps / client / src / pages / Owner / Repositories.js View on Github external
Modules
            {stats.modulesNumber}
          
        
        
          
            Assets
            {stats.assets.length}
          
        
      
    
  )
}

const Title = styled.h3`
  font-size: 18;
  font-weight: medium;
`

function PassiveRepositories({ title, repositories }) {
  const owner = useOwner()
  if (!repositories.length) return null
  return (
    <>
      <title>{title}</title>
      {repositories.map(repository =&gt; (
github smooth-code / bundle-analyzer / apps / client / src / components / Card.js View on Github external
import styled from '@xstyled/styled-components'

export const Card = styled.box`
  border-radius: base;
  background-color: gray800;
`

export const CardBody = styled.box`
  padding: 3;
`

export const CardText = styled.p`
  font-size: 13;
`

export const CardTitle = styled.h3`
  font-size: 18;
  font-weight: medium;
  margin: 0;
  color: white;
`

export const CardHeader = styled.headerBox`
  border-bottom: 1;
  border-bottom-color: gray700;
  padding: 2;
`

export const CardFooter = styled.footerBox`
  border-top: 1;
  border-top-color: gray700;
  padding: 2;
github gregberge / gregberge.com / src / components / Card.js View on Github external
outline: 0;
  }
`

export const CardHeader = styled.box`
  padding: 3;
  background-color: light700;
`

export const CardFooter = CardHeader

export const CardBody = styled.box`
  padding: 3;
`

export const CardTitle = styled.h3`
  font-size: 22;
  font-weight: 500;
  margin: 0 0 2;
  color: light100;
`

export const CardText = styled.pBox`
  margin: 0;
  text-align: justify;

  a {
    transition: base;
    border-bottom: 1px dotted;
    border-bottom-color: currentColor;

    &:hover {
github gregberge / gregberge.com / src / containers / Projects.js View on Github external
> svg {
    position: absolute;
    transition: base;
    top: 0;
    width: 118%;
    height: auto;
  }
`

const ProjectLabel = styled.div`
  font-family: monospace;
  font-size: 13;
  color: accent;
`

const ProjectTitle = styled.h3`
  margin: 0;
  font-weight: 500;
  font-size: 22;
  color: lighter;
  margin-bottom: 3;
  margin-right: 3;

  > a {
    transition: base;

    &:hover {
      color: accent;
    }
  }
`
github argos-ci / argos / src / review / pages / Owner / Repositories.js View on Github external
{latestBuild.status}
            
          
        
      
    
  )
}

const Title = styled.h3`
  font-size: 18;
  font-weight: medium;
`

function PassiveRepositories({ title, repositories }) {
  const owner = useOwner()
  if (!repositories.length) return null
  return (
    &lt;&gt;
      <title>{title}</title>
      {repositories.map(repository =&gt; (