Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(web): raise paper state text contrast to WCAG AA

Richie McIlroy3d353adc20ff
diff --git a/apps/web/components/paper-state/paper-state.module.css b/apps/web/components/paper-state/paper-state.module.css
index 9a01d605f..07bc20b04 100644
--- a/apps/web/components/paper-state/paper-state.module.css
+++ b/apps/web/components/paper-state/paper-state.module.css
@@ -1,10 +1,10 @@
.page {
--paper: #fbfaf7;
--ink: #20242c;
- --ink-soft: #8b8f98;
+ --ink-soft: #6b7079;
--accent: #4785ff;
--track: #dcdcd4;
- --error: #e5484d;
+ --error: #ce2c31;
position: relative;
display: flex;
@@ -166,7 +166,7 @@
}
.input::placeholder {
- color: #b4b7bd;
+ color: var(--ink-soft);
}
.input:focus {
diff --git a/apps/web/lib/desktop-session.ts b/apps/web/lib/desktop-session.ts
index 84f4527ae..b1a485c42 100644
--- a/apps/web/lib/desktop-session.ts
+++ b/apps/web/lib/desktop-session.ts
@@ -82,7 +82,7 @@ export function createDesktopRedirectPage(
:root {
--paper: #fbfaf7;
--ink: #20242c;
- --ink-soft: #8b8f98;
+ --ink-soft: #6b7079;
--accent: #4785ff;
--accent-soft: #adc9ff;
--track: #dcdcd4;