mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 19:05:11 +00:00
Major changes: - Migrate browser-extension to use web-ui package (85% code reduction) - Add JailJS content script with ES6+ transform support - Expose DOM constructors (Event, KeyboardEvent, etc.) to JailJS - Support top-level await by wrapping code in async IIFE - Add returnFile() support in JailJS execution - Refactor KeyStore into pluggable storage-adapter pattern - Make ChatPanel configurable with sandboxUrlProvider and additionalTools - Update jailjs to 0.1.1 Files deleted (33 duplicate files): - All browser-extension components, dialogs, state, tools, utils - Now using web-ui versions via @mariozechner/pi-web-ui Files added: - packages/browser-extension/src/content.ts (JailJS content script) - packages/web-ui/src/state/storage-adapter.ts - packages/web-ui/src/state/key-store.ts Browser extension now has only 5 source files (down from 38).
42 lines
1,001 B
CSS
42 lines
1,001 B
CSS
/* Import Claude theme from mini-lit */
|
|
@import "@mariozechner/mini-lit/styles/themes/default.css";
|
|
|
|
/* Tell Tailwind to scan mini-lit components */
|
|
/* biome-ignore lint/suspicious/noUnknownAtRules: Tailwind 4 source directive */
|
|
@source "../../../node_modules/@mariozechner/mini-lit/dist";
|
|
|
|
/* Tell Tailwind to scan web-ui components */
|
|
/* biome-ignore lint/suspicious/noUnknownAtRules: Tailwind 4 source directive */
|
|
@source "../../web-ui/src";
|
|
|
|
/* Import Tailwind */
|
|
/* biome-ignore lint/correctness/noInvalidPositionAtImportRule: fuck you */
|
|
@import "tailwindcss";
|
|
|
|
body {
|
|
font-size: 16px;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
* {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--color-border) rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
*::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
|
|
*::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb {
|
|
background-color: var(--color-border);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb:hover {
|
|
background-color: rgba(0, 0, 0, 0);
|
|
}
|