Skip to content

Commit

Permalink
Merge pull request #93 from shandianchengzi/master
Browse files Browse the repository at this point in the history
posts: 增加一条浅色的分隔线。
  • Loading branch information
shandianchengzi committed Jul 11, 2024
2 parents 8881345 + 8491035 commit 6573d09
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions pages/src/components/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export default function Card({ id, href, frontmatter, secHeading = true, body, p

</div>
}
<hr className="my-4 border-skin-lightline" />
</li>
);
}
Expand Down
2 changes: 2 additions & 0 deletions pages/src/styles/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
--color-card: 230, 230, 230;
--color-card-muted: 205, 205, 205;
--color-border: 236, 233, 233;
--color-border-light: 236, 233, 233;
}
html[data-theme="dark"] {
--color-fill: 33, 39, 55;
Expand All @@ -19,6 +20,7 @@
--color-card: 52, 63, 96;
--color-card-muted: 138, 51, 2;
--color-border: 171, 75, 8;
--color-border-light: 63, 61, 60;
}
#sun-svg,
html[data-theme="dark"] #moon-svg {
Expand Down
1 change: 1 addition & 0 deletions pages/tailwind.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ module.exports = {
borderColor: {
skin: {
line: withOpacity("--color-border"),
lightline: withOpacity("--color-border-light"),
fill: withOpacity("--color-text-base"),
accent: withOpacity("--color-accent"),
},
Expand Down

0 comments on commit 6573d09

Please sign in to comment.