Demo content from demo/user-guide (77b8a7e)
This commit is contained in:
parent
c331beabab
commit
38669b0cb1
13 changed files with 220 additions and 50 deletions
1
settings/.order
Normal file
1
settings/.order
Normal file
|
|
@ -0,0 +1 @@
|
|||
appearance
|
||||
4
settings/appearance/.order
Normal file
4
settings/appearance/.order
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
my-settings
|
||||
instance-and-space
|
||||
contrast
|
||||
dark-mode-and-language
|
||||
45
settings/appearance/contrast/index.md
Normal file
45
settings/appearance/contrast/index.md
Normal file
|
|
@ -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*).
|
||||
22
settings/appearance/dark-mode-and-language/index.md
Normal file
22
settings/appearance/dark-mode-and-language/index.md
Normal file
|
|
@ -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.
|
||||
21
settings/appearance/index.md
Normal file
21
settings/appearance/index.md
Normal file
|
|
@ -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
|
||||
45
settings/appearance/instance-and-space/index.md
Normal file
45
settings/appearance/instance-and-space/index.md
Normal file
|
|
@ -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*.
|
||||
45
settings/appearance/my-settings/index.md
Normal file
45
settings/appearance/my-settings/index.md
Normal file
|
|
@ -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.
|
||||
33
settings/index.md
Normal file
33
settings/index.md
Normal file
|
|
@ -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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue