LordOS — a free, fast and secure GNU/Linux distribution based on Debian, with its own desktop environment: display server and Wayland compositor in C, a React UI engine on QuickJS, and private native apps.
C cdebiandesktop-environmentebpffirewalllandlocklinuxlinux-distributionopen-sourceprivacyquickjsraspberry-pi-5reactsecuritywaylandwayland-compositor
Merge v083-scrollbars (0.8.3)
Federico Pereiraccc359719ab9
diff --cc CHANGELOG.mdindex 9edb12e,6d5ea1c..57ad380--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -12,68 -12,23 +12,82 @@@ of the matching [GitHub release](https:## [0.8.3] - Unreleased+### Added++- **X11 apps.** Programs that only speak X11 (xterm, Java/Swing apps, many games and older tools)+ now open in LordOS through Xwayland (the `xwayland` package), with the theme's window frame, their+ icon in the Dock (matched to their launcher by `WM_CLASS`), menus and tooltips above everything,+ fullscreen, minimize and close, and LordOS's cursor. Xwayland only starts when an X11 app+ connects and stops 10 seconds after the last one closes. LordOS's own X window manager is+ written in C and speaks the X11 protocol itself, without new libraries in `lord-server`.+- **Clipboard with X11 apps**, both ways, for the normal clipboard and the primary selection+ (select to copy, middle click to paste); large copies and images included.+- **Primary selection for Wayland apps** (middle-click paste between GTK, Qt and other apps).+- **Classic, a second full appearance.** The Classic theme is no longer a template: it is a+ complete desktop for people used to a taskbar layout, with the same apps as Lord Default. A+ centered taskbar (or aligned to the start, on any side of the screen) with the start button,+ search, task view, the pinned and open apps and the Trash last; a start menu with a search field+ that searches like the system search (apps, settings, files, notes, the calculator, Help), a grid+ of pinned apps you arrange with a right click, recently used apps, every app A–Z, and the user+ and power button (Lock, Switch User, Log Out, Restart…, Shut Down…); a tray with quick settings+ (network, Bluetooth, Do Not Disturb, Night Light, dark mode, transparency, volume, what is+ playing, battery) and a notification panel with a month calendar; notifications above the+ taskbar; and a window frame with the title at the start and the buttons at the end. Everything+ is our own design: LordOS icons drawn by the theme, Inter, the LordOS wallpapers and names.+ Switch between the two in **Settings → Appearance → Desktop style**, live and without logging+ out: the windows that were open come back in the new one. Light and dark mode, right-to-left+ languages and the accent colors work in both. See [docs/DESIGN.md](docs/DESIGN.md), "Classic".+- **Window snapping.** In Classic, drag a window to the left or right edge to fill that half of the+ screen, to a corner for a quarter, or to the top edge to maximize it; a preview shows where it+ will go. Hovering over the maximize button offers layouts (halves, two thirds and one third,+ thirds, quarters), and Super+arrows move the window in front between them. Dragging a snapped+ window away gives it back its size. See [docs/WINDOWS.md](docs/WINDOWS.md), "Snapping".+- **Task view.** Super+Tab (or the taskbar button) shows every window side by side, live and+ smaller, over a dimmed desktop: click one to bring it to the front, or close it from there.+- **Themes restyle every app.** The shared controls (buttons, fields, segmented controls, sidebars,+ menus, tooltips, grouped forms, confirmations and the Restart/Shut Down sheet) now take their+ shape from the theme: corner radii, a light or accent menu highlight, an accent bar or a fill for+ the selected sidebar row, an underline or a ring on the focused field, and bordered buttons. Lord+ Default looks as before; Classic uses smaller radii, borders and subtle highlights. Isolated+ apps (Mail, Calendar, Contacts, Reminders, Passwords) follow it too.+### Changed+- Settings → Desktop & Dock in Classic adds **Taskbar alignment** (center or start).+- The theme engine paints a scaled window that contains a blurred surface (a translucent+ Terminal) at its scaled size; its blur then only shows the window's own content. Before, such a+ window was drawn at full size during the Dock's minimize effect.+ - **Scroll bars stay out of the way.** Scroll bars across the system are now thin overlay bars+ drawn at the very edge of a list or panel: hidden until you scroll (mouse wheel, touchpad,+ keyboard or dragging the bar) or bring the pointer near the edge, 6 px wide and 10 px under the+ pointer, fading out a second after the last scroll. They no longer take a strip of their own and+ never cover text. Settings → Appearance → **Show scroll bars**: *Automatically* (the default),+ *When scrolling* or *Always* (the persistent bar, for accessibility). With Reduce motion they+ appear and disappear without a fade; in right-to-left languages they are on the left. The+ Classic theme draws them with its own squarer style, and the Terminal's history bar matches.+ - **Monitor → Network: a tidier detail panel.** The right panel's sections (Process, Rule,+ Connections, Data, Ports and protocols, Destinations, and the summary's) fold with a click on+ their header and stay folded the next time. App names in "Top apps by traffic", the app list and+ the panel header wrap to two lines instead of being cut, long destinations wrap too, and the app+ list gives the name more room (the counts moved next to the traffic bar, the Data and Rule+ columns are narrower).+### Security++- X11 apps run in their app's scope, so per-app firewall rules and the Monitor apply to them.+- X11 apps never see Wayland apps, LordOS's screen, Passwords or the keyring prompt, nor the keys+ typed into them; what is copied outside X enters X only while an X window has the keyboard, and+ passwords copied in Passwords never do. Synthetic input between X11 apps (XTEST) is off.+ Xwayland runs without network, in its own scope. X11 apps can still see each other, as in any X11+ desktop (see the privacy documentation).+- Apps with device or "no files" restrictions get no X display.+- Clipboard offers to Wayland apps are bound to the selection they were made for and to the app+ with the keyboard.++### Fixed++- Java (AWT/Swing) windows were blank or shifted (non-reparenting window manager).+## [0.8.2-beta] - 2026-10-19### Addeddiff --cc docs/DESIGN.mdindex dda26e0,425f814..9b817e7--- a/docs/DESIGN.md+++ b/docs/DESIGN.md@@@ -153,77 -153,42 +153,113 @@@ the Recorder draw their empty-state icoright-aligned label column. Measure the pane: under 480 px the labels go above their controls.Lists of editable items (key mappings, triggers, shortcuts) are inset `GroupBox` rows.+## Theme tokens for the shared controls++A theme gives the shared controls (`sdk/components.jsx`, `sdk/controls.jsx`, Settings' `ui.jsx`,+the shell's confirmation and power sheets) their shape through tokens next to the colors+(`sdk/theme.js`, `DEFAULT_TOKENS`). Apps don't read them: they use the controls, so every app takes+the theme's look without changes, and isolated apps receive the same tokens through the broker.++| Token | Lord Default | Classic | What it changes |+|---|---|---|---|+| `controlRadius` / `controlRadiusSmall` | 7 / 6 | 4 / 4 | `Button`, `TextInput`, `SearchField`, `Segmented`, `Stepper`, toolbar buttons, sidebar rows, pop-up buttons |+| `groupRadius` | 10 | 6 | `GroupBox`, Settings' sections and page headers, dialogs (+2) |+| `menuRadius` / `menuItemRadius` | 8 / 5 | 8 / 4 | `MenuButton` menus, pop-up lists, tooltips (`menuRadius − 2`) |+| `menuHighlight` | `'accent'` | `'subtle'` | the hovered menu item: filled with the accent and white text, or a light fill |+| `selection` | `'fill'` | `'indicator'` | the selected `SidebarItem`: an accent fill, or a light fill with a 3 px accent bar at its leading edge |+| `inputFocus` | `'ring'` | `'underline'` | the focused `TextInput`: an accent border, or a 2 px accent line along its bottom |+| `buttonBorder` | `false` | `true` | a 1 px border around neutral buttons and pop-up buttons |+| `popupBg` | `null` (by mode) | its own | the surface of menus, lists and tooltips |++Control heights, spacing and the type scale stay the same in both themes, so layouts don't move+when the user switches.++## Classic++The second full appearance (0.8.3), for people used to a taskbar layout. Same apps, same SDK; only+the frame, the shell and the tokens above change. Our own design: drawn icons (`themes/classic/glyphs.jsx`),+Inter, the LordOS wallpapers and LordOS names, no assets or names from any other system.++| | |+|---|---|+|  |  |+| The desktop: the centered taskbar and a window frame | Start menu: search, pinned, recent, user and power |+|  |  |+| Typing in the start menu searches like the system search | Quick settings, light mode |+|  |  |+| Notifications and the calendar, from the clock | Task view (Super+Tab): live windows, smaller |+|  |  |+| Snap layouts, from the maximize button | Dragging to the left edge: the preview |+|  |  |+| Arabic: the taskbar and the frame mirror | Settings → Appearance → Desktop style |+|  |  |+| Before (0.8.2): the Classic template | After: the start menu in light mode |+|  |  |+| Files in Arabic | Settings in Arabic: the selection bar on the leading edge |++- **Window frame:** a 34 px title bar with the app icon and the title (12 px) at the start and+ 44 × 34 px minimize, maximize/restore and close buttons at the end (close turns red on hover);+ corners of 8 px, square when maximized or snapped; the focused window has a stronger border and+ shadow. In right-to-left languages the engine mirrors the row (buttons at the start).+- **Taskbar:** 48 px (56 px wide on the left or right), a translucent material with the theme's+ blur (none with Transparency off). Buttons are 40 × 40 with a 6 px radius; the running app has a+ short pill below its icon, longer and in the accent color when it is in front. Tooltips after+ 600 ms. The tray ends with a narrow "show desktop" strip.+- **Panels** (start menu 640 × up to 700, quick settings 360, notifications 380): 10 px radius,+ the panel material with a 1 px border, 28 px side insets in the start menu, a footer band+ (`panelFoot`) for the user and power or the battery and Settings.+- **Quick settings tiles:** 48 px high, accent fill when on, a chevron segment that opens the+ matching Settings page.+- **Shortcuts:** Super alone opens the start menu; Super+arrows snap the window in front; Super+Tab+ is the task view; Super+A quick settings; Super+N notifications; Alt+F4 closes the window in front.++Every app in both themes, dark and light, is in [`docs/classic/`](classic/) (`<app>-classic-dark.png`,+`<app>-classic-light.png`, `<app>-default-dark.png`, `<app>-default-light.png`; 28 apps), with+right-to-left samples (`files`, `settings`, `calculator`, `notes`, `mail`: `<app>-<theme>-rtl.png`)+and the shell (`shell-*.png`; `shell-before-*.png` is the 0.8.2 template).++| Classic | Lord Default |+|---|---|+|  |  |+|  |  |+|  |  |++ ## Scroll bars (0.8.3)++ Every scrolling area uses the SDK's `ScrollView`, which draws an **overlay scroll bar**+ (`sdk/components.jsx`, model in `sdk/scrollbar.js`):++ - **Over the content, at the very edge:** a 6 px thumb, 2 px from the end edge of the view (and from+ its top and bottom), widening to 10 px and darkening under the pointer or while dragged. It never+ reserves a strip: **give the content its normal padding** (`contentStyle`, or a padded first+ child) and the bar sits in it. Content that should run to the edge of a card can bleed into the+ card's padding: `style={{ marginHorizontal: -12 }} contentStyle={{ paddingHorizontal: 12 }}`+ (Monitor → Network). At least 12 px of end padding keeps the widened bar off the text.+ - **Hidden until used:** it appears while the view scrolls (wheel, touchpad, a keyboard jump through+ `scrollRef.scrollTo`, dragging the thumb) and, with *Automatically*, when the pointer comes within+ 16 px of the edge; it fades out over 200 ms a second after the last scroll. Settings → Appearance+ → **Show scroll bars**: *Automatically* (default), *When scrolling* (no pointer reveal), *Always*+ (a persistent bar, for accessibility; the 0.8.1 `gutter` prop reserves an 11 px strip only in this+ mode). With **Reduce motion** it shows and hides without the fade.+ - **Hit-testing:** while shown, a 14 px strip at the edge over the thumb takes the pointer, so the+ thumb can be dragged; while hidden it has `pointerEvents: 'none'` and clicks reach the content.+ The fade changes only the thumb's opacity with `lord.setStyle` (no React render per frame).+ - **Direction and themes:** the bar is on the end edge (`end`), so on the left in right-to-left+ languages. The theme styles it with the optional tokens `scrollThumb`, `scrollThumbHover`,+ `scrollRadius` and `scrollThumbBorder` (a pill in Lord Default; the Classic theme's is squarer and+ solid with a hairline). `ThemeProvider` passes the setting (`scrollBars`) and `reduceMotion` with+ the tokens, so isolated apps follow them too.+ - The Terminal's history bar (drawn in C, `term_paint.c`) uses the same size and inset and shows+ only while you look at the history.++ Tests: `tests/scrollbar_model_test.mjs` (geometry, thumb hit-test and drag, show/hide per mode,+ fade timing, reduce motion) and `test_overlay_scrollbar` in `build/engine-test` (painted over the+ content, no strip reserved, never over the text, the strip takes the pointer only while shown,+ the faded opacity, RTL). Screenshots: `scrollbars-network-{light,dark}-{hidden,scrolling}.png`,+ `scrollbars-settings-{light,dark}.png`.++ +## Robustness checklistCheck every pass on the VM with:diff --cc server/tests/engine_test.cindex 149366e,e065cec..886db83--- a/server/tests/engine_test.c+++ b/server/tests/engine_test.c@@@ -777,21 -778,85 +778,98 @@@ static void test_transform_paint_hit(vofor (int x = 100; x < 230; x++) { uint32_t p = pix(x, 61); if (p != 0x00ff00 && p != 0xffffff && p != 0xff0000 && p != 0x000000) soft++; }CHECK(pix(150, 75) == 0x00ff00, "scaled bar at 150%%: %06x", pix(150, 75));CHECK(soft == 0, "blurry row inside the scaled bar at 150%% (%d px)", soft);++ /* a scaled subtree with a backdrop blur inside is still painted scaled (the Classic task view:+ * a translucent Terminal); before, it was painted at full size */+ if (FW != 160) { free(fb); fb = calloc(160 * 100, 4); FW = 160; FH = 100; }+ canvas_init(&frame, fb, 160, 100, 160);+ sn(a, "scaleX", 0.5); sn(a, "scaleY", 0.5);+ sn(b, "scaleX", 1); sn(b, "scaleY", 1); sn(b, "rotate", 90);+ sn(ac, "backgroundColor", 0x800000ff);+ sn(ac, "backdropBlur", 6);+ node_invalidate(a); node_invalidate(ac); node_invalidate(b);+ render(root, 160, 100);+ CHECK(pix(15, 15) == 0xffffff && pix(45, 30) == 0xffffff, "a blurred child kept its box unscaled: %06x %06x", pix(15, 15), pix(45, 30));+ CHECK(pix(35, 35) == 0xff0000, "the scaled box with a blurred child: %06x", pix(35, 35));}+ /* The overlay scroll bar as ScrollView (sdk/components.jsx, sdk/scrollbar.js) builds it: an+ * overflow-hidden view, the content translated inside it with its normal end padding, and over it a+ * 14 px hit strip at the end edge holding the 6 px thumb 2 px from the edge. The bar is painted+ * over the content (no strip reserved), never over the text, takes the pointer only while shown,+ * fades by opacity and goes to the left in RTL. */+ static void test_overlay_scrollbar(void) {+ ui_reset();+ Node *root = view(NULL);+ ui.root = root;+ sn(root, "backgroundColor", 0xffffffff);+ Node *sv = view(root); /* the ScrollView: 200 × 100 */+ ss(sv, "position", "absolute");+ sn(sv, "left", 20); sn(sv, "top", 10); sn(sv, "width", 200); sn(sv, "height", 100);+ ss(sv, "overflow", "hidden");+ Node *in = view(sv); /* content: 400 high, 12 px end padding */+ sn(in, "backgroundColor", 0xffddeeff);+ sn(in, "paddingEnd", 12);+ sn(in, "translateY", -40);+ Node *rows[8], *label = NULL;+ for (int i = 0; i < 8; i++) {+ rows[i] = view(in);+ sn(rows[i], "height", 50);+ ss(rows[i], "flexDirection", "row");+ Node *tx = text(rows[i], "Value 1,234 MB", 12);+ sn(tx, "flexGrow", 1); ss(tx, "textAlign", "end"); ss(tx, "whiteSpace", "nowrap");+ if (i == 1) label = tx;+ }+ /* thumb geometry for view 100 / content 400 / offset 40: track 96, size 24, top 2 + 72 * 40/300 */+ float top = 2 + (96 - 24) * (40.0f / 300.0f);+ Node *strip = view(sv);+ ss(strip, "position", "absolute");+ sn(strip, "end", 0); sn(strip, "top", top); sn(strip, "width", 14); sn(strip, "height", 24);+ Node *thumb = view(strip);+ ss(thumb, "position", "absolute");+ sn(thumb, "end", 2); sn(thumb, "top", 0); sn(thumb, "width", 6); sn(thumb, "height", 24);+ sn(thumb, "borderRadius", 3); sn(thumb, "backgroundColor", 0xff808080); sn(thumb, "opacity", 1);+ render(root, 240, 120);++ int tx = (int)(sv->ax + 200 - 2 - 3), ty = (int)(sv->ay + top + 12); /* the thumb's center */+ CHECK(in->w == 200, "the content keeps the full width (no strip reserved): %g", in->w);+ CHECK(pix(tx, ty) == 0x808080, "thumb painted over the content: %06x", pix(tx, ty));+ CHECK(pix((int)(sv->ax + 199), ty) == 0xddeeff, "2 px inset: the edge shows the content: %06x", pix((int)(sv->ax + 199), ty));+ CHECK(pix((int)(sv->ax + 200 - 8 - 2), ty) == 0xddeeff, "thumb wider than 6 px: %06x", pix((int)(sv->ax + 190), ty));+ CHECK(label && label->ax + label->w <= thumb->ax, "the text (ends at %g) runs under the thumb (starts at %g)",+ label ? label->ax + label->w : -1, thumb->ax);+ CHECK(fabsf(rows[1]->ay - (sv->ay + 50 - 40)) < 0.5f, "content scrolled by translateY: row at %g", rows[1]->ay);+ /* hit testing: the strip takes the pointer (drag), just outside it the content does */+ CHECK(hit_test(root, (float)tx, (float)ty) == thumb || hit_test(root, (float)tx, (float)ty) == strip, "thumb not hit");+ CHECK(hit_test(root, sv->ax + 200 - 13, (float)ty) == strip, "the 14 px strip is not hit at its start");+ CHECK(hit_test(root, sv->ax + 200 - 15, (float)ty) != strip && hit_test(root, sv->ax + 200 - 15, (float)ty) != thumb, "hit outside the strip");+ CHECK(hit_test(root, (float)tx, sv->ay + top + 30) != strip, "hit below the thumb went to the strip");++ /* fading: half opacity blends the thumb with the content */+ sn(thumb, "opacity", 0.5);+ render(root, 240, 120);+ uint32_t p = pix(tx, ty);+ int r = (int)(p >> 16 & 0xff), b = (int)(p & 0xff);+ CHECK(r > 0x90 && r < 0xd0 && b > 0x90 && b < 0xf0, "half-faded thumb: %06x", p);+ /* hidden: opacity 0 and pointerEvents none: nothing painted, the click goes to the content */+ sn(thumb, "opacity", 0);+ ss(strip, "pointerEvents", "none");+ render(root, 240, 120);+ CHECK(pix(tx, ty) == 0xddeeff, "hidden thumb painted: %06x", pix(tx, ty));+ Node *h = hit_test(root, (float)tx, (float)ty);+ CHECK(h != strip && h != thumb, "a hidden bar takes the click");++ /* RTL: the bar is on the left edge */+ sn(thumb, "opacity", 1);+ ss(strip, "pointerEvents", "auto");+ ss(sv, "direction", "rtl");+ node_invalidate(sv);+ render(root, 240, 120);+ CHECK(fabsf(strip->ax - sv->ax) < 0.5f, "RTL strip at the left edge: %g (view at %g)", strip->ax, sv->ax);+ CHECK(pix((int)(sv->ax + 2 + 3), ty) == 0x808080, "RTL thumb painted on the left: %06x", pix((int)(sv->ax + 5), ty));+ CHECK(pix((int)(sv->ax + 200 - 5), ty) != 0x808080, "RTL thumb still on the right");+ }+#endif/* ---- benchmark: a Files-like list and a window drag (docs/DESIGN.md, Engine notes) ---- */diff --cc themes/README.mdindex e0f8bb6,90cf4d9..7c8a597--- a/themes/README.md+++ b/themes/README.md@@@ -67,19 -65,12 +67,23 @@@ Images (`<Image src="assets/...">`) ar(`[{ id, nameKey, name, src, thumb?, category?, variants? }]`; Settings groups them by `category` andshows `thumb` in its grid; add `lordosWallpapers` from the SDK to offer the LordOS collection, anddraw with `wallpaperSrc(w, width, height)` so a higher-resolution variant is used where it exists,- see `assets/wallpapers/README.md`). The theme can add any tokens of its own.+ see `assets/wallpapers/README.md`), and the overlay scroll bars' look (0.8.3, `ScrollView`):+ `scrollThumb`, `scrollThumbHover` (colors), `scrollRadius` (corner radius; a pill by default) and+ `scrollThumbBorder` (a hairline color). `ThemeProvider` adds `scrollBars` and `reduceMotion` from+ the settings, so apps (isolated ones too) follow Settings → Appearance. The theme can add any+ tokens of its own.+Optional shape tokens restyle the SDK's shared controls in every app (see `docs/DESIGN.md`, "Theme+tokens for the shared controls"): `controlRadius`, `controlRadiusSmall`, `groupRadius`, `menuRadius`,+`menuItemRadius`, `menuHighlight` (`'accent'` | `'subtle'`), `selection` (`'fill'` | `'indicator'`),+`inputFocus` (`'ring'` | `'underline'`), `buttonBorder` and `popupBg`. Without them a theme gets Lord+Default's shapes.++Two switches a taskbar theme usually wants: `configureWindows({ snap: true })` turns on window+snapping (drag to the edges, `wm.snap`, `wm.snapKey`, and `snapPreview` to draw the preview; see+`docs/WINDOWS.md`, "Snapping"), and `setBannerPlacement('bottom')` shows notification banners above+a bottom taskbar instead of below a menu bar.+## Native components| Component | What it is |diff --cc themes/classic/tokens.jsindex 8fb6dde,0000000..2d98c0emode 100644,000000..100644--- a/themes/classic/tokens.js+++ b/themes/classic/tokens.js@@@ -1,64 -1,0 +1,67 @@@+// Tokens of the "Classic" theme. The base keys (text, accent, windowBg…) are the contract with the+// apps (sdk/theme.js); the shape keys (controlRadius, menuHighlight, selection, inputFocus,+// buttonBorder, popupBg) restyle the SDK's shared controls, so every app takes this look without+// being changed. The rest belongs to this theme (docs/DESIGN.md, "Classic").+import { lordosWallpapers } from '@lordos/sdk';++// The same names as the default theme's, so the user's accent survives a theme switch.+export const accents = {+ azul: '#2f6fed',+ violeta: '#8b5cf6',+ rosa: '#e11d74',+ naranja: '#ea7a0c',+ verde: '#16a34a',+ grafito: '#6b7280',+};++export const wallpapers = lordosWallpapers;++export function makeTheme({ mode, accent, effects }) {+ const dark = mode === 'dark';+ const glass = effects !== false;+ return {+ mode,+ accent: accents[accent] || accents.azul,+ accents,+ wallpapers,+ effects: glass,+ text: dark ? '#f1f1f4' : '#1b1b20',+ textDim: dark ? 'rgba(241,241,244,0.6)' : 'rgba(27,27,32,0.6)',+ windowBg: dark ? '#202024' : '#fbfbfc',+ sidebarBg: dark ? '#1a1a1e' : '#f2f2f5',+ separator: dark ? 'rgba(255,255,255,0.085)' : 'rgba(0,0,0,0.09)',+ hover: dark ? 'rgba(255,255,255,0.065)' : 'rgba(0,0,0,0.045)',+ control: dark ? '#2c2c32' : '#f4f4f6',+ inputBg: dark ? '#26262b' : '#ffffff',+ radius: 6,+ // shared controls (sdk/theme.js): small radii, bordered buttons, light menu highlight,+ // selection with an accent bar, an accent underline on the focused field+ controlRadius: 4,+ controlRadiusSmall: 4,+ groupRadius: 6,+ menuRadius: 8,+ menuItemRadius: 4,+ menuHighlight: 'subtle',+ selection: 'indicator',+ inputFocus: 'underline',+ buttonBorder: true,+ popupBg: dark ? '#2b2b30' : '#fafafb',+ gtkButtons: ':minimize,maximize,close', // GTK apps: buttons on the right, like this frame++ // overlay scroll bars (sdk/components.jsx ScrollView): a squarer, solid thumb with a hairline++ scrollThumb: dark ? '#55555c' : '#a9a9b1', scrollThumbHover: dark ? '#6a6a72' : '#8e8e97',++ scrollThumbBorder: dark ? '#202024' : '#fbfbfc', scrollRadius: 2,+ // This theme's own:+ titleBg: dark ? '#202024' : '#fbfbfc',+ titleBgBlur: dark ? '#1b1b1f' : '#f1f1f4', // the title bar of a window that isn't in front+ windowBorder: dark ? 'rgba(255,255,255,0.11)' : 'rgba(0,0,0,0.13)',+ closeHover: '#d83b33',+ barBg: dark ? (glass ? 'rgba(30,30,35,0.80)' : '#1e1e23') : (glass ? 'rgba(242,243,246,0.82)' : '#eff0f3'),+ barBorder: dark ? 'rgba(255,255,255,0.08)' : 'rgba(0,0,0,0.08)',+ panelBg: dark ? (glass ? 'rgba(38,38,43,0.88)' : '#26262b') : (glass ? 'rgba(248,248,250,0.90)' : '#f6f6f8'),+ panelFoot: dark ? 'rgba(0,0,0,0.18)' : 'rgba(0,0,0,0.035)',+ tile: dark ? 'rgba(255,255,255,0.06)' : 'rgba(255,255,255,0.75)',+ tileBorder: dark ? 'rgba(255,255,255,0.07)' : 'rgba(0,0,0,0.07)',+ blur: glass ? 28 : 0,+ shadow: dark ? '0 16px 40px rgba(0,0,0,0.55)' : '0 16px 40px rgba(0,0,0,0.22)',+ };+}