From 6d08548020a1624149240bab491f76f65351a042 Mon Sep 17 00:00:00 2001 From: Katalina Okano Date: Fri, 9 Jul 2021 04:41:43 -0500 Subject: [PATCH] fix(Editor): editor linting --- .../organisms/help-why-no-roles/WhyNoRoles.styled.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/design-system/organisms/help-why-no-roles/WhyNoRoles.styled.ts b/packages/design-system/organisms/help-why-no-roles/WhyNoRoles.styled.ts index 6b1ba73..54d5671 100644 --- a/packages/design-system/organisms/help-why-no-roles/WhyNoRoles.styled.ts +++ b/packages/design-system/organisms/help-why-no-roles/WhyNoRoles.styled.ts @@ -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}; `;