Skip to content

Commit 8cc9e17

Browse files
committed
style: gray-reddish crosses for issues, blue checkmarks for benefits
1 parent b1043b9 commit 8cc9e17

File tree

4 files changed

+39
-30
lines changed

4 files changed

+39
-30
lines changed

.parcel-cache/data.mdb

60 KB
Binary file not shown.

.parcel-cache/lock.mdb

0 Bytes
Binary file not shown.

.pugrc

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"js_warning": "Implementation Overhead: Manual ARIA state management, keyboard event handling, focus management, and screen reader compatibility.",
1818
"js_content1": "Custom collapsible implementations require comprehensive event handling, state synchronization across components, and careful attention to accessibility requirements including proper ARIA attributes and keyboard navigation patterns.",
1919
"js_content2": "Managing state across multiple collapsible sections introduces complexity in event coordination, memory management, and performance optimization, particularly when dealing with dynamic content loading.",
20-
"js_cons_title": "Issues: Architecture Complexity:",
20+
"js_cons_title": "Issues · Architecture Complexity:",
2121
"js_cons": [
2222
"Event delegation and memory leak prevention",
2323
"ARIA state synchronization and keyboard trap management",
@@ -32,7 +32,7 @@
3232
"native_enhancement_content": "Starting with functional HTML ensures graceful degradation across all environments. CSS and JavaScript become enhancement layers rather than functional requirements, improving reliability and reducing technical debt.",
3333
"native_performance_title": "Performance Characteristics",
3434
"native_performance_content": "Native elements eliminate bundle size overhead, reduce runtime memory consumption, and leverage browser optimizations unavailable to custom implementations. Hardware acceleration and efficient event handling come built-in.",
35-
"native_pros_title": "Benefits: Platform Advantages:",
35+
"native_pros_title": "Benefits · Platform Advantages:",
3636
"native_pros": [
3737
"Zero JavaScript footprint with full accessibility compliance",
3838
"Browser-native performance optimizations and hardware acceleration",
@@ -49,7 +49,7 @@
4949
"js_modal_content": "This approach requires managing the modal stack, preventing background interaction, coordinating focus management, and ensuring proper cleanup to avoid memory leaks and accessibility violations.",
5050
"js_modal_issue": "Critical Issue: Background content remains accessible to screen readers and keyboard navigation without explicit inert management.",
5151
"js_modal_close": "Close Modal",
52-
"js_cons_title": "Issues: Implementation Challenges:",
52+
"js_cons_title": "Issues · Implementation Challenges:",
5353
"js_cons": [
5454
"Focus trap implementation and restoration complexity",
5555
"Modal stack management and z-index coordination",
@@ -63,7 +63,7 @@
6363
"native_dialog_content": "The HTML5 dialog element provides robust modal functionality with automatic focus management, backdrop interaction handling, and proper accessibility semantics built into the browser engine.",
6464
"native_dialog_advantage": "Key Advantage: Background content becomes automatically inert, preventing interaction and screen reader access without additional implementation.",
6565
"native_dialog_close": "Close Dialog",
66-
"native_pros_title": "Benefits: Engine-Level Features:",
66+
"native_pros_title": "Benefits · Engine-Level Features:",
6767
"native_pros": [
6868
"Automatic focus trapping with proper restoration",
6969
"Built-in ESC key handling and backdrop click support",
@@ -80,7 +80,7 @@
8080
"js_regex_label": "Pattern Matching (UUID)",
8181
"js_regex_error": "UUID format required: 8-4-4-4-12 hex digits",
8282
"js_submit": "Validate Form",
83-
"js_cons_title": "Issues: Validation Brittleness:",
83+
"js_cons_title": "Issues · Validation Brittleness:",
8484
"js_cons": [
8585
"Regex patterns miss edge cases and internationalization",
8686
"Error timing and accessibility announcement coordination",
@@ -97,7 +97,7 @@
9797
"native_api_label": "API Endpoint URL",
9898
"native_api_placeholder": "https://api.example.org/v1",
9999
"native_submit": "Submit Form",
100-
"native_pros_title": "Benefits: Specification Compliance:",
100+
"native_pros_title": "Benefits · Specification Compliance:",
101101
"native_pros": [
102102
"RFC-compliant validation patterns with internationalization",
103103
"Automatic error messaging in user's preferred language",
@@ -111,7 +111,7 @@
111111
"js_warning": "Accessibility Gap: No semantic meaning without explicit ARIA implementation and screen reader progress announcements.",
112112
"js_text": "Build Progress:",
113113
"js_button": "Start Build Process",
114-
"js_cons_title": "Issues: Semantic Limitations:",
114+
"js_cons_title": "Issues · Semantic Limitations:",
115115
"js_cons": [
116116
"No inherent semantic meaning for assistive technologies",
117117
"Manual ARIA live region management for progress updates",
@@ -126,7 +126,7 @@
126126
"native_indeterminate_text": "Processing dependencies...",
127127
"native_dynamic": "Dynamic Progress:",
128128
"native_button": "Start Process",
129-
"native_pros_title": "Benefits: Semantic Advantages:",
129+
"native_pros_title": "Benefits · Semantic Advantages:",
130130
"native_pros": [
131131
"Built-in progress role with automatic value announcements",
132132
"Indeterminate state support for unknown duration operations",
@@ -141,7 +141,7 @@
141141
"js_label": "Deployment Date (Custom)",
142142
"js_placeholder": "YYYY-MM-DD",
143143
"js_picker_content": "[Calendar widget implementation]\nRequires: Date manipulation library, internationalization,\nkeyboard navigation, mobile gesture handling,\ntimezone calculations, accessibility compliance.",
144-
"js_cons_title": "Issues: Implementation Overhead:",
144+
"js_cons_title": "Issues · Implementation Overhead:",
145145
"js_cons": [
146146
"Large JavaScript libraries and complex calendar logic",
147147
"Mobile UX inconsistency with platform date pickers",
@@ -153,7 +153,7 @@
153153
"native_release_label": "Release Date",
154154
"native_timestamp_label": "Build Timestamp",
155155
"native_window_label": "Deployment Window",
156-
"native_pros_title": "Benefits: Platform Integration:",
156+
"native_pros_title": "Benefits · Platform Integration:",
157157
"native_pros": [
158158
"Zero-bundle impact with native OS picker integration",
159159
"Automatic validation and internationalization support",
@@ -165,7 +165,7 @@
165165
"js_title": "Custom Form Section",
166166
"js_badge": "SEMANTIC-VOID",
167167
"js_warning": "Accessibility Gap: No semantic grouping of related form controls without explicit ARIA group roles.",
168-
"js_cons_title": "Issues: Implementation Overhead:",
168+
"js_cons_title": "Issues · Implementation Overhead:",
169169
"js_cons": [
170170
"No inherent semantic grouping of form controls",
171171
"Manual ARIA group role and labeling required",
@@ -174,7 +174,7 @@
174174
"native_title": "Native Fieldset Element",
175175
"native_badge": "SEMANTIC",
176176
"native_note": "Form Semantics: Built-in grouping with legend, automatic disabled state propagation, and screen reader support.",
177-
"native_pros_title": "Benefits: Semantic Advantages:",
177+
"native_pros_title": "Benefits · Semantic Advantages:",
178178
"native_pros": [
179179
"Semantic grouping with legend as accessible name",
180180
"Disabled attribute propagates to all child controls",
@@ -186,7 +186,7 @@
186186
"js_title": "Custom Calculation Display",
187187
"js_badge": "SEMANTIC-VOID",
188188
"js_warning": "Accessibility Gap: No semantic indication that content is a calculated result without explicit ARIA live regions.",
189-
"js_cons_title": "Issues: Implementation Overhead:",
189+
"js_cons_title": "Issues · Implementation Overhead:",
190190
"js_cons": [
191191
"No semantic indication of calculated result",
192192
"Manual ARIA live region setup for updates",
@@ -196,7 +196,7 @@
196196
"native_badge": "SEMANTIC",
197197
"native_note": "Form Integration: Built-in calculation result semantics, automatic form association, and screen reader announcement.",
198198
"native_calc_label": "Price Calculator",
199-
"native_pros_title": "Benefits: Semantic Advantages:",
199+
"native_pros_title": "Benefits · Semantic Advantages:",
200200
"native_pros": [
201201
"Semantic indication of calculated/computed result",
202202
"Automatic form association via 'for' attribute",
@@ -208,7 +208,7 @@
208208
"js_title": "Custom Gauge Implementation",
209209
"js_badge": "SEMANTIC-VOID",
210210
"js_warning": "Accessibility Gap: No semantic distinction between progress and measurement without explicit ARIA roles.",
211-
"js_cons_title": "Issues: Implementation Overhead:",
211+
"js_cons_title": "Issues · Implementation Overhead:",
212212
"js_cons": [
213213
"No semantic distinction from progress bars",
214214
"Manual color coding for low/high/optimum ranges",
@@ -220,7 +220,7 @@
220220
"native_disk_label": "Disk Usage (70%)",
221221
"native_battery_label": "Battery Level (25% - Low)",
222222
"native_score_label": "Performance Score (92% - Optimal)",
223-
"native_pros_title": "Benefits: Semantic Advantages:",
223+
"native_pros_title": "Benefits · Semantic Advantages:",
224224
"native_pros": [
225225
"Semantic distinction from progress (measurement vs task)",
226226
"Automatic color changes for low/high/optimum ranges",
@@ -232,7 +232,7 @@
232232
"js_title": "Custom Image Caption",
233233
"js_badge": "SEMANTIC-VOID",
234234
"js_warning": "Accessibility Gap: No semantic association between image and caption without explicit ARIA attributes.",
235-
"js_cons_title": "Issues: Semantic Limitations:",
235+
"js_cons_title": "Issues · Semantic Limitations:",
236236
"js_cons": [
237237
"No inherent association between content and caption",
238238
"Manual ARIA labeling required for accessibility",
@@ -241,7 +241,7 @@
241241
"native_title": "Native Figure Element",
242242
"native_badge": "SEMANTIC",
243243
"native_note": "Semantic Association: Built-in content-caption relationship, proper accessibility, works for images, code, quotes, and more.",
244-
"native_pros_title": "Benefits: Semantic Advantages:",
244+
"native_pros_title": "Benefits · Semantic Advantages:",
245245
"native_pros": [
246246
"Automatic content-caption semantic association",
247247
"Works for images, code blocks, diagrams, quotes",
@@ -254,7 +254,7 @@
254254
"js_badge": "COMPLEX",
255255
"js_warning": "Implementation Scope: Positioning logic, viewport collision, z-index management, click-outside detection, and focus management.",
256256
"js_button": "Show Custom Tooltip",
257-
"js_cons_title": "Issues: Implementation Overhead:",
257+
"js_cons_title": "Issues · Implementation Overhead:",
258258
"js_cons": [
259259
"Complex positioning algorithms for viewport collision",
260260
"Manual click-outside and ESC key dismissal logic",
@@ -266,7 +266,7 @@
266266
"native_button": "Show Native Popover",
267267
"native_popover_title": "Native Popover",
268268
"native_popover_content": "This popover uses the native popover API. Click outside or press ESC to dismiss.",
269-
"native_pros_title": "Benefits: Native Advantages:",
269+
"native_pros_title": "Benefits · Native Advantages:",
270270
"native_pros": [
271271
"Zero JavaScript with automatic light dismiss behavior",
272272
"Built-in top-layer positioning (no z-index issues)",
@@ -279,7 +279,7 @@
279279
"js_badge": "HEAVYWEIGHT",
280280
"js_warning": "Implementation Scope: Color space math, gradient rendering, hue/saturation controls, alpha channel, and format conversion (hex, rgb, hsl).",
281281
"js_label": "Theme Color (Custom)",
282-
"js_cons_title": "Issues: Implementation Overhead:",
282+
"js_cons_title": "Issues · Implementation Overhead:",
283283
"js_cons": [
284284
"Complex color space mathematics and conversions",
285285
"Custom UI for hue wheels, gradients, and alpha sliders",
@@ -291,7 +291,7 @@
291291
"native_primary_label": "Primary Color",
292292
"native_accent_label": "Accent Color",
293293
"native_bg_label": "Background Color",
294-
"native_pros_title": "Benefits: Native Advantages:",
294+
"native_pros_title": "Benefits · Native Advantages:",
295295
"native_pros": [
296296
"Zero JavaScript with full OS color picker integration",
297297
"Eyedropper tool on supported browsers (Chrome, Edge)",
@@ -304,7 +304,7 @@
304304
"js_badge": "COMPLEX",
305305
"js_warning": "Implementation Scope: Drag handling, touch events, value interpolation, track/thumb styling, and ARIA slider semantics.",
306306
"js_label": "Volume Control (Custom)",
307-
"js_cons_title": "Issues: Implementation Overhead:",
307+
"js_cons_title": "Issues · Implementation Overhead:",
308308
"js_cons": [
309309
"Complex mouse/touch event coordination and drag handling",
310310
"Manual ARIA slider implementation with value announcements",
@@ -316,7 +316,7 @@
316316
"native_volume_label": "Volume Level",
317317
"native_brightness_label": "Brightness",
318318
"native_quality_label": "Quality (with ticks)",
319-
"native_pros_title": "Benefits: Native Advantages:",
319+
"native_pros_title": "Benefits · Native Advantages:",
320320
"native_pros": [
321321
"Zero JavaScript with full keyboard and touch support",
322322
"Built-in ARIA slider role with automatic announcements",
@@ -330,7 +330,7 @@
330330
"js_warning": "Interaction Complexity: Dropdown positioning, keyboard navigation, ARIA combobox implementation, and mobile touch handling.",
331331
"js_label": "Framework Search (Custom)",
332332
"js_placeholder": "Type framework name...",
333-
"js_cons_title": "Issues: Interaction Management:",
333+
"js_cons_title": "Issues · Interaction Management:",
334334
"js_cons": [
335335
"Complex ARIA combobox implementation and state management",
336336
"Dropdown positioning and viewport collision detection",
@@ -343,7 +343,7 @@
343343
"native_framework_placeholder": "Select or type framework...",
344344
"native_language_label": "Programming Language",
345345
"native_language_placeholder": "Choose language...",
346-
"native_pros_title": "Benefits: Zero-Configuration Benefits:",
346+
"native_pros_title": "Benefits · Zero-Configuration Benefits:",
347347
"native_pros": [
348348
"Native combobox semantics with automatic ARIA support",
349349
"Platform-consistent keyboard and interaction patterns",

src/main.css

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,19 @@ body {
241241
}
242242

243243
.pros-cons h4 {
244-
margin-bottom: 1rem;
245-
color: var(--color-text);
246-
font-size: 1rem;
244+
margin-bottom: 0.75rem;
245+
font-size: 0.8125rem;
247246
font-weight: 600;
247+
text-transform: uppercase;
248+
letter-spacing: 0.03em;
249+
}
250+
251+
.pros-cons h4.cons {
252+
color: #8b6b6b;
253+
}
254+
255+
.pros-cons h4.pros {
256+
color: var(--color-primary);
248257
}
249258

250259
.pros-cons ul {
@@ -270,7 +279,7 @@ body {
270279
content: '✗';
271280
position: absolute;
272281
left: 0;
273-
color: var(--color-danger);
282+
color: #8b6b6b;
274283
font-weight: bold;
275284
}
276285

0 commit comments

Comments
 (0)