diff --git a/packages/app/index.html b/packages/app/index.html index d715351..36664fc 100644 --- a/packages/app/index.html +++ b/packages/app/index.html @@ -6,7 +6,7 @@ name="viewport" content="width=device-width, initial-scale=1, interactive-widget=resizes-content, viewport-fit=cover" /> - OpenCode + PentestCode diff --git a/packages/app/src/components/settings-v2/settings-v2.css b/packages/app/src/components/settings-v2/settings-v2.css index baff66c..500edb8 100644 --- a/packages/app/src/components/settings-v2/settings-v2.css +++ b/packages/app/src/components/settings-v2/settings-v2.css @@ -1,5 +1,5 @@ -@import "@opencode-ai/ui/v2/text-input-v2.css"; -@import "@opencode-ai/ui/v2/button-v2.css"; +@import "@pentestcode/ui/v2/text-input-v2.css"; +@import "@pentestcode/ui/v2/button-v2.css"; [data-component="tabs-v2"][data-variant="settings"] { height: 100%; diff --git a/packages/app/src/index.css b/packages/app/src/index.css index 78a9e10..3d6271f 100644 --- a/packages/app/src/index.css +++ b/packages/app/src/index.css @@ -1,6 +1,6 @@ -@import "@opencode-ai/ui/styles/tailwind"; -@import "@opencode-ai/session-ui/styles"; -@import "@opencode-ai/ui/v2/styles/tailwind.css"; +@import "@pentestcode/ui/styles/tailwind"; +@import "@pentestcode/session-ui/styles"; +@import "@pentestcode/ui/v2/styles/tailwind.css"; @import "tw-animate-css"; @font-face { diff --git a/packages/ui/src/assets/favicon/site.webmanifest b/packages/ui/src/assets/favicon/site.webmanifest index 427c3ad..4382920 100644 --- a/packages/ui/src/assets/favicon/site.webmanifest +++ b/packages/ui/src/assets/favicon/site.webmanifest @@ -1,6 +1,6 @@ { - "name": "OpenCode", - "short_name": "OpenCode", + "name": "PentestCode", + "short_name": "PentestCode", "id": "/", "start_url": "/", "scope": "/", diff --git a/packages/ui/src/components/logo.tsx b/packages/ui/src/components/logo.tsx index 35b4e44..4399d3f 100644 --- a/packages/ui/src/components/logo.tsx +++ b/packages/ui/src/components/logo.tsx @@ -32,30 +32,83 @@ export const Splash = (props: Pick, "ref" | "class">) => { } export const Logo = (props: { class?: string }) => { + // Pixel wordmark spelling "pentestcode" on a 6px grid, cell pitch 30. + // The six glyphs shared with the old "opencode" mark (p, e, n, c, o, d) are + // reused verbatim and translated into place; t and s are drawn as rects in + // the same style. "pentest" uses --icon-base, "code" uses --icon-strong-base + // to preserve the original two-tone emphasis. return ( - - - - - - - - - - - - - - - - + {/* p — cell 0 (source cell 30, dx -30) */} + + + + + {/* e — cell 30 (source cell 60, dx -30) */} + + + + + {/* n — cell 60 (source cell 90, dx -30) */} + + + + + {/* t — cell 90 */} + + + + + + + + {/* e — cell 120 (source cell 60, dx +60) */} + + + + + {/* s — cell 150 */} + + + + + + + + {/* t — cell 180 */} + + + + + + + + {/* c — cell 210 (source cell 120, dx +90) */} + + + + + {/* o — cell 240 (source cell 0, dx +240) */} + + + + + {/* d — cell 270 (source cell 180, dx +90) */} + + + + + {/* e — cell 300 (source cell 60, dx +240) */} + + + + ) diff --git a/packages/ui/src/v2/components/wordmark-v2.tsx b/packages/ui/src/v2/components/wordmark-v2.tsx index 182762f..011e6f2 100644 --- a/packages/ui/src/v2/components/wordmark-v2.tsx +++ b/packages/ui/src/v2/components/wordmark-v2.tsx @@ -5,61 +5,104 @@ export function WordmarkV2(props: Pick, "class">) { const mask = createUniqueId() const maskGradient = createUniqueId() + // Pixel wordmark spelling "pentestcode". The six glyphs shared with the old + // "opencode" mark (p, e, n, c, o, d) are reused verbatim and translated into + // place; t and s are drawn as rects in the same 18.46px-grid style. return ( + {/* p — cell 0 */} + {/* e — cell 1 */} + {/* n — cell 2 */} + {/* t — cell 3 */} + + + + + + + + {/* e — cell 4 */} + {/* s — cell 5 */} + + + + + + + + {/* t — cell 6 */} + + + + + + + + {/* c — cell 7 */} + {/* o — cell 8 */} + {/* d — cell 9 */} + {/* e — cell 10 */} - - + + - + @@ -67,7 +110,7 @@ export function WordmarkV2(props: Pick, "class">) { id={filter} x="0" y="0" - width="720.002" + width="996.923" height="130.001" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"