Markdown OKF-Schema Studio

Behaviour SwRS-MDOKFSTUDIO-CORE-086

The published site has one cream look on every page and picture

When a maintainer builds the Pages site, every page and every social picture SHALL use the cream palette of the extension, every page SHALL carry the one site header (the logo and the links Home, Contributing, How we ship, Gallery and Requirements, plus the breadcrumb on the requirements pages), and no page SHALL have a dark palette, a prefers-color-scheme dark rule or a theme switch.

Part of StRS-MDOKFSTUDIO-CORE-008, outside the paths drawn on its map.

Scenarios 4

The situations the tests check; open one to read it.

nominalA main page
Givena page of the site written from Markdown (home, Contributing, How we ship), the Gallery or the Reports index
Whenthe page is written
Thenit takes the cream tokens (background #f5f1e8, text #2b2a27, link #a14e32, border #d6cdbd), carries the site header with the logo and the five links Home, Contributing, How we ship, Gallery and Requirements in that order, and has no dark palette, no prefers-color-scheme dark rule and no theme attribute
nominalA requirements page
Givena page of the requirements viewer
Whenthe page is written
Thenits stylesheet starts with the same cream tokens as the main pages, its header holds the same logo and five links followed by the breadcrumb, the History checkbox and the Search button, and it has no Theme button, no theme script and no stored theme choice
nominalA social card
Givena social picture of a main page, or of the index or of a category of the viewer
Whenthe picture is drawn
Thenits page uses the cream tokens, the headline is in the serif font, and none of the former teal values appears
boundaryA token drifts from the extension
Givena site token whose value differs from its variable in the cream block of the extension's page chrome
Whenthe unit tests run
Thenthe token drift test fails and names the token

Implemented in 1

Tested by 4