Skip to content

Commit f4fe0d0

Browse files
One final round of cleanup/fixes
1 parent 7eb4ea8 commit f4fe0d0

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

examples/_components/CopyButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export function CopyButton(props: { text: string }) {
44
type="button"
55
aria-label="Copy code to clipboard"
66
title="Copy"
7-
class="absolute right-2 top-2 transition-colors duration-150 hover:bg-gray-200 text-gray-900 p-2 rounded-md z-10"
7+
class="text-current absolute right-2 top-2 transition-colors duration-150 hover:bg-background-secondary dark:hover:bg-foreground-tertiary p-2 rounded-md z-10"
88
data-copy={props.text}
99
>
1010
<svg class="copy-icon" viewBox="0 0 24 24" width="15" height="15">

examples/_components/LearningList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function LearningList(
1919
data-category={item.type}
2020
>
2121
<a
22-
className="learn-link text-inherit decoration-primary decoration-1 hover:text-primary hover:[&_path]:stroke-primary"
22+
className="flex dark:text-foreground-primary gap-3 items-center font-normal underline-offset-4 text-inherit decoration-0 hover:underline hover:decoration-primary hover:decoration-1 hover:text-primary hover:[&_path]:stroke-primary"
2323
href={item.href}
2424
>
2525
{item.type === "tutorial" && <TutorialIcon />}

examples/_data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export const sidebar = [
113113
title: "Modules and package management",
114114
items: [
115115
{
116-
title: "Use Node.js' built-in modules",
116+
title: "Use Node.js built-in modules",
117117
href: "/examples/node_built_in/",
118118
type: "example",
119119
},

styles.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1650,12 +1650,12 @@
16501650
}
16511651

16521652
.runtime-cta {
1653-
@apply no-underline! text-gray-900! bg-runtime-300 border-0
1653+
@apply no-underline text-gray-900! bg-runtime-300 border-0
16541654
hover:bg-runtime-200;
16551655
}
16561656

16571657
.deploy-cta {
1658-
@apply no-underline! text-gray-900!;
1658+
@apply no-underline text-gray-900!;
16591659
@apply bg-deploy-300 rounded-full border-0 hover:bg-deploy-200;
16601660
}
16611661

0 commit comments

Comments
 (0)