This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name AI SDK DevTools Theme Toggle (Light/Dark) | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.2.0 | |
| // @description Add a light/dark toggle button into AI SDK DevTools header | |
| // @match http://localhost:4983/* | |
| // @match http://127.0.0.1:4983/* | |
| // @run-at document-end | |
| // @grant none | |
| // ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { defineConfig, loadEnv } from '@rsbuild/core'; | |
| import { pluginLess } from '@rsbuild/plugin-less'; | |
| import { pluginReact } from '@rsbuild/plugin-react'; | |
| import { getGitHash } from './scripts/lib'; | |
| const { publicVars } = loadEnv({ prefixes: ['VITE_'] }); | |
| // console.log('env', loadEnv()); | |
| export default defineConfig({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .pointer-events-none { pointer-events : none } | |
| .pointer-events-auto { pointer-events : auto } | |
| .visible { visibility : visible } | |
| .invisible { visibility : hidden } | |
| .collapse { visibility : collapse } | |
| .static { position : static } | |
| .fixed { position : fixed } | |
| .absolute { position : absolute } | |
| .relative { position : relative } | |
| .sticky { position : sticky } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Document</title> | |
| <style type="text/css"> | |
| .webview { | |
| height: 945px; |