New Logo with Holiday/Celebration variants (#47)

* update branding

* update branding
This commit is contained in:
41666 2020-11-24 00:58:18 -05:00 committed by GitHub
parent c8adad6c81
commit 8d23accedc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 942 additions and 79 deletions

View file

@ -0,0 +1,59 @@
import * as React from 'react';
import ReactTooltip from 'react-tooltip';
import styled from 'styled-components';
import { AllVariants, DynamicLogomark, DynamicLogotype } from './DynamicBranding';
export default {
title: 'Atoms/Branding/Dynamic',
component: DynamicLogotype,
};
const WrapperDiv = styled.div`
background-color: black;
padding: 2em;
`;
const Wrapper = (props: { children: React.ReactNode }) => (
<>
<WrapperDiv>{props.children}</WrapperDiv>
<ReactTooltip />
</>
);
export const DynamicLogotype_ = (args) => {
return (
<Wrapper>
<DynamicLogotype {...args} />
</Wrapper>
);
};
export const DynamicLogomark_ = (args) => {
return (
<Wrapper>
<DynamicLogomark {...args} />
</Wrapper>
);
};
export const AllCustomizedLogotypes = () => {
return (
<Wrapper>
{AllVariants.map((variant, idx) => (
<div key={idx}>
<variant.Logotype height={50} />
</div>
))}
</Wrapper>
);
};
export const AllCustomizedLogomarks = () => {
return (
<Wrapper>
{AllVariants.map((variant, idx) => (
<variant.Logomark key={idx} height={50} />
))}
</Wrapper>
);
};