Skip to content

Commit

Permalink
Add logo with white background
Browse files Browse the repository at this point in the history
  • Loading branch information
jxnblk committed Feb 27, 2019
1 parent e732b37 commit 14dd728
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 0 deletions.
25 changes: 25 additions & 0 deletions docs/src/LogoWhite.js
@@ -0,0 +1,25 @@
import React from 'react'
import Logo from './Logo'

export default () =>
<svg
xmlns='http://www.w3.org/2000/svg'
viewBox='0 0 640 640'
width={640}
height={640}
style={{
display: 'block',
overflow: 'visible',
color: 'black',
}}>
<rect
fill='white'
width={640}
height={640}
/>
<g transform='translate(64 64)'>
<Logo />
</g>
</svg>


2 changes: 2 additions & 0 deletions docs/src/pages/beep.js
@@ -1,10 +1,12 @@
import React from 'react'
import Hex from '../Hex'
import Logo from '../Logo'
import LogoWhite from '../LogoWhite'
import { Box } from '../components'

export default props =>
<>
<LogoWhite />
<Logo />
<Box
p={4}
Expand Down
Binary file added docs/static/logo-white.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions docs/static/logo-white.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -12,6 +12,7 @@
"build:cjs": "cross-env NODE_ENV=cjs babel src -o dist/index.cjs.js",
"build:esm": "cross-env NODE_ENV=esm babel src -o dist/index.esm.js",
"logo-svg": "scrs docs/src/Logo.js --svg > docs/static/logo.svg",
"logo-white": "scrs docs/src/LogoWhite.js --svg > docs/static/logo-white.svg",
"size": "npx bundlesize",
"cover": "nyc report --reporter=html --reporter=lcov > coverage.lcov",
"codecov": "nyc report --reporter=html --reporter=lcov > coverage.lcov && npx codecov",
Expand Down

0 comments on commit 14dd728

Please sign in to comment.