Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(css): remove unused CSS file

Steven Enamakelf9dc275010b4
diff --git a/app/src/index.css b/app/src/index.css
index a162cb73fe..8f5b3113da 100644
--- a/app/src/index.css
+++ b/app/src/index.css
@@ -394,12 +394,26 @@
}
/*
- The default border color has changed to `currentcolor` in Tailwind CSS v4,
- so we've added these compatibility styles to make sure everything still
- looks the same as it did with Tailwind CSS v3.
-
- If we ever want to remove these styles, we need to add an explicit border
- color utility to any element that depends on these defaults.
+ Default border colour, for elements that use a bare `border` / `border-t`
+ utility and name no colour of their own.
+
+ Tailwind v4 changed this default to `currentcolor`, which paints a border in
+ the element's *text* colour. The v4 upgrade pinned it back to `gray-200` to
+ keep the v3 look — a fixed light grey. That is subtle in light mode and
+ **bright** in dark mode, because it does not flip: the reasoning bubble, the
+ tool group, popovers, dialogs, markdown tables and the thread-list rail all
+ drew a near-white hairline on a near-black surface.
+
+ It now points at the `--border` token, which is what shadcn's own init writes
+ and what every component pulled from that registry is written against — 18
+ places in `components/assistant-ui/` use a bare border. We ran `shadcn add`
+ but never `shadcn init`, so this rule and the token block in
+ `styles/shadcn-tokens.css` are two halves of the same missing setup.
+
+ Specificity (0,0,0), so any component naming its own border colour still
+ wins — `ui/Alert`, `ui/Badge`, `ui/RadioGroup` and `ui/Table` all do, via
+ their variants. What changes is only the elements that named none, where
+ neither `currentcolor` nor a hardcoded grey was ever a deliberate choice.
*/
@layer base {
*,
@@ -407,7 +421,7 @@
::before,
::backdrop,
::file-selector-button {
- border-color: var(--color-gray-200, currentcolor);
+ border-color: var(--color-border, currentcolor);
}
}
@@ -667,34 +681,6 @@
outline: none !important;
}
- /* Default border colour.
-
- Tailwind v4's preflight leaves `border-color` at `currentColor`, so a bare
- `border` utility paints in the element's *text* colour. shadcn's own init
- overrides that with the `--border` token, and every component pulled from
- the registry is written on that assumption — 18 places in
- `components/assistant-ui/` use a bare `border`, `border-t` or `border-b`
- with no colour: the reasoning bubble, the tool group, popovers, dialogs,
- markdown tables, the thread-list rail. Without this rule each of them drew
- a border in the foreground colour, which is near-white in dark mode and
- near-black in light — bright, and unrelated to the theme.
-
- We ran `shadcn add` but never `shadcn init`, so the token block in
- `styles/shadcn-tokens.css` and this rule both had to be written by hand;
- they are two halves of the same missing setup.
-
- Specificity (0,0,0) means any component naming its own border colour still
- wins — `ui/Alert`, `ui/Badge`, `ui/RadioGroup` and `ui/Table` all do, via
- their variants. What changes is only the elements that named none, where
- `currentColor` was never a deliberate choice. */
- *,
- ::after,
- ::before,
- ::backdrop,
- ::file-selector-button {
- border-color: var(--color-border);
- }
-
/* `@plugin '@tailwindcss/forms'` styles bare `input` / `textarea` / `select`
directly, and two halves of that reset fight the rest of this app.