Themes and branding
For everyone: Appearance
The half-moon button in the top bar opens a quick menu: light, dark or "follow my device", eight favourite themes, and All themes, typefaces & sidebar, which opens the full Appearance panel (a drawer on computers, a bottom sheet on phones):
- Mode: Light, Dark, or Follow my device.
- Your school and you: Default (the platform colours), School colours (when the school has set them), and My colours, where anyone picks their own main and highlight colour.
- 22 themes in five groups, each with a small preview:
| Group | Themes |
|---|---|
| Classic | Ocean Depths, Emerald, Royal, Crimson, Slate, Modern Minimalist |
| Warm | Sunset Boulevard, Golden Hour, Desert Rose, Savanna, Coral Coast |
| Nature | Forest Canopy, Botanical Garden, Lake Victoria |
| Cool | Arctic Frost, Tech Innovation, Midnight Galaxy, Jacaranda |
| Bold | Maasai, Kikoi, Graphite |
- Typeface: Inter (default), Nunito (rounded, friendly for young learners), Plus Jakarta Sans, Outfit, Lexend (designed for easier reading), Atkinson Hyperlegible (easiest to tell letters apart, for low vision) and Source Serif headings with Inter text.
- Sidebar: brand colour, light, or charcoal.
Every theme is contrast-checked: white text on its main colour is at least 7:1 and on its highlight colour at least 4.5:1, in light and dark mode. Page backgrounds and cards pick up a faint tint of the theme. The choices are saved to the person's account and follow them to every device; public pages remember mode, theme and typeface in a cookie.
Which look wins: the person's own choice, then their school's default, then the platform default.
On phones
Below 900px wide, dashboards switch to an app layout. The tab bar along the bottom has three of the
role's most-used pages, a raised New button in the middle that opens quick actions, and More,
which opens every page as tiles with a search box, Appearance, Install the app and Sign out. The bar
hides while scrolling down and returns when scrolling up, and respects iPhone and Android safe areas.
Tabs and quick actions per role are set in core/Layout.php (BOTTOM_NAV, QUICK_ACTIONS); an item
only appears if that role can open the page.
Super Admin → Appearance
The look everyone gets by default:
- Default mode, default theme and default typeface for people who haven't chosen their own.
- Sidebar style: brand colour, light or charcoal.
- Brand colours: the primary colour (headers, sidebar, email banner; choose a darker colour for readable white text) and accent colour (buttons, highlights). Hover shades, tints and dark-mode versions are worked out automatically.
- Let people choose their own mode, theme and typeface: switch off to enforce one look.
- Reset everyone who picked their own look back to these defaults.
School Admin → Brand colours
- The school's primary and accent colours, used on the school website, in every email the school sends, as the "School colours" theme and on the live-chat bubble.
- Default look for your school: the theme and typeface the school's staff, parents and students get until they choose their own. The school website uses this theme too.
- Your app: the name under the icon when people install the school's app.
Logos
Upload two versions of each logo:
| Variant | Use it for | Where it appears |
|---|---|---|
| Light-background logo | Dark-coloured artwork on a transparent background | Light mode, white email headers, documents |
| Dark-background logo | White or light artwork on a transparent background | Dark mode, brand-coloured sidebar and email banners |
- Platform logos: Super Admin → Branding & payments.
- School logos: School Admin → Public website.
Fahari picks the right one automatically for each screen and each email header. If only one is uploaded, it is used everywhere.
For developers: how the stylesheets work
Fahari has two stylesheets, both built from the same design tokens. In 2.1 the additions live in
dev/css/*.css (app-* go into the dashboard sheet, site-* into the public one, both-* into
both); run python3 dev/build_css.py after editing them. The dev/ folder is not needed on the live
server.
| File | Loaded by |
|---|---|
public/assets/css/solvo-app.css |
Every signed-in dashboard (all roles) |
public/assets/css/solvo-site.css |
Marketing site, school websites, sign-in pages, legal pages, installer, docs |
public/assets/css/solvo-chat.css |
Only the chat bubble when embedded on another website (generated) |
Colours are CSS custom properties. Use the semantic tokens, never raw hex values, and light/dark and every theme work automatically:
.my-panel {
background: var(--c-surface);
color: var(--c-text);
border: 1px solid var(--c-border);
}
.my-panel a { color: var(--c-accent-text); }
Key tokens: --c-bg, --c-surface, --c-surface-2, --c-surface-3, --c-border,
--c-border-strong, --c-text, --c-text-2, --c-text-3, --c-primary, --c-accent,
--c-accent-hover, --c-accent-text, --c-success, --c-warning, --c-danger, --c-info (each
with a -text and -soft variant), --shadow-s/m/l, --radius-s/m/l, --font-sans.
1.x variable names (--navy, --orange, --muted …) still work and follow the active theme, so any
custom CSS you wrote for 1.x keeps working.
The <html> element carries data-mode (light, dark, system), data-theme (solvo, a preset
name, school or custom), data-chrome (brand, light or dark) and data-font (inter,
friendly, modern, geometric, readable, accessible, classic). Custom colours are injected as
--brand-primary and --brand-accent; everything else is derived from those two with color-mix().
Each page's <body> has a class such as pg-school-admin-students-index, so a page-specific rule can
be scoped without affecting anything else.