Skip to content

Commit

Permalink
fix: Timeline text colours
Browse files Browse the repository at this point in the history
  • Loading branch information
kiosion committed Nov 3, 2023
1 parent 2e4faf6 commit f6fc9a6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion svelte-app/src/components/about/timeline-item.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
}
h2 {
@apply text-lg font-bold text-white;
@apply text-lg font-bold text-dark;
}
div {
Expand All @@ -49,4 +49,10 @@
.body {
@apply -mt-1 pl-8 text-base;
}
:global(.dark) {
h2 {
@apply text-white;
}
}
</style>
8 changes: 7 additions & 1 deletion svelte-app/src/components/about/timeline-section.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

<style lang="scss">
h1 {
@apply mb-3 font-code text-2xl font-bold text-white;
@apply mb-3 font-code text-2xl font-bold text-dark;
}
section {
Expand All @@ -64,4 +64,10 @@
@apply flex flex-col;
}
}
:global(.dark) {
h1 {
@apply text-white;
}
}
</style>

0 comments on commit f6fc9a6

Please sign in to comment.