Skip to content

Commit e429304

Browse files
authored
Merge pull request #590 from SolidOS/profileEditA11y
Profile edit a11y
2 parents e641dca + eddd352 commit e429304

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

dev/dev-light.css

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
:root {
1111
/* Background and Text */
1212
--color-background: white;
13-
--color-text: ##1A1A1A;
13+
--color-text: #1A1A1A;
1414
--color-text-secondary: #666;
1515
--color-text-light: #aaa;
1616
--color-text-link: #3B5998;
@@ -29,6 +29,7 @@
2929
--color-border-darker: #444;
3030
--color-border-light: #aaa;
3131
--color-border-pale: #eee;
32+
--color-border-accent: #88c;
3233

3334
/* Status Colors */
3435
--color-selected-bg: #8F3;
@@ -138,16 +139,23 @@
138139
/* Spacing and Sizing */
139140
--spacing-tiny: 0.05em;
140141
--spacing-small: 0.1em;
142+
--spacing-xxxs: 0.2em;
143+
--spacing-xxs: 0.3em;
141144
--spacing-xs: 0.5rem;
142145
--spacing-sm: 0.75em;
146+
--spacing-btn: 0.7em;
143147
--spacing-base: 0.5em;
144148
--spacing-md: 1em;
145149
--spacing-lg: 1.5em;
146150
--spacing-xl: 2em;
147151
--spacing-2xl: 3em;
152+
--border-width-xthin: 0.05em;
153+
--border-width-sm: 0.1em;
148154
--border-width-thin: 1px;
149155
--border-width-medium: 2px;
150156
--border-width-bold: 5px;
157+
--border-radius-xs: 0.1em;
158+
--border-radius-sm: 0.2em;
151159
--border-radius-base: 0.5em;
152160
--border-radius-lg: 0.75em;
153161
--border-radius-full: 1em;
@@ -170,6 +178,12 @@
170178
/* Shadows */
171179
--box-shadow: 0 2px 8px rgba(124,77,255,0.08);
172180
--box-shadow-sm: 0 1px 4px rgba(124,77,255,0.12);
181+
--box-shadow-active: 0 1px 2px rgba(124, 77, 255, 0.2);
182+
--box-shadow-focus: 0 0 0 5px rgba(124, 77, 255, 0.25);
183+
--box-shadow-hover: 0 2px 4px rgba(124, 77, 255, 0.2);
184+
--box-shadow-modal: 0 2px 10px rgba(0, 0, 0, 0.3);
185+
--box-shadow-overlay: 0 4px 24px rgba(0, 0, 0, 0.2);
186+
--box-shadow-popup: 0 0.5em 0.9em rgba(0, 0, 0, 0.2);
173187

174188
/* Accessibility */
175189
--min-touch-target: 44px;
@@ -183,11 +197,13 @@
183197

184198
/* Overlay and Modal */
185199
--overlay-bg: rgba(0, 0, 0, 0.5);
200+
--overlay-bg-muted: rgba(0, 0, 0, 0.3);
186201
--z-index-modal: 9999;
187202
--z-index-skip-links: 1000;
188203

189204
/* Opacity */
190205
--opacity-disabled: 0.6;
206+
--opacity-input-disabled: 0.75;
191207

192208
/* Layout Values */
193209
--max-width-readable: 65ch;

0 commit comments

Comments
 (0)