Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,11 @@ Corners are gently rounded and stay small: 3px for badges, 6px for chips and tag

## Components

### Logo
- **Form:** a broken X of three square-ended bars beside the CodeXray wordmark (`web/public/brand/`). In the top bar it is drawn 20px tall in the text colour.
- **Colour:** black ink only, never vermilion; vermilion stays reserved for code that goes against a decision.
- **Space:** keep clear space of at least one bar's thickness around it. The mark alone is used only where the lockup cannot fit, such as the favicon and touch icon.

### Buttons
- **Shape:** gently rounded (8px), 40px tall.
- **Primary:** ink ground with paper text, 600 weight. It is the one call to action per view, such as "Open the top exception". A trailing arrow icon nudges 2px right on hover.
Expand Down
2 changes: 1 addition & 1 deletion PRODUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ CodeXray leads with architecture decisions, not warnings. It finds decisions in

## Brand Commitments

- The name is CodeXray. There are no logo or brand assets yet.
- The name is CodeXray. The logo is a broken X mark beside the CodeXray wordmark, in black, and its files are in `web/public/brand/`.
- Voice: calm, factual and evidence-first. State limits openly, report what is healthy as well as what is wrong, and never blame individuals.
- Never guess AI authorship. Code without an explicit AI marker is labelled "no AI signal", never "written by a human".

Expand Down
2 changes: 2 additions & 0 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
content="CodeXray reads a repository’s written and enforced architecture decisions, measures how well the code keeps them over time, and ranks the exceptions worth fixing, with evidence for every claim."
/>
<meta name="theme-color" content="#f2f3ef" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<title>CodeXray</title>
</head>
<body>
Expand Down
Binary file added web/public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions web/public/brand/codexray-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions web/public/brand/codexray-mark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions web/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 20 additions & 20 deletions web/src/components/cx/primitives.tsx

Large diffs are not rendered by default.

9 changes: 1 addition & 8 deletions web/src/components/cx/site-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,8 @@ export function SiteHeader({ current }: { current?: string }) {
return (
<header className="border-b bg-background">
<div className="mx-auto flex min-h-12 max-w-[1320px] flex-wrap items-center gap-x-6 gap-y-1 px-4 py-2 md:flex-nowrap md:py-0 md:px-6">
<Link
to="/"
className={cn(
"flex shrink-0 items-center gap-2 rounded-sm font-semibold tracking-tight",
FOCUS,
)}
>
<Link to="/" className={cn("flex shrink-0 items-center rounded-sm text-foreground", FOCUS)}>
<Logo />
CodeXray
</Link>
<nav
aria-label="Repositories"
Expand Down