File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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" >
Original file line number Diff line number Diff 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 /> }
Original file line number Diff line number Diff 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 } ,
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments