Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions ACCESSIBILITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Accessibility

Everyone should be able to read the docs, use the templates and take part here, whether that's with a mouse, a keyboard, a screen reader, a magnifier or a strong coffee and squinting.

The full statement lives at [leanmeanclean.dev/accessibility](https://leanmeanclean.dev/accessibility/). It covers what we aim for (WCAG 2.2 AA in everything we build), the third-party tools the templates ship but we don't build, what we know isn't right yet, and what happens after you tell us.

## Found a barrier?

[Report an accessibility barrier](https://github.com/LeanMeanCleanApps/leanmeancleanapps.github.io/issues/new?template=accessibility_barrier.yml). Tell us where it was and what got in the way. You don't need to quote WCAG at us or tell us anything about yourself, and you'll hear back within 7 days.

If it's in Scalar, Nitro, MCP Inspector, Open WebUI or the Aspire dashboard, tell us anyway. We'll pass it on to the people who can fix it, and find you a workaround in the meantime.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Merging into `main` updates the files that READMEs and NuGet pages link to strai

## Contributing and support

Changes are welcome: see [CONTRIBUTING.md](CONTRIBUTING.md). For help, bugs and ideas, open an issue. Security problems go through the [security policy](https://github.com/LeanMeanCleanApps/.github/blob/main/SECURITY.md), not an issue.
Changes are welcome: see [CONTRIBUTING.md](CONTRIBUTING.md). For help, bugs and ideas, open an issue. Security problems go through the [security policy](https://github.com/LeanMeanCleanApps/.github/blob/main/SECURITY.md), not an issue. If a logo, banner or colour pair gets in someone's way, the [accessibility statement](ACCESSIBILITY.md) says how to tell us. The pairs that pass contrast are on the [colour page](https://leanmeanclean.dev/brand/colour/#contrast).

Everything here is built and maintained by the Lean Mean Clean Apps team, which is [Stephen Walsh](https://github.com/stphnwlsh) for now, with strong coffee and a healthy disregard for pomp and ceremony. If it saves you some time, you can [sponsor the work](https://github.com/sponsors/stphnwlsh).

Expand Down
6 changes: 4 additions & 2 deletions scripts/tokens.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ pre {
const accents = [...templates.map((t) => [t.key, t.name, t.hue]), ['org', 'Lean Mean Clean Apps', 'leaf']];
for (const [key, name, hue] of accents) {
const s = scales[hue];
// Amber 700 is 4.4:1 on a raised card in the light theme, so it takes 800 to pass AA.
const light = s[hue === 'amber' ? 800 : 700];
fs.writeFileSync(
path.join(dir, 'starlight', `${key}.css`),
`${header(`Starlight accent for ${name} (${hue}).`)}
Expand All @@ -99,10 +101,10 @@ pre {

:root[data-theme='light'] {
--sl-color-accent-low: ${s[100]};
--sl-color-accent: ${s[700]};
--sl-color-accent: ${light};
--sl-color-accent-high: ${s[900]};
--sl-color-purple-low: ${s[100]};
--sl-color-purple: ${s[700]};
--sl-color-purple: ${light};
--sl-color-purple-high: ${s[900]};
}
`,
Expand Down
4 changes: 2 additions & 2 deletions tokens/starlight/lambda.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

:root[data-theme='light'] {
--sl-color-accent-low: #FEF3C7;
--sl-color-accent: #B45309;
--sl-color-accent: #92400E;
--sl-color-accent-high: #78350F;
--sl-color-purple-low: #FEF3C7;
--sl-color-purple: #B45309;
--sl-color-purple: #92400E;
--sl-color-purple-high: #78350F;
}
Loading