Contrast and orientation

Make information
visible to everyone.

Appearance and language settings live in the expanded workbench at the bottom. Dark mode and high contrast remain independent and synchronize across Gope apps.

Information:
Without a saved preference, light/dark mode and increased contrast each follow the system setting independently. The operating system’s forced-colors mode retains its own palette.

More than color

Success: SavedNotice: Review neededError: FailedDraft

Status indicators use symbols, text and borders. Errors include a text message; focused controls have a clear outline. This keeps information understandable without relying on particular colors.

Keyboard and motion

Tab navigates between controls. Native dialogs trap focus and close with Escape. The skip link leads straight to content. Reduced-motion settings disable transitions and smooth scrolling.

Style components with classes

---
import '@gope/ui/styles.css';
---
<button class="gp-button">Speichern</button>
<button class="gp-button gp-secondary">Abbrechen</button>
<article class="gp-card stack">Inhalt</article>
<label class="gp-field">Name<input class="gp-input" name="name" /></label>

Use native GDK elements. Legacy Astro wrappers remain compatible.

Button, Badge, Card, Field and Alert accept class and native attributes. Field also supports inputClass and error. App layouts live in @gope/ui/core.css and @gope/ui/docs.css; the foundation lives in @gope/ui/styles.css.

Testable contrast

Automated tests check text/background pairs for at least 4.5:1 contrast in light and dark modes and 7:1 in high contrast. Input borders reach at least 3:1. This is a tested foundation, not a complete accessibility certification. New content and components still need keyboard, screen reader and zoom checks.

Drag to reorder, or use Alt + Left or Right.

Navigation

HomeDocumentationAccessibilityQuickstart

↑↓ navigate↵ open