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
Binary file added docs/design-preview.html
Binary file not shown.
Binary file added docs/logo-explore.html
Binary file not shown.
Binary file added docs/testudo-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed packages/extension/assets/extracted-raw.png
Binary file not shown.
14 changes: 6 additions & 8 deletions packages/extension/assets/icon-testudo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
125 changes: 85 additions & 40 deletions packages/extension/blocked.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,77 +7,122 @@
<link href="fonts/fonts.css" rel="stylesheet">
<style>
:root {
/* Cipher Terminal — deep carbon foundation */
--bg-void: #07070c;
--bg-app: #0c0c14;
--bg-surface: #12121e;
--bg-surface-hover: #181828;
--bg-elevated: #1a1a2a;

/* Phosphor green — the signal */
--phosphor: #00e599;
--phosphor-dim: #00b377;
--phosphor-glow: rgba(0, 229, 153, 0.12);
--phosphor-faint: rgba(0, 229, 153, 0.06);

/* Severity spectrum */
--danger: #ff3b5c;
--danger-glow: rgba(255, 59, 92, 0.12);
--warning: #ffaa2c;
--warning-glow: rgba(255, 170, 44, 0.12);
--neutral: #4a4a6a;
--neutral-glow: rgba(74, 74, 106, 0.12);

/* Typography */
--text-bright: #f0f0f5;
--text-primary: #c8c8d8;
--text-muted: #6e6e8a;
--text-dim: #3e3e55;
/* Surface stack — 4 elevation layers */
--bg: #0a0a0b;
--surface: #141416;
--surface-raised: #1c1c1f;
--surface-hover: #222226;

/* Borders */
--border-hard: rgba(255, 255, 255, 0.06);
--border-glow: rgba(0, 229, 153, 0.15);
--border: rgba(255, 255, 255, 0.06);
--border-hover: rgba(255, 255, 255, 0.1);
--border-strong: rgba(255, 255, 255, 0.14);

/* Brand — desaturated teal */
--brand: #1a9b8c;
--brand-hover: #26b5a4;
--brand-dim: #0f7268;
--brand-bg: rgba(26, 155, 140, 0.1);
--brand-border: rgba(26, 155, 140, 0.28);

/* Semantic */
--safe: var(--brand);
--safe-bg: var(--brand-bg);
--safe-border: var(--brand-border);
--warn: #f59e0b;
--warn-bg: rgba(245, 158, 11, 0.1);
--warn-border: rgba(245, 158, 11, 0.25);
--danger: #dc2626;
--danger-bg: rgba(220, 38, 38, 0.1);
--danger-border: rgba(220, 38, 38, 0.3);

/* Text hierarchy */
--text-bright: #fafafa;
--text-primary: #e5e5e7;
--text-secondary: #a0a0a8;
--text-muted: #6b6b72;
--text-dim: #5a5a60;

/* Fonts */
--font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
--font-mono: 'Roboto Mono', monospace;
--font-ui: 'Geist', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
--font-mono: 'Geist Mono', ui-monospace, monospace;

/* Radii */
--r-sm: 6px;
--r-md: 8px;
--r-lg: 10px;
--r-xl: 14px;

/* ── Legacy token aliases ──
Preact components in src/components/blocked/ reference these CSS variable
names via inline styles. Map them onto the new token system so the existing
component code renders in the new "Quiet Confidence" style without edits. */
--bg-void: var(--bg);
--bg-app: var(--bg);
--bg-surface: var(--surface);
--bg-surface-hover: var(--surface-hover);
--bg-elevated: var(--surface-raised);

--danger-glow: var(--danger-bg);
--warning: var(--warn);
--warning-glow: var(--warn-bg);

--phosphor: var(--brand);
--phosphor-dim: var(--brand-dim);
--phosphor-glow: var(--brand-bg);
--phosphor-faint: var(--brand-bg);

--border-hard: var(--border);
--border-glow: var(--brand-border);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
html, body {
min-height: 100vh;
background: var(--bg);
}

body {
font-family: var(--font-ui);
background: var(--bg-void);
color: var(--text-primary);
display: flex;
align-items: center;
align-items: flex-start;
justify-content: center;
padding: 96px 24px 64px;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
}

/* Noise texture overlay */
/* 3px danger top strip — signals severity */
body::before {
content: '';
position: fixed;
inset: 0;
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
pointer-events: none;
top: 0;
left: 0;
right: 0;
height: 3px;
background: var(--danger);
z-index: 100;
pointer-events: none;
}

#app {
width: 100%;
max-width: 640px;
padding: 24px;
max-width: 480px;
display: flex;
flex-direction: column;
gap: 20px;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--text-dim); border-radius: 2px; }

:focus-visible {
outline: 1px solid var(--phosphor);
outline: 1px solid var(--brand);
outline-offset: 2px;
}

Expand Down
59 changes: 35 additions & 24 deletions packages/extension/fonts/fonts.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* Material Symbols — icons */
@font-face {
font-family: 'Material Symbols Outlined';
font-style: normal;
Expand All @@ -6,45 +7,55 @@
src: url(material-symbols-outlined.woff2) format('woff2');
}

.material-symbols-outlined {
font-family: 'Material Symbols Outlined';
font-weight: normal;
font-style: normal;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased;
}

/* Geist — variable weight 300-700 */
@font-face {
font-family: 'Inter';
font-family: 'Geist';
font-style: normal;
font-weight: 400 700;
font-weight: 300 700;
font-display: swap;
src: url(inter-latin-ext.woff2) format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
src: url(geist-latin.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
font-family: 'Inter';
font-family: 'Geist';
font-style: normal;
font-weight: 400 700;
font-weight: 300 700;
font-display: swap;
src: url(inter-latin.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
src: url(geist-latin-ext.woff2) format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Geist Mono — variable weight 400-600 */
@font-face {
font-family: 'Roboto Mono';
font-family: 'Geist Mono';
font-style: normal;
font-weight: 400 500;
font-weight: 400 600;
font-display: swap;
src: url(roboto-mono-latin.woff2) format('woff2');
src: url(geist-mono-latin.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.material-symbols-outlined {
font-family: 'Material Symbols Outlined';
font-weight: normal;
@font-face {
font-family: 'Geist Mono';
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased;
font-weight: 400 600;
font-display: swap;
src: url(geist-mono-latin-ext.woff2) format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
Binary file added packages/extension/fonts/geist-latin-ext.woff2
Binary file not shown.
Binary file added packages/extension/fonts/geist-latin.woff2
Binary file not shown.
Binary file not shown.
Binary file added packages/extension/fonts/geist-mono-latin.woff2
Binary file not shown.
Binary file removed packages/extension/fonts/inter-latin-ext.woff2
Binary file not shown.
Binary file removed packages/extension/fonts/inter-latin.woff2
Binary file not shown.
Binary file modified packages/extension/fonts/material-symbols-outlined.woff2
Binary file not shown.
Binary file removed packages/extension/fonts/roboto-mono-latin.woff2
Binary file not shown.
Loading
Loading