mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39: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;
|
||||
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;
|
||||
color: ${(props) => numberToChroma(props.discordRole.color).css()};
|
||||
border-radius: 3px;
|
||||
|
@ -70,13 +66,16 @@ const bumpDown = css`
|
|||
|
||||
export const Dont = styled(GoX)`
|
||||
${bumpDown}
|
||||
|
||||
color: ${palette.red400};
|
||||
`;
|
||||
export const Do = styled(GoCheck)`
|
||||
${bumpDown}
|
||||
|
||||
color: ${palette.green400};
|
||||
`;
|
||||
export const Why = styled(GoQuestion)`
|
||||
${bumpDown}
|
||||
|
||||
color: ${palette.discord400};
|
||||
`;
|
||||
|
|
Loading…
Add table
Reference in a new issue