mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 03:49:11 +00:00
fix(Editor): editor linting
This commit is contained in:
parent
b6172b4af0
commit
6d08548020
1 changed files with 3 additions and 4 deletions
|
@ -40,10 +40,6 @@ export const DiscordRole = styled.div<{
|
||||||
isRoleypoly: boolean;
|
isRoleypoly: boolean;
|
||||||
isGood: boolean;
|
isGood: boolean;
|
||||||
}>`
|
}>`
|
||||||
/* stylelint-disable function-name-case, function-whitespace-after */
|
|
||||||
|
|
||||||
/* Disabled due to postcss bug parsing the below functions as CSS and not a JS interpolation */
|
|
||||||
|
|
||||||
padding: 6px 10px;
|
padding: 6px 10px;
|
||||||
color: ${(props) => numberToChroma(props.discordRole.color).css()};
|
color: ${(props) => numberToChroma(props.discordRole.color).css()};
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
|
@ -70,13 +66,16 @@ const bumpDown = css`
|
||||||
|
|
||||||
export const Dont = styled(GoX)`
|
export const Dont = styled(GoX)`
|
||||||
${bumpDown}
|
${bumpDown}
|
||||||
|
|
||||||
color: ${palette.red400};
|
color: ${palette.red400};
|
||||||
`;
|
`;
|
||||||
export const Do = styled(GoCheck)`
|
export const Do = styled(GoCheck)`
|
||||||
${bumpDown}
|
${bumpDown}
|
||||||
|
|
||||||
color: ${palette.green400};
|
color: ${palette.green400};
|
||||||
`;
|
`;
|
||||||
export const Why = styled(GoQuestion)`
|
export const Why = styled(GoQuestion)`
|
||||||
${bumpDown}
|
${bumpDown}
|
||||||
|
|
||||||
color: ${palette.discord400};
|
color: ${palette.discord400};
|
||||||
`;
|
`;
|
||||||
|
|
Loading…
Add table
Reference in a new issue