Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes: fix css kebab case warnings #4303

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions apps/web/src/design-system/button/Button.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ export const getOutlineStyles = (theme) => {

return {
border: '1px solid transparent',
background: `${dark ? getGradient(colors.B17) : getGradient(colors.white)} padding-box, ${
colors.horizontal
} border-box`,
background: `${dark ? getGradient(colors.B17) : getGradient(colors.white)} padding-box, ${colors.horizontal
} border-box`,
color: dark ? theme.white : 'transparent',
boxShadow: dark ? shadows.dark : shadows.medium,
};
Expand Down Expand Up @@ -66,7 +65,7 @@ export const getSubtleStyles = (theme) => {
backgroundColor: dark ? theme.white : 'transparent',
backgroundClip: 'none !important',
color: 'transparent',
'-webkit-text-fill-color': 'initial !important',
WebkitTextFillColor: 'initial !important',
},
},
},
Expand All @@ -85,7 +84,7 @@ export const getSubtleStyles = (theme) => {
backgroundColor: dark ? theme.white : 'transparent',
backgroundClip: 'none !important',
color: 'transparent',
'-webkit-text-fill-color': 'initial !important',
WebkitTextFillColor: 'initial !important',
},
},
},
Expand Down
9 changes: 4 additions & 5 deletions apps/web/src/design-system/typography/label/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ export const Label = styled.div<{ gradientColor?: 'red' | 'blue' | 'none' }>`
return (
gradientColor !== 'none' &&
`
background: ${
gradientColor === 'red'
background: ${gradientColor === 'red'
? 'linear-gradient(90deg, #DD2476 0%, #FF512F 100%)'
: 'linear-gradient(0deg, #14deeb 0%, #446edc 100%)'
};
};

-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
WebkitBackgroundClip: text;
WebkitTextFillColor: transparent;
`
);
}};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ function chartStyles(isTriggerSent: boolean, isDark: boolean) {

color: #ff512f;
background: -webkit-linear-gradient(90deg, #dd2476 0%, #ff512f 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
WebkitBackgroundClip: text;
WebkitTextFillColor: transparent;
}
`;
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ const StyledNumber = styled.div<{ isColored: boolean }>`
margin-bottom: 2px;
background: ${({ isColored }: { isColored: boolean }) =>
isColored ? '-webkit-linear-gradient(90deg, #dd2476 0%, #ff512f 100%)' : colors.B60};
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
WebkitBackgroundClip: text;
WebkitTextFillColor: transparent;
`;

const StatsLabel = styled.div<{ isColored: boolean; isDark: boolean }>`
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/pages/integrations/components/CardStatusBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ const ActiveWrapper = styled(SideElementBase)<{ active: boolean }>`
: `${StyledText},
{
background: ${colors.success};
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
WebkitBackgroundClip: text;
WebkitTextFillColor: transparent;
svg {
fill: url(#paint0_linear_1062_464);
}
Expand Down
Loading