diff --git a/documentation/src/components/server-card.tsx b/documentation/src/components/server-card.tsx index e7b3fce54f1a..779b47f71ec9 100644 --- a/documentation/src/components/server-card.tsx +++ b/documentation/src/components/server-card.tsx @@ -11,15 +11,15 @@ export function ServerCard({ server }: { server: MCPServer }) { const [isCommandVisible, setIsCommandVisible] = useState(false); return ( -
-
-
-
-
- + +
+
+
+
+
-
- {server.name} -
- +
{server.name}
+
-
-
-
+
-

{server.description}

-
+
+

{server.description}

+
-
- {server.is_builtin ? ( -
- - Can be enabled in the goose settings page -
- ) : ( - <> - - - {isCommandVisible && ( - - - {`goose session --with-extension "${server.command}"`} - - - )} - - - )} + + Can be enabled in the goose settings page + +
+ ) : ( + <> + + + {isCommandVisible && ( + + + {`goose session --with-extension "${server.command}"`} + + + )} + + + )} +
-
-
- - - {server.githubStars} on Github - -
- {server.is_builtin ? ( -
- Built-in -
- ) : ( - - Install - - - )} +
+ e.stopPropagation()} + > + + {server.githubStars} on Github + +
+ {server.is_builtin ? ( +
+ Built-in +
+ ) : ( + + Install + + + )} +
-
+ ); -} \ No newline at end of file +} diff --git a/documentation/src/css/custom.css b/documentation/src/css/custom.css index 5fb4d9e9e954..dcb36098a045 100644 --- a/documentation/src/css/custom.css +++ b/documentation/src/css/custom.css @@ -48,7 +48,7 @@ --ifm-color-primary-lightest: #3cad6e; --ifm-code-font-size: 95%; --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); - + /* Additional Arcade color system variables */ --background-app: var(--constant-white); --background-prominent: var(--grey-80); @@ -181,8 +181,7 @@ /* video adnomition */ --ifm-color-video-alert-contrast-background: #336e62; --ifm-color-video-alert-contrast-foreground: rgb(216 251 216); - --ifm-color-video-alert-border: #99d5c5 - ; + --ifm-color-video-alert-border: #99d5c5; } /* overrides */ @@ -274,8 +273,59 @@ html[data-theme="light"] .hide-in-light { } .alert--video { - --ifm-alert-background-color: var(--ifm-color-video-alert-contrast-background); + --ifm-alert-background-color: var( + --ifm-color-video-alert-contrast-background + ); --ifm-alert-background-color-highlight: rgba(84, 199, 236, 0.15); - --ifm-alert-foreground-color: var(--ifm-color-video-alert-contrast-foreground); + --ifm-alert-foreground-color: var( + --ifm-color-video-alert-contrast-foreground + ); --ifm-alert-border-color: var(--ifm-color-video-alert-border); -} \ No newline at end of file +} + +.navbar { + border-bottom: 1px solid var(--border-divider); +} + +.navbar__item { + display: flex; + align-items: center; +} + +.iconExternalLink_nPIU { + margin-left: 8px !important; +} + +.mx-auto { + margin-left: auto; + margin-right: auto; +} + +@media (min-width: 1536px) { + .container { + max-width: 1536px; + } +} +@media (min-width: 1280px) { + .container { + max-width: 1280px; + } +} +@media (min-width: 1024px) { + .container { + max-width: 1024px; + } +} +@media (min-width: 768px) { + .container { + max-width: 768px; + } +} +@media (min-width: 640px) { + .container { + max-width: 640px; + } +} +.container { + width: 100%; +} diff --git a/documentation/src/css/extensions.css b/documentation/src/css/extensions.css index 3336b897ecee..485fecb0b04d 100644 --- a/documentation/src/css/extensions.css +++ b/documentation/src/css/extensions.css @@ -45,7 +45,7 @@ transition: all 0.3s ease; } -.server-card:hover { +.server-card.interactive:hover { background-color: transparent; transform: translateY(-2px); } @@ -63,7 +63,7 @@ top: -150px; left: -50px; transform-origin: center; - background: linear-gradient(45deg, #13BBAF, #FF4F00); + background: linear-gradient(45deg, #13bbaf, #ff4f00); animation: rotate 6s linear infinite; z-index: -1; transition: opacity 0.2s; @@ -178,7 +178,8 @@ } .command-content code { - font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; + font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, + "Liberation Mono", "Courier New", monospace; font-size: 0.875rem; } @@ -240,7 +241,7 @@ } .install-button:hover svg { - color: #FA5204; + color: #fa5204; } .built-in-badge { @@ -274,16 +275,16 @@ } /* Dark mode adjustments */ -html[data-theme='dark'] .card { +html[data-theme="dark"] .card { background-color: var(--background-app); border-color: var(--border-subtle); box-shadow: none; } -html[data-theme='dark'] .command-content { +html[data-theme="dark"] .command-content { background-color: rgba(255, 255, 255, 0.05); } -html[data-theme='dark'] .built-in-badge { +html[data-theme="dark"] .built-in-badge { background-color: rgba(255, 255, 255, 0.1); -} \ No newline at end of file +} diff --git a/documentation/src/css/tailwind.css b/documentation/src/css/tailwind.css index bd6213e1dfe6..8619333c1f2e 100644 --- a/documentation/src/css/tailwind.css +++ b/documentation/src/css/tailwind.css @@ -1,3 +1,75 @@ @tailwind base; @tailwind components; -@tailwind utilities; \ No newline at end of file +@tailwind utilities; + +@layer base { + :root { + /* start arcade colors */ + --constant-white: #ffffff; + --constant-black: #000000; + --grey-10: #101010; + --grey-20: #1e1e1e; + --grey-50: #666666; + --grey-60: #959595; + --grey-80: #cccccc; + --grey-85: #dadada; + --grey-90: #e8e8e8; + --grey-95: #f0f0f0; + --dark-grey-15: #1a1a1a; + --dark-grey-25: #232323; + --dark-grey-30: #2a2a2a; + --dark-grey-40: #333333; + --dark-grey-45: #595959; + --dark-grey-60: #878787; + --dark-grey-90: #e1e1e1; + + --background-app: var(--constant-white); + --background-prominent: var(--grey-80); + --background-standard: var(--grey-90); + --background-subtle: var(--grey-95); + + --border-divider: var(--grey-90); + --border-inverse: var(--constant-white); + --border-prominent: var(--grey-10); + --border-standard: var(--grey-60); + --border-subtle: var(--grey-90); + + --icon-disabled: var(--grey-60); + --icon-extra-subtle: var(--grey-60); + --icon-inverse: var(--constant-white); + --icon-prominent: var(--grey-10); + --icon-standard: var(--grey-20); + --icon-subtle: var(--grey-50); + + --text-placeholder: var(--grey-60); + --text-prominent: var(--grey-10); + --text-standard: var(--grey-20); + --text-subtle: var(--grey-50); + + &.dark { + --background-app: var(--constant-black); + --background-prominent: var(--dark-grey-40); + --background-standard: var(--dark-grey-25); + --background-subtle: var(--dark-grey-15); + + --border-divider: var(--dark-grey-25); + --border-inverse: var(--constant-black); + --border-prominent: var(--constant-white); + --border-standard: var(--dark-grey-45); + --border-subtle: var(--dark-grey-25); + + --icon-disabled: var(--dark-grey-45); + --icon-extra-subtle: var(--dark-grey-45); + --icon-inverse: var(--constant-black); + --icon-prominent: var(--constant-white); + --icon-standard: var(--dark-grey-90); + --icon-subtle: var(--dark-grey-60); + + --text-placeholder: var(--dark-grey-45); + --text-prominent: var(--constant-white); + --text-standard: var(--dark-grey-90); + --text-subtle: var(--dark-grey-60); + } + /* end arcade colors */ + } +} diff --git a/documentation/src/pages/extensions/detail.tsx b/documentation/src/pages/extensions/detail.tsx index 665aa91d04d5..32fadf02d743 100644 --- a/documentation/src/pages/extensions/detail.tsx +++ b/documentation/src/pages/extensions/detail.tsx @@ -3,11 +3,11 @@ import { Download, Terminal, Star, ArrowLeft, Info } from "lucide-react"; import { Button } from "@site/src/components/ui/button"; import { Badge } from "@site/src/components/ui/badge"; import { getGooseInstallLink } from "@site/src/utils/install-links"; -import { useLocation } from '@docusaurus/router'; +import { useLocation } from "@docusaurus/router"; import { useEffect, useState } from "react"; import type { MCPServer } from "@site/src/types/server"; import { fetchMCPServers } from "@site/src/utils/mcp-servers"; -import Link from '@docusaurus/Link'; +import Link from "@docusaurus/Link"; function ExtensionDetail({ server }: { server: MCPServer }) { return ( @@ -28,7 +28,6 @@ function ExtensionDetail({ server }: { server: MCPServer }) {
-
@@ -45,12 +44,16 @@ function ExtensionDetail({ server }: { server: MCPServer }) {
-

{server.description}

+

+ {server.description} +

{server.installation_notes && (
-

{server.installation_notes}

+

+ {server.installation_notes} +

)} @@ -79,7 +82,9 @@ function ExtensionDetail({ server }: { server: MCPServer }) { {server.environmentVariables && (
-

Environment Variables

+

+ Environment Variables +

{server.environmentVariables.length > 0 ? (
{server.environmentVariables.map((env) => ( @@ -87,7 +92,9 @@ function ExtensionDetail({ server }: { server: MCPServer }) { key={env.name} className="border-b border-borderSubtle py-4 first:pt-0 last:border-0" > -
{env.name}
+
+ {env.name} +
{env.description}
@@ -162,7 +169,7 @@ export default function DetailPage(): JSX.Element { const servers = await fetchMCPServers(); // Get the ID from the query parameter const params = new URLSearchParams(location.search); - const id = params.get('id'); + const id = params.get("id"); if (!id) { setError("No extension ID provided"); return; @@ -236,7 +243,9 @@ export default function DetailPage(): JSX.Element {
-
{error || "Extension not found"}
+
+ {error || "Extension not found"} +
@@ -247,4 +256,4 @@ export default function DetailPage(): JSX.Element { } return ; -} \ No newline at end of file +} diff --git a/documentation/src/pages/extensions/index.tsx b/documentation/src/pages/extensions/index.tsx index fc8e9ca65973..85772c188a55 100644 --- a/documentation/src/pages/extensions/index.tsx +++ b/documentation/src/pages/extensions/index.tsx @@ -26,7 +26,7 @@ export default function HomePage() { ? await searchMCPServers(trimmedQuery) : await fetchMCPServers(); - console.log('Loaded servers:', results); + console.log("Loaded servers:", results); setServers(results); } catch (err) { const errorMessage = @@ -45,15 +45,19 @@ export default function HomePage() { return ( -
+
-

Browse Extensions

-

Your central directory for discovering and installing extensions.

+

+ Browse Extensions +

+

+ Your central directory for discovering and installing extensions. +

setSearchQuery(e.target.value)} @@ -64,7 +68,7 @@ export default function HomePage() {
{error}
)} -
+

{searchQuery @@ -111,4 +115,4 @@ export default function HomePage() {

); -} \ No newline at end of file +} diff --git a/documentation/tailwind.config.js b/documentation/tailwind.config.js index f21ed4b32cb0..b568a8c0b8d9 100644 --- a/documentation/tailwind.config.js +++ b/documentation/tailwind.config.js @@ -24,9 +24,9 @@ module.exports = { iconSubtle: "var(--icon-subtle)", }, fontFamily: { - sans: ['"Cash Sans"', 'sans-serif'], + sans: ['"Cash Sans"', "sans-serif"], }, }, }, plugins: [], -}; \ No newline at end of file +};