Skip to content

Commit 7cc6a64

Browse files
committed
feat: add dark mode gradient styling for section titles
1 parent 97a7b55 commit 7cc6a64

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/index.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,13 @@
7474
-webkit-text-fill-color: transparent;
7575
@apply text-4xl md:text-5xl font-bold mb-8;
7676
}
77+
78+
.dark .section-title {
79+
background: linear-gradient(to right, #60a5fa, #38bdf8, #60a5fa);
80+
-webkit-background-clip: text;
81+
background-clip: text;
82+
-webkit-text-fill-color: transparent;
83+
}
7784

7885
.nav-link {
7986
@apply relative text-gray-600 hover:text-primary-600 transition-all duration-300 font-medium;

0 commit comments

Comments
 (0)