From 38669b0cb1582c5f53762b0def30748485b9f4fe Mon Sep 17 00:00:00 2001 From: f451-admin Date: Sat, 3 Oct 2026 08:46:43 +0200 Subject: [PATCH] Demo content from demo/user-guide (77b8a7e) --- .order | 2 +- appearance-and-settings/index.md | 46 ------------------- getting-started/index.md | 2 +- index.md | 2 +- reading-and-navigating/index.md | 2 +- settings/.order | 1 + settings/appearance/.order | 4 ++ settings/appearance/contrast/index.md | 45 ++++++++++++++++++ .../dark-mode-and-language/index.md | 22 +++++++++ settings/appearance/index.md | 21 +++++++++ .../appearance/instance-and-space/index.md | 45 ++++++++++++++++++ settings/appearance/my-settings/index.md | 45 ++++++++++++++++++ settings/index.md | 33 +++++++++++++ 13 files changed, 220 insertions(+), 50 deletions(-) delete mode 100644 appearance-and-settings/index.md create mode 100644 settings/.order create mode 100644 settings/appearance/.order create mode 100644 settings/appearance/contrast/index.md create mode 100644 settings/appearance/dark-mode-and-language/index.md create mode 100644 settings/appearance/index.md create mode 100644 settings/appearance/instance-and-space/index.md create mode 100644 settings/appearance/my-settings/index.md create mode 100644 settings/index.md diff --git a/.order b/.order index b23b6b7..08cf7c0 100644 --- a/.order +++ b/.order @@ -5,6 +5,6 @@ writing-a-page editor-reference templates-and-metadata example-kernel-update -appearance-and-settings +settings ai-agents faq diff --git a/appearance-and-settings/index.md b/appearance-and-settings/index.md deleted file mode 100644 index d2e6d9c..0000000 --- a/appearance-and-settings/index.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -id: appearance-and-settings -title: Appearance and settings -description: Theme, language, and the accounts you connect to f451. -tags: [guide, settings] -lang: en ---- - -# Appearance and settings - -Everything in this page lives under the account menu's **Settings**. - -## Connections - -**Connections** lists your Forgejo and GitHub accounts. Each shows -**Connected** or **Not connected**, with a **Connect** button; an -expired connection shows **Reconnect** instead, and until you reconnect -its spaces stay hidden. **Disconnect** removes a connection. - -This is also where **write access comes from** — see [[getting-started]] -for why a connected account is required before you can edit anything. - -## Appearance - -**Appearance** shows every design value of the interface, grouped by -role, for **Light** and **Dark** mode separately. Changes take effect -immediately, but only in this browser — other people and other devices -do not see them. **Reset group** reverts one group, **Reset everything** -reverts all of it. - -The theme toggle in the top bar switches between light and dark mode at -any time without going into settings. - -## Language - -The language switcher in the top bar lets you choose between **German** -and **English** for the interface. Page content keeps whatever language -it was written in (each page's frontmatter records its own `lang`); -switching the interface language does not translate page content. - -## Personal access tokens - -**Personal access tokens**, further down in settings, is where you -create tokens for external tools — most notably an AI agent connecting -over MCP. See [[ai-agents]] for what such a token is for and what it -lets an agent do. diff --git a/getting-started/index.md b/getting-started/index.md index 912ffb7..5612b29 100644 --- a/getting-started/index.md +++ b/getting-started/index.md @@ -43,4 +43,4 @@ reconnect, spaces from that provider stay hidden. - [[reading-and-navigating]] to find your way around a space - [[writing-a-page]] once your account is connected and you are ready to write -- [[appearance-and-settings]] for theme, language and managing connections later +- [[settings]] for connections and tokens, [[appearance]] for theme and language diff --git a/index.md b/index.md index 5426ecd..7b35adb 100644 --- a/index.md +++ b/index.md @@ -36,7 +36,7 @@ this guide: - [[writing-a-page]] — draft, review, approval, and what happens on a conflict - [[editor-reference]] — formatting, wikilinks, callouts, images, diagrams, video - [[templates-and-metadata]] — starting points for new pages and structured fields -- [[appearance-and-settings]] — theme, language, connected accounts +- [[settings]] — connected accounts, access tokens, and the appearance branch: theme, contrast, dark mode, language - [[ai-agents]] — connecting an AI agent to a space through MCP - [[faq]] — short answers to recurring questions diff --git a/reading-and-navigating/index.md b/reading-and-navigating/index.md index 1c5822f..24c7cab 100644 --- a/reading-and-navigating/index.md +++ b/reading-and-navigating/index.md @@ -19,7 +19,7 @@ Below the page list sit the space's tools, grouped as **Find** (**Search**, **Graph view**, **Link report** — see [[search-and-graph]]) and **Configure** (**Templates**, **Metadata schema**, **Connections**, **Appearance** — see [[templates-and-metadata]] and -[[appearance-and-settings]]). +[[appearance]]). ## Breadcrumbs and the running position diff --git a/settings/.order b/settings/.order new file mode 100644 index 0000000..748e060 --- /dev/null +++ b/settings/.order @@ -0,0 +1 @@ +appearance diff --git a/settings/appearance/.order b/settings/appearance/.order new file mode 100644 index 0000000..524901c --- /dev/null +++ b/settings/appearance/.order @@ -0,0 +1,4 @@ +my-settings +instance-and-space +contrast +dark-mode-and-language diff --git a/settings/appearance/contrast/index.md b/settings/appearance/contrast/index.md new file mode 100644 index 0000000..dff841d --- /dev/null +++ b/settings/appearance/contrast/index.md @@ -0,0 +1,45 @@ +--- +id: contrast +title: Contrast and AA +description: What WCAG AA means, how f451 checks colour pairs, and what the report "Values below AA" is. +tags: [guide, settings, theming, accessibility] +lang: en +--- + +# Contrast and AA + +AA is the middle level of the WCAG (Web Content Accessibility Guidelines), +the standard for accessible websites, which laws such as the German +Barrierefreiheitsstärkungsgesetz also refer to. For colours it defines +how far text and background must differ in lightness — the contrast +ratio. Black on white is 21:1; the same colour on itself would be 1:1. +Text needs at least 4.5:1 (large text 3:1); controls, symbols and borders +at least 3:1. + +## What f451 checks + +On every saved theme, f451 recalculates the contrast for fixed colour +pairs — text on paper, chip text on chip surface, line numbers, focus +ring — separately for light and dark. + +There are two levels. **Below the configured threshold, saving is +refused.** Above it but below AA, a value is a **warning**: it does not +block, but stays visible on the row and appears in the report. + +## The three states at a row + +Every colour row shows the result for its pair: + +- **✓** — meets the threshold. +- **Warning** — above the threshold but below the AA reference. The value + is saved, and the note stays on the row. +- **Error** — below the threshold. In the instance and in a space, saving + is blocked until you fix it. In [[my-settings]] it is only a warning: + nobody else is affected. + +## The report "Values below AA" + +The report is the complete list of values below AA, for everyone who can +change them — and the basis for an accessibility statement. The +thresholds themselves are set by the instance operator (Admin Guide, page +*Theming*). diff --git a/settings/appearance/dark-mode-and-language/index.md b/settings/appearance/dark-mode-and-language/index.md new file mode 100644 index 0000000..17bdd36 --- /dev/null +++ b/settings/appearance/dark-mode-and-language/index.md @@ -0,0 +1,22 @@ +--- +id: dark-mode-and-language +title: Dark mode and language +description: Switching between light and dark mode, and choosing the interface language. +tags: [guide, settings] +lang: en +--- + +# Dark mode and language + +## Dark mode + +The theme toggle in the top bar switches between light and dark mode at +any time without going into settings. In [[my-settings]] every design +value is kept for **Light** and **Dark** separately. + +## Language + +The language switcher in the top bar lets you choose between **German** +and **English** for the interface. Page content keeps whatever language +it was written in (each page's frontmatter records its own `lang`); +switching the interface language does not translate page content. diff --git a/settings/appearance/index.md b/settings/appearance/index.md new file mode 100644 index 0000000..3daa5f1 --- /dev/null +++ b/settings/appearance/index.md @@ -0,0 +1,21 @@ +--- +id: appearance +title: Appearance +description: Theme, contrast, dark mode and language — the look of f451, for you, a space or the whole installation. +tags: [guide, settings, theming] +lang: en +--- + +# Appearance + +This branch of [[settings]] is about the look of f451. The +look of f451 is made of design values (colours, fonts, spacing); you can +change them for yourself, and people with the right permissions can +change them for a space or the whole installation. + +- [[my-settings]] — your personal theme: scope, origin marks, previews, + download and upload, reset +- [[instance-and-space]] — the other scopes, who may write, templates and + brand +- [[contrast]] — what AA means and how f451 checks it +- [[dark-mode-and-language]] — the theme toggle and the interface language diff --git a/settings/appearance/instance-and-space/index.md b/settings/appearance/instance-and-space/index.md new file mode 100644 index 0000000..112c19c --- /dev/null +++ b/settings/appearance/instance-and-space/index.md @@ -0,0 +1,45 @@ +--- +id: instance-and-space +title: Instance and space themes +description: The other theme scopes, who may write them, templates, and the brand (name, logo, favicon). +tags: [guide, settings, theming] +lang: en +--- + +# Instance and space themes + +Besides **My settings** ([[my-settings]]), the **Scope** list offers: + +- **Instance** — the look of the whole installation. +- **Space: …** — one entry for each space your linked account may write + to. A space you can only read is listed as read only. + +A value that is not set is inherited: space from instance, instance from +the default. Your personal theme still wins over both. + +## Who may write + +Instance and space themes are files in their repositories +(`_meta/theme.yaml`). Saving there writes with your linked account and +needs **push right** on that repository. Without it the scope is read +only. **Remove theme** deletes the theme file of the instance or space. +For an instance or space theme, a colour below the contrast threshold +blocks saving; see [[contrast]]. + +## Templates + +The **Template** list above the table starts you from a ready-made set: +the five built-in ones (fokus, klar-warm, system-raster, werkbank, +rotecodefraktion), those of the instance, and in a space those of the +space. Your own values lie on top of the template. **Save as template …** +stores the current values under a name for reuse (not in My settings). + +## Brand + +In the instance and in a space you can set a **name** (it replaces "f451" +in the header and the browser title) and a **logo**; the **favicon** is +instance only. Logo and favicon are SVG files of at most 256 KB. A space +inherits name and logo from the instance unless it sets its own. + +The operator's view — setting up the instance repository, the files, +contrast thresholds and caches — is in the Admin Guide, page *Theming*. diff --git a/settings/appearance/my-settings/index.md b/settings/appearance/my-settings/index.md new file mode 100644 index 0000000..f062cf8 --- /dev/null +++ b/settings/appearance/my-settings/index.md @@ -0,0 +1,45 @@ +--- +id: my-settings +title: My settings +description: Your personal theme — scope, origin marks, previews, download and upload, reset. +tags: [guide, settings, theming] +lang: en +--- + +# My settings + +**Appearance** in settings (`/einstellungen/erscheinungsbild`) shows every +design value of the interface, grouped by role, for **Light** and **Dark** +mode separately. **Reset group** reverts one group to what it inherits. + +## Scope + +The **Scope** list decides whose theme you are editing. **My settings** +is always available: it applies only to you, in every space, on every +device you sign in on, and wins over everything else. The other entries +are described in [[instance-and-space]]. + +## Origin marks + +Each row carries an **origin mark**: *default*, *inherited*, *set here*, +or *template · name* when the value comes from the selected template. +**Reset to default** on a row drops your value for that token. Colour +rows also show a contrast note; see [[contrast]]. + +## Previews + +Changes show up in the page immediately, before you save; nothing leaves +your browser until you press **Save**. + +## Download and upload + +**Download** gives you your theme as a YAML file — the same format as +`_meta/theme.yaml`, so a space can check it in unchanged. **Read file** +loads such a file and saves it as your theme. If this browser still holds +adjustments from before personal themes existed, the page offers once to +take them over. + +## Reset + +**Reset my settings** deletes your personal theme; you then see the +space's or the instance's look again. diff --git a/settings/index.md b/settings/index.md new file mode 100644 index 0000000..7a4c004 --- /dev/null +++ b/settings/index.md @@ -0,0 +1,33 @@ +--- +id: settings +title: Settings +description: Your account settings — connected Git accounts, personal access tokens and the appearance of f451. +tags: [guide, settings] +lang: en +--- + +# Settings + +The account menu (your avatar, top right) opens **Settings**. Two pages live +there: **Connections** for the Git accounts and tokens that act as you, and +**Appearance** for how f451 looks — for you, for a space or for the whole +installation. + +- [[appearance]] — themes, contrast and AA, dark mode and language + +## Connections + +**Connections** lists your Forgejo and GitHub accounts. Each shows +**Connected** or **Not connected**, with a **Connect** button; an +expired connection shows **Reconnect** instead, and until you reconnect +its spaces stay hidden. **Disconnect** removes a connection. + +This is also where **write access comes from** — see [[getting-started]] +for why a connected account is required before you can edit anything. + +## Personal access tokens + +**Personal access tokens**, further down in settings, is where you +create tokens for external tools — most notably an AI agent connecting +over MCP. See [[ai-agents]] for what such a token is for and what it +lets an agent do.