From 094b2c6e59b0b8d14c5a2ce62149dc121439a708 Mon Sep 17 00:00:00 2001 From: John Orgera <65687576+johnoooh@users.noreply.github.com> Date: Wed, 6 May 2026 19:38:05 -0400 Subject: [PATCH 01/17] =?UTF-8?q?feat(design):=20Phase=201=20visual=20syst?= =?UTF-8?q?em=20=E2=80=94=20tokens,=20header,=20privacy=20chip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bridges Tailwind utilities to CSS custom properties in styles/tokens.css (parchment, iris-violet, signal scales + serif/sans/mono families) so both utility classes and inline var() refs share one source of truth. - src/index.css imports tokens.css before @tailwind base - tailwind.config.js: parchment/iris/signal colors, fonts, radii, shadows all read from CSS vars - Header: lowercase serif "iris" + italic tagline + on-device chip + iris-violet "Gemma 2 2B · on-device" pill - PrivacyStatement compressed to chip +
disclosure - Footer absorbs DedicationBanner content as "about iris" disclosure; DedicationBanner.jsx removed (App.jsx no longer imports it) --- src/App.jsx | 2 - src/components/DedicationBanner.jsx | 12 ---- src/components/Footer.jsx | 61 ++++++++++------- src/components/Header.jsx | 49 ++++++++++++- src/components/PrivacyStatement.jsx | 31 +++++++-- src/index.css | 2 + styles/tokens.css | 102 ++++++++++++++++++++++++++++ tailwind.config.js | 60 ++++++++++++---- 8 files changed, 258 insertions(+), 61 deletions(-) delete mode 100644 src/components/DedicationBanner.jsx create mode 100644 styles/tokens.css diff --git a/src/App.jsx b/src/App.jsx index 64ee962..48d966f 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,7 +1,6 @@ import { lazy, Suspense, useState } from 'react' import { QueryClient, QueryClientProvider } from '@tanstack/react-query' import Header from './components/Header' -import DedicationBanner from './components/DedicationBanner' import PrivacyStatement from './components/PrivacyStatement' import SearchForm from './components/SearchForm' import NaturalLanguageInput from './components/NaturalLanguageInput' @@ -69,7 +68,6 @@ function IrisApp() { return (
-
diff --git a/src/components/DedicationBanner.jsx b/src/components/DedicationBanner.jsx deleted file mode 100644 index b3dafb6..0000000 --- a/src/components/DedicationBanner.jsx +++ /dev/null @@ -1,12 +0,0 @@ -export default function DedicationBanner() { - return ( -
-

- Named for{' '} - Iris Long (1934–2026), a - pharmaceutical chemist and ACT-UP activist who dedicated her career to making clinical - trial information accessible to the people who needed it most. -

-
- ) -} diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx index 08ba2c8..2fd1328 100644 --- a/src/components/Footer.jsx +++ b/src/components/Footer.jsx @@ -1,29 +1,42 @@ export default function Footer() { return ( -