Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ Every published package shares a version — `@single-studio/core`,
`@single-studio/provider-supabase` and the four plugins go out as one release. The
tag is checked against all six manifests, so they cannot drift apart.

## Unreleased

### Changed

- **The board's scrollbars are thin and dark.** The page's own scrollbar was light --
a white track and grey arrows down the side of a dark board -- because the board
declared itself dark on `.ss-control`, and a page's scrollbar follows the root
element. Now every scrollbar on the board, the page's included, is thin, a slate
thumb on a clear track. Set on the root of a page with a board in it only, so
graphics are unchanged. `--ss-scrollbar-thumb` and `--ss-scrollbar-track` on `:root`
set other colours.

## 0.18.0

The board in a font of its own, so it measures the same on every machine, and a top
Expand Down
45 changes: 45 additions & 0 deletions apps/fixture/e2e/smoke.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3407,6 +3407,51 @@ check(
)
check(/^Georgia/.test(boardFont.set) && !/Inter/.test(graphicFont), 'a studio that sets --ss-font gets its own, and graphics keep theirs')

// The board's scrollbars. The page's own was light -- a white track down the side of
// a dark board -- because the dark scheme sat on .ss-control and the viewport's
// scrollbar follows the root. Now thin, slate on dark, set on the root of a page
// with a board in it, which a graphic's page never is.
const scrollbars = await control.evaluate(() => {
const root = getComputedStyle(document.documentElement)
const style = document.createElement('style')

style.textContent = ':root { --ss-scrollbar-thumb: rgb(1, 2, 3); }'
document.head.append(style)
const set = getComputedStyle(document.documentElement).scrollbarColor
style.remove()

return {
scheme: root.colorScheme,
color: root.scrollbarColor,
width: root.scrollbarWidth,
inner: getComputedStyle(document.querySelector('.ss-board')).scrollbarWidth,
set,
}
})
const graphicScrollbars = await (async () => {
const graphic = await context.newPage()

await graphic.goto(`${BASE}/#/source/scoreboard`)
await graphic.waitForSelector('.ss-source')
const root = await graphic.evaluate(() => {
const style = getComputedStyle(document.documentElement)

return { scheme: style.colorScheme, color: style.scrollbarColor, width: style.scrollbarWidth }
})

await graphic.close()
return root
})()
console.log(` board scrollbars: ${JSON.stringify(scrollbars)}; a graphic's: ${JSON.stringify(graphicScrollbars)}`)
check(
scrollbars.scheme === 'dark' && /^rgb\(71, 85, 105\)/.test(scrollbars.color) && scrollbars.width === 'thin' && scrollbars.inner === 'thin',
"the board's scrollbars are thin and dark, the page's own included",
)
check(
/^rgb\(1, 2, 3\)/.test(scrollbars.set) && graphicScrollbars.color === 'auto' && graphicScrollbars.scheme !== 'dark',
"a studio sets their colour on the root, and a graphic keeps the browser's own",
)

// Hovering the top bar reveals the cog and save, and the reveal widened the page for
// its first two frames -- the save button drew 20px past the window -- so a
// scrollbar flashed. Every frame of it is sampled here, and the menu has to open below
Expand Down
10 changes: 10 additions & 0 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -1087,6 +1087,16 @@ board:
}
```

The board's scrollbars are thin and dark. Their colours are properties on the page's
root, since the page's own scrollbar belongs to it:

```css
:root {
--ss-scrollbar-thumb: #475569;
--ss-scrollbar-track: transparent;
}
```

**Graphics keep whatever font you give them**, and with none, the machine's own — the
framework does not choose a font for anything that goes to air. A graphic designed on a
Mac and shown on the Windows PC will draw in a different font unless it names one, so
Expand Down
24 changes: 20 additions & 4 deletions docs/internal/next.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,26 @@ before anything else.
studio that ships one off until it is wanted. E2e: off survives a reload, on
again connects, and an off plugin emits nothing. Open: whether off also hides
the plugin's panel on the board; start without that.
- **`Sequence` in a real OBS.** 0.12.0 shipped it tested only in Chromium. The check
that matters: a browser source with _Refresh browser when scene becomes active_
ticked starts the sequence again from its first item every time the scene is
taken.
- **Where the changelog is published.** Raised by the owner on 2026-11-19 and parked
for the next "where are we at". The repository is public, so `CHANGELOG.md` already
is: the docs site's "Changelog" nav link and the README point at it on GitHub. What
is missing: no GitHub Releases are created, so the Releases tab is empty and
nobody watching the repository hears of a version -- release.yml could publish one
per tag with that version's section of the changelog; the docs site links out to
GitHub rather than having the changelog as a page of its own, which could be
generated at build the way api.md is; and no package ships `CHANGELOG.md` in its
`files`. Releases are the one worth most. (An earlier answer called the repository
private, misreading release.yml's provenance comment; 0.18.0 carries npm
provenance, which is only issued for a public source repository.)
- **Real OBS, for what has only been tested in Chromium.** Each wants one look in
OBS 33, as a browser source or a dock:
- `Sequence`, since 0.12.0: a browser source with _Refresh browser when scene
becomes active_ ticked starts the sequence again from its first item every time
the scene is taken.
- The studio's own bar and the jump list, since 0.17.1: the jump's glide, and the
bar wrapping as the dock is dragged narrower.
- The board's font, since 0.18.0: Inter loads in the dock, and nothing laid out in
Segoe UI now wraps or truncates where it should not.

## Reports from client work, 2026-10-23

Expand Down
26 changes: 26 additions & 0 deletions packages/core/src/styles/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,32 @@
opacity: 1;
}

/*
* The board's scrollbars: thin, a slate thumb on the board's own dark, rather than
* the browser's. The page's own scrollbar was light -- a white track and grey
* arrows down the side of a dark board -- because `color-scheme: dark` sat on
* .ss-control, and the viewport's scrollbar takes its scheme and colours from the
* root element, not from anything inside it. So these go on the root, and only on
* a page with a board in it: a graphic's page never matches, so nothing on air
* changes. `scrollbar-color` inherits, so it reaches every scroller on the board,
* dialogs included; `scrollbar-width` does not, so it is set on them too, at no
* specificity, for a studio to override with anything.
*
* The standard properties rather than ::-webkit-scrollbar: OBS 33's dock is
* Chromium 150, which has them, and where both are set Chromium ignores the
* pseudo-elements anyway. The colours are properties on the root -- the page's
* scrollbar is the root's, so that is where a studio sets them.
*/
:root:has(.ss-control) {
color-scheme: dark;
scrollbar-color: var(--ss-scrollbar-thumb, rgb(71 85 105)) var(--ss-scrollbar-track, transparent);
}

:root:has(.ss-control),
.ss-control :where(*) {
scrollbar-width: thin;
}

/*
* The reveal widened the page for two frames. The tools' overflow turns visible the
* moment the bar is hovered while their max-width is still opening from 0, so for
Expand Down
Loading