Sha256: 08df45da8fac756092f42124f89d2827ef584c1832e4eb8512d1dd87d72cd320

Contents?: true

Size: 1.45 KB

Versions: 132

Compression:

Stored size: 1.45 KB

Contents

import React from 'react'
import Title from '../../pb_title/_title'
import { Body } from '../../'
import Card from '../_card'

const CardBackground = (props) => {
  return (
    <div>
      <Title
          {...props}
          size={4}
          tag="h4"
          text="Card Colors"
      />

      <br />

      <Card
          background="dark"
          dark
          {...props}
      >
        <Body
            color="lighter"
            text="Dark"
            {...props}
        />
      </Card>

      <br />

      <Card>
        <Body
            text="White"
        />
      </Card>

      <br />

      <Card
          background="light"
          {...props}
      >
        <Body
            text="Light"
        />
      </Card>

      <br />

      <Title
          {...props}
          size={4}
          tag="h4"
          text="Product Colors"
      />

      <br />

      <Card
          background="windows"
          {...props}
      >
        <Body
            color="lighter"
            text="Windows"
            {...props}
        />
      </Card>

      <br />

      <Card
          background="siding"
          {...props}
      >
        <Body
            text="Siding"
            {...props}
        />
      </Card>

      <br />

      <Card
          background="doors"
          {...props}
      >
        <Body
            text="Doors"
            {...props}
        />
      </Card>

      <br />
    </div>
  )
}

export default CardBackground

Version data entries

132 entries across 132 versions & 1 rubygems

Version Path
playbook_ui-12.13.0.pre.alpha.PLAY693tooltipwrongbg440 app/pb_kits/playbook/pb_card/docs/_card_background.jsx
playbook_ui-12.13.0.pre.alpha.PLAY705phonenumberkit438 app/pb_kits/playbook/pb_card/docs/_card_background.jsx
playbook_ui-12.13.0 app/pb_kits/playbook/pb_card/docs/_card_background.jsx
playbook_ui-12.12.0.pre.alpha.PLAY697sandpacklayoutstyles413 app/pb_kits/playbook/pb_card/docs/_card_background.jsx
playbook_ui-12.12.0 app/pb_kits/playbook/pb_card/docs/_card_background.jsx
playbook_ui-12.11.0 app/pb_kits/playbook/pb_card/docs/_card_background.jsx
playbook_ui-12.10.0.pre.alpha.PLAY705phonenumberreturn372 app/pb_kits/playbook/pb_card/docs/_card_background.jsx
playbook_ui-12.10.0.pre.alpha.PLAY677richtexteditorts370 app/pb_kits/playbook/pb_card/docs/_card_background.jsx
playbook_ui-12.10.0 app/pb_kits/playbook/pb_card/docs/_card_background.jsx
playbook_ui-12.9.1.pre.alpha.play664tiptapinvestigation353 app/pb_kits/playbook/pb_card/docs/_card_background.jsx
playbook_ui-12.9.1.pre.alpha.PLAY689bugtxtinputlabel346 app/pb_kits/playbook/pb_card/docs/_card_background.jsx
playbook_ui-12.9.1.pre.alpha.menucleanup345 app/pb_kits/playbook/pb_card/docs/_card_background.jsx
playbook_ui-12.9.1.pre.alpha.menucleanup342 app/pb_kits/playbook/pb_card/docs/_card_background.jsx
playbook_ui-12.9.1 app/pb_kits/playbook/pb_card/docs/_card_background.jsx
playbook_ui-12.9.0 app/pb_kits/playbook/pb_card/docs/_card_background.jsx
playbook_ui-12.8.0.pre.alpha.PLAY625phonenumberdark301 app/pb_kits/playbook/pb_card/docs/_card_background.jsx
playbook_ui-12.8.0.pre.alpha.PLAY625phonenumberdark300 app/pb_kits/playbook/pb_card/docs/_card_background.jsx
playbook_ui-12.8.0.pre.alpha.PLAY649mapkitstyles299 app/pb_kits/playbook/pb_card/docs/_card_background.jsx
playbook_ui-12.8.0.pre.alpha.PLAY645typescriptprogresstep298 app/pb_kits/playbook/pb_card/docs/_card_background.jsx
playbook_ui-12.8.0.pre.alpha.PLAY645typescriptprogresstep297 app/pb_kits/playbook/pb_card/docs/_card_background.jsx