Files
yaak/plugins/themes-yaak/src/themes/high-contrast.ts
T
Gregory Schier b4a1c418bb Run oxfmt across repo, add format script and docs
Add .oxfmtignore to skip generated bindings and wasm-pack output.
Add npm format script, update DEVELOPMENT.md for Vite+ toolchain,
and format all non-generated files with oxfmt.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 10:15:49 -07:00

47 lines
1.2 KiB
TypeScript

import type { Theme } from "@yaakapp/api";
export const highContrast: Theme = {
id: "high-contrast",
label: "High Contrast Light",
dark: false,
base: {
surface: "white",
surfaceHighlight: "hsl(218,24%,93%)",
text: "black",
textSubtle: "hsl(217,24%,40%)",
textSubtlest: "hsl(217,24%,40%)",
border: "hsl(217,22%,50%)",
borderSubtle: "hsl(217,22%,60%)",
primary: "hsl(267,67%,47%)",
secondary: "hsl(218,18%,53%)",
info: "hsl(206,100%,36%)",
success: "hsl(155,100%,26%)",
notice: "hsl(45,100%,31%)",
warning: "hsl(30,99%,34%)",
danger: "hsl(334,100%,35%)",
},
};
export const highContrastDark: Theme = {
id: "high-contrast-dark",
label: "High Contrast Dark",
dark: true,
base: {
surface: "hsl(0,0%,0%)",
surfaceHighlight: "hsl(0,0%,20%)",
text: "hsl(0,0%,100%)",
textSubtle: "hsl(0,0%,90%)",
textSubtlest: "hsl(0,0%,80%)",
selection: "hsl(276,100%,30%)",
surfaceActive: "hsl(276,100%,30%)",
border: "hsl(0,0%,60%)",
primary: "hsl(266,100%,85%)",
secondary: "hsl(242,20%,72%)",
info: "hsl(208,100%,83%)",
success: "hsl(150,100%,63%)",
notice: "hsl(49,100%,77%)",
warning: "hsl(28,100%,73%)",
danger: "hsl(343,100%,79%)",
},
};