Skip to content

Commit

Permalink
chore(ds, apps): update styles
Browse files Browse the repository at this point in the history
  • Loading branch information
josenriagu committed May 14, 2024
1 parent 8699882 commit 2e454a7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react';
import Stack from '@akashaorg/design-system-core/lib/components/Stack';
import ReflectionCard from '@akashaorg/ui-lib-feed/lib/components/cards/reflection-card';
import { type ReflectEntryData } from '@akashaorg/typings/lib/ui';
import Divider from '@akashaorg/design-system-core/lib/components/Divider';

export type PendingReflectProps = {
entryData: ReflectEntryData;
Expand All @@ -11,18 +12,21 @@ export function PendingReflect(props: PendingReflectProps) {
const { entryData } = props;

return (
<Stack
background={{ light: 'secondaryLight/10', dark: 'secondaryDark/10' }}
customStyle="border border(grey8 dark:grey3)"
data-testid="pending-reflect"
>
<ReflectionCard
entryData={entryData}
contentClickable={false}
pending={true}
hidePublishTime={true}
disableActions={true}
/>
</Stack>
<>
<Divider />
<Stack
background={{ light: 'secondaryLight/10', dark: 'secondaryDark/10' }}
customStyle="border border(grey8 dark:grey3) -my-2"
data-testid="pending-reflect"
>
<ReflectionCard
entryData={entryData}
contentClickable={false}
pending={true}
hidePublishTime={true}
disableActions={true}
/>
</Stack>
</>
);
}
2 changes: 1 addition & 1 deletion libs/design-system-core/src/components/Divider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const Divider: React.FC<DividerProps> = ({ customStyle = '' }) => {
return (
<hr
className={tw(
apply`rounded-[1.25rem] h-px w-full border-grey8 dark:border-grey5 ${customStyle}`,
apply`rounded-[1.25rem] h-px w-full border-grey8 dark:border-grey3 ${customStyle}`,
)}
/>
);
Expand Down

0 comments on commit 2e454a7

Please sign in to comment.