File tree Expand file tree Collapse file tree 5 files changed +7
-16
lines changed Expand file tree Collapse file tree 5 files changed +7
-16
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export function SidebarCategory(props: {
1111 < li class = "my-2 block" >
1212 < a
1313 href = { href }
14- class = "text-foreground-secondary hover:text-gray-600 aria-[current]:text-fresh-green aria-[current]:hover:underline font-bold"
14+ class = "text-foreground-secondary hover:text-gray-600 aria-[current]:text-info aria-[current]:hover:underline font-bold"
1515 >
1616 { title }
1717 </ a >
@@ -35,7 +35,7 @@ export function SidebarEntry(props: {
3535 < li class = "py-[1px]" >
3636 < a
3737 href = { href }
38- class = "aria-[current]:text-fresh-green aria-[current]:border-green-600 aria-[current]:bg-fresh-green /5 border-l-4 border-transparent px-4 py-0.5 transition-colors hover:text-fresh-green /80 font-normal block"
38+ class = "aria-[current]:text-info aria-[current]:border-info aria-[current]:bg-info /5 border-l-4 border-transparent px-4 py-0.5 transition-colors hover:text-info /80 font-normal block"
3939 >
4040 { title }
4141 </ a >
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export default function NavigationBar(
3131 < li class = "flex items-center" >
3232 < a
3333 href = "https://github.com/bisterix-studio/parley"
34- class = "hover:text-green-600 inline-block transition"
34+ class = "hover:text-info inline-block transition"
3535 aria-label = "GitHub"
3636 target = "_blank"
3737 >
Original file line number Diff line number Diff line change @@ -290,12 +290,12 @@ function ForwardBackButtons(props: {
290290 ? (
291291 < a
292292 href = { prev . href }
293- class = "px-4 py-2 text-left rounded border border-foreground-secondary/20 grid border-solid w-full hover:border-green-600 transition-colors"
293+ class = "px-4 py-2 text-left rounded border border-foreground-secondary/20 grid border-solid w-full hover:border-info transition-colors"
294294 >
295295 < span class = "text-sm text-gray-600 dark:text-gray-500" >
296296 Previous page
297297 </ span >
298- < span class = "text-green-600 font-medium" >
298+ < span class = "text-info font-medium" >
299299 { prev . title }
300300 </ span >
301301 </ a >
@@ -305,12 +305,12 @@ function ForwardBackButtons(props: {
305305 ? (
306306 < a
307307 href = { next . href }
308- class = "px-4 py-2 text-left rounded border border-foreground-secondary/20 grid border-solid w-full hover:border-green-600 transition-colors"
308+ class = "px-4 py-2 text-left rounded border border-foreground-secondary/20 grid border-solid w-full hover:border-info transition-colors"
309309 >
310310 < span class = "text-sm text-gray-600 dark:text-gray-500" >
311311 Next page
312312 </ span >
313- < span class = "text-green-600 font-medium" >
313+ < span class = "text-info font-medium" >
314314 { next . title }
315315 </ span >
316316 </ a >
Original file line number Diff line number Diff line change 44
55/* Light and dark theme variables */
66: root {
7- --fresh : 50deg , 100% , 56% ;
8- --fresh-green : 142deg , 71% , 29% ;
9-
107 --background-primary : 215deg , 100% , 100% ;
118 --background-secondary : 210deg , 29% , 97% ;
129 --background-tertiary : 207deg , 33% , 95% ;
1815 --info : 194deg , 76% , 41% ;
1916}
2017html [data-theme = "dark" ]: root {
21- --fresh : 50deg , 100% , 56% ;
22- --fresh-green : 142deg , 71% , 29% ;
23-
2418 --background-primary : 217deg , 55% , 21% ;
2519 --background-secondary : 217deg , 55% , 25% ;
2620 --background-tertiary : 216deg , 27.7% , 22% ;
Original file line number Diff line number Diff line change @@ -22,9 +22,6 @@ export default {
2222 extend : {
2323 colors : {
2424 // Dark/light with Tailwind done right using CSS variables:
25- "fresh" : "hsla(var(--fresh))" ,
26- "fresh-green" : "hsla(var(--fresh-green))" ,
27-
2825 "background-primary" : "hsla(var(--background-primary))" ,
2926 "background-secondary" : "hsla(var(--background-secondary))" ,
3027 "background-tertiary" : "hsla(var(--background-tertiary))" ,
You can’t perform that action at this time.
0 commit comments