Skip to content

Commit 593b3f2

Browse files
committed
Remove green
1 parent d90e9b0 commit 593b3f2

File tree

5 files changed

+7
-16
lines changed

5 files changed

+7
-16
lines changed

www/components/DocsSidebar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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>

www/components/NavigationBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
>

www/routes/docs/[...slug].tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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>

www/static/styles.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
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%;
@@ -18,9 +15,6 @@
1815
--info: 194deg, 76%, 41%;
1916
}
2017
html[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%;

www/tailwind.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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))",

0 commit comments

Comments
 (0)