summaryrefslogtreecommitdiffstats
path: root/src/components/PostPreview
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/PostPreview')
-rw-r--r--src/components/PostPreview/PostPreview.module.scss2
-rw-r--r--src/components/PostPreview/PostPreview.tsx3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/components/PostPreview/PostPreview.module.scss b/src/components/PostPreview/PostPreview.module.scss
index 8039a87..8c14000 100644
--- a/src/components/PostPreview/PostPreview.module.scss
+++ b/src/components/PostPreview/PostPreview.module.scss
@@ -48,7 +48,7 @@ h2.title {
.wrapper {
margin: 0;
padding: var(--spacing-sm) var(--spacing-sm) var(--spacing-md);
- border: fun.convert-px(1) solid var(--color-border-light);
+ border: fun.convert-px(1) solid var(--color-primary-dark);
border-radius: fun.convert-px(3);
box-shadow: fun.convert-px(1) fun.convert-px(1) fun.convert-px(1) 0
var(--color-shadow-light),
diff --git a/src/components/PostPreview/PostPreview.tsx b/src/components/PostPreview/PostPreview.tsx
index 3ea4c40..3bf7bdb 100644
--- a/src/components/PostPreview/PostPreview.tsx
+++ b/src/components/PostPreview/PostPreview.tsx
@@ -6,8 +6,7 @@ import styles from './PostPreview.module.scss';
import Image from 'next/image';
import { ButtonLink } from '@components/Buttons';
import { ArrowIcon } from '@components/Icons';
-
-type TitleLevel = 2 | 3 | 4 | 5 | 6;
+import { TitleLevel } from '@ts/types/app';
const PostPreview = ({
post,