mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-17 01:59:08 +00:00
New Logo with Holiday/Celebration variants (#47)
* update branding * update branding
This commit is contained in:
parent
c8adad6c81
commit
8d23accedc
13 changed files with 942 additions and 79 deletions
59
src/design-system/atoms/branding/DynamicBranding.stories.tsx
Normal file
59
src/design-system/atoms/branding/DynamicBranding.stories.tsx
Normal 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>
|
||||
);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue