mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-17 01:59:08 +00:00
chore: update prettier tab width for consistency
This commit is contained in:
parent
a931f8c69c
commit
9b71a24e2d
247 changed files with 7224 additions and 7375 deletions
|
@ -7,72 +7,72 @@ import { Logomark, Logotype } from './Branding';
|
|||
import { AllVariants, DynamicLogomark, DynamicLogotype } from './DynamicBranding';
|
||||
|
||||
export default {
|
||||
title: 'Atoms/Branding/Dynamic',
|
||||
component: DynamicLogotype,
|
||||
title: 'Atoms/Branding/Dynamic',
|
||||
component: DynamicLogotype,
|
||||
};
|
||||
|
||||
const WrapperDiv = styled.div`
|
||||
background-color: ${palette.taupe100};
|
||||
padding: 2em;
|
||||
background-color: ${palette.taupe100};
|
||||
padding: 2em;
|
||||
`;
|
||||
|
||||
const Wrapper = (props: { children: React.ReactNode }) => (
|
||||
<>
|
||||
<WrapperDiv>{props.children}</WrapperDiv>
|
||||
<ReactTooltip />
|
||||
</>
|
||||
<>
|
||||
<WrapperDiv>{props.children}</WrapperDiv>
|
||||
<ReactTooltip />
|
||||
</>
|
||||
);
|
||||
|
||||
export const dynamicLogotype = (args) => {
|
||||
return (
|
||||
<Wrapper>
|
||||
<DynamicLogotype {...args} />
|
||||
</Wrapper>
|
||||
);
|
||||
return (
|
||||
<Wrapper>
|
||||
<DynamicLogotype {...args} />
|
||||
</Wrapper>
|
||||
);
|
||||
};
|
||||
|
||||
export const dynamicLogomark = (args) => {
|
||||
return (
|
||||
<Wrapper>
|
||||
<DynamicLogomark {...args} />
|
||||
</Wrapper>
|
||||
);
|
||||
return (
|
||||
<Wrapper>
|
||||
<DynamicLogomark {...args} />
|
||||
</Wrapper>
|
||||
);
|
||||
};
|
||||
|
||||
export const AllCustomizedLogotypes = () => {
|
||||
return (
|
||||
<Wrapper>
|
||||
<div>
|
||||
<Text>Base Logo</Text>
|
||||
<br />
|
||||
<Logotype height={50} />
|
||||
</div>
|
||||
{AllVariants.map((variant, idx) => (
|
||||
<div key={idx} style={{ marginTop: 5 }}>
|
||||
<Text>{variant.name}</Text>
|
||||
<br />
|
||||
<variant.Logotype height={50} />
|
||||
</div>
|
||||
))}
|
||||
</Wrapper>
|
||||
);
|
||||
return (
|
||||
<Wrapper>
|
||||
<div>
|
||||
<Text>Base Logo</Text>
|
||||
<br />
|
||||
<Logotype height={50} />
|
||||
</div>
|
||||
{AllVariants.map((variant, idx) => (
|
||||
<div key={idx} style={{ marginTop: 5 }}>
|
||||
<Text>{variant.name}</Text>
|
||||
<br />
|
||||
<variant.Logotype height={50} />
|
||||
</div>
|
||||
))}
|
||||
</Wrapper>
|
||||
);
|
||||
};
|
||||
|
||||
export const AllCustomizedLogomarks = () => {
|
||||
return (
|
||||
<Wrapper>
|
||||
<div>
|
||||
<Text>Base Logo</Text>
|
||||
<br />
|
||||
<Logomark height={50} />
|
||||
</div>
|
||||
{AllVariants.map((variant, idx) => (
|
||||
<div key={idx}>
|
||||
<Text>{variant.name}</Text>
|
||||
<br />
|
||||
<variant.Logomark height={50} />
|
||||
</div>
|
||||
))}
|
||||
</Wrapper>
|
||||
);
|
||||
return (
|
||||
<Wrapper>
|
||||
<div>
|
||||
<Text>Base Logo</Text>
|
||||
<br />
|
||||
<Logomark height={50} />
|
||||
</div>
|
||||
{AllVariants.map((variant, idx) => (
|
||||
<div key={idx}>
|
||||
<Text>{variant.name}</Text>
|
||||
<br />
|
||||
<variant.Logomark height={50} />
|
||||
</div>
|
||||
))}
|
||||
</Wrapper>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue