nandi/oripublic Fork 0
55d4c9e2f7a9027b52846558166f42e50851523a
Commits
Clone
git clone https://git.rickub.com/nandi/ori.git
git clone ssh://git@rickub.com/nandi/ori.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

forked from bots-garden/ori

switch-the-theme.md · 20 lines · 1.3 KBmarkdown
Blame HistoryOpen raw

How to switch between the light and dark themes

This guide shows how to change Ori's colour theme. It assumes Ori is open in your browser (see the getting started tutorial).

Steps

  1. Look at the right of the header, next to ⊞ Workspace: the button switches to the dark theme; once dark, it becomes and switches back to light.
  2. Click it. The whole page follows — conversation, workspace panel, code previews and editor (Monaco switches between its light and vs-dark palettes).

Variants

  • Light is the default. Ori no longer follows the operating system's light/dark preference: the theme is whatever was chosen last in this browser.
  • The choice is remembered per browser (localStorage key ori.theme, values light or dark) and applied before the first paint on the next load. Clearing the site data restores light.
  • The terminal tab keeps a dark background in both themes, like an IDE's integrated terminal.
  • Several browsers connected to the same Ori server each keep their own theme: it is a browser preference, not part of the shared session.

See also

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
# How to switch between the light and dark themes

This guide shows how to change Ori's colour theme. It assumes Ori is open in your browser (see the [getting started tutorial](../tutorials/getting-started.md)).

## Steps

1. Look at the right of the header, next to **⊞ Workspace**: the **☾** button switches to the dark theme; once dark, it becomes **☀** and switches back to light.
2. Click it. The whole page follows — conversation, workspace panel, code previews and editor (Monaco switches between its `light` and `vs-dark` palettes).

## Variants

- Light is the default. Ori no longer follows the operating system's light/dark preference: the theme is whatever was chosen last in this browser.
- The choice is remembered per browser (localStorage key `ori.theme`, values `light` or `dark`) and applied before the first paint on the next load. Clearing the site data restores light.
- The terminal tab keeps a dark background in both themes, like an IDE's integrated terminal.
- Several browsers connected to the same Ori server each keep their own theme: it is a browser preference, not part of the shared session.

## See also

- Why the theme is browser state and not server state: [explanation: architecture](../explanation/architecture.md)
- The other workspace conveniences: [How to use the workspace panel](use-the-workspace.md)