Skip to content

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveDarsa committed Oct 10, 2024
1 parent ad1a097 commit c00eabe
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 16 deletions.
11 changes: 7 additions & 4 deletions dist/index.es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 12 additions & 9 deletions dist/index.js

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions src/components/Card/styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ const sharedCardStyles = css`
background-color: ${(props) => props.theme.UI.backgrounds.lagoonCard};
color: ${(props) => props.theme.UI.texts.primary};
box-shadow: 2px 2px 4px 0px #69696933;
border-color: transparent;
border: 1px solid ${(props) => props.theme.UI.borders.card};
border-left: none;
`;

export const LoadingCard = styled(Card)`
Expand Down Expand Up @@ -97,8 +98,10 @@ export const StyledCard = styled(Card)<{ $isMain?: boolean }>`
.ant-card-body {
padding: 0;
min-height: 9.375rem;
border-top: 1px solid ${(props) => props.theme.UI.borders.card};
border-bottom: 1px solid ${(props) => props.theme.UI.borders.card};
border-top: 1px solid
${(props) => (props.$isMain ? props.theme.UI.borders.cardInverted : props.theme.UI.borders.card)};
border-bottom: 1px solid
${(props) => (props.$isMain ? props.theme.UI.borders.cardInverted : props.theme.UI.borders.card)};
border-radius: 0;
& > .lagoon-label {
translate: 0 -3.5rem;
Expand Down
2 changes: 2 additions & 0 deletions src/styles/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export const darkTheme: DefaultTheme = {
borders: {
box: "#D9D9D9",
card:"#fff",
cardInverted:colors.darkGray,
},
highlights: {
selection: "#497ffa",
Expand Down Expand Up @@ -62,6 +63,7 @@ export const lightTheme: DefaultTheme = {
borders: {
box: "#75715E",
card:colors.darkGray,
cardInverted:"#fff",
},
highlights: {
selection: "#497ffa4d",
Expand Down
1 change: 1 addition & 0 deletions src/typings/styled.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export interface UITheme {
borders: {
box: string;
card: string;
cardInverted: string;
};
notification: string;
};
Expand Down

0 comments on commit c00eabe

Please sign in to comment.