Draft
Docs(scifi-ui): structure, styles, scripts, assets placeholders, README, and CI for Pages + A11y/Perf#38
Conversation
…ation.svg) Co-authored-by: hutoczky <5453461+hutoczky@users.noreply.github.com>
…spec Co-authored-by: hutoczky <5453461+hutoczky@users.noreply.github.com>
Draft
9 tasks
…h accessibility Co-authored-by: hutoczky <5453461+hutoczky@users.noreply.github.com>
…l and base.css Co-authored-by: hutoczky <5453461+hutoczky@users.noreply.github.com>
…and PR checklist Co-authored-by: hutoczky <5453461+hutoczky@users.noreply.github.com>
…yment info Co-authored-by: hutoczky <5453461+hutoczky@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Create accessible Sci-Fi UI demo with structured files and CI
Docs(scifi-ui): structure, styles, scripts, assets placeholders, README, and CI for Pages + A11y/Perf
Oct 21, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR implements a complete, accessible, and performant Sci-Fi UI demo under
docs/scifi-ui/with strict adherence to web standards, accessibility guidelines, and performance best practices. The demo showcases three distinct science fiction UI themes with live CSS swapping, progressive enhancement, and comprehensive ARIA support.🎨 Theme Previews
LCARS Theme (Star Trek)

Star Wars Theme

Cyberpunk Theme

🚀 Implementation Details
CSS & Visual Design
All themes use exact color specifications with proper variable naming:
#FF9A3C(main),#8C6AFF(accent) withlcars-sheenanimation (1.6s linear)#2EE6FF(main),#90F0FF(accent) withsw-gridstroke animation (2s linear)#FF2EC0(magenta),#00E5FF(cyan),#FFD500(yellow) withcp-glitchsteps animation (1.2s)Each theme includes theme-specific progress bar gradients and keyframe animations. The implementation includes strong focus-visible styles (2-3px outlines with high contrast) and comprehensive
prefers-reduced-motionsupport that disables all animations when requested.JavaScript Functionality
Theme Switcher (
theme-switcher.js):link#theme-csshref manipulationlocalStorage(key:scifi-theme)CustomEvent('theme:changed')for other modules to reactaria-pressed,aria-selected) on theme buttons.loader-sampleelement visibility based on active themePreloader (
preloader.js):fetch()withcache: 'force-cache'aria-valuenowattribute for screen readersrole="status"andaria-live="polite"for accessibilityprefers-reduced-motionby finishing immediatelyEvent('preloader:done')on completionAnimation Controller (
anim-controller.js):width 1.6s cubic-bezier(.2,.9,.2,1)width 1.8s ease-in-outwidth 1.2s steps(6,end)Accessibility Features
role="progressbar",role="status",role="tab",role="tablist"aria-live="polite"on preloader statusaria-valuenow,aria-pressed,aria-selectedupdated by scriptsPerformance Optimizations
<head>for LCP optimizationself+data:sources)Asset Management
All assets are original work with no unlicensed IP:
hud-grid.svg,lcars-panels.svg,hologram-activation.svg(original).gitkeepplaceholders for future WebP/AVIF assetsFont licensing documentation included in README with instructions for adding:
CI/CD Configuration
Updated Lighthouse CI workflow with specific performance thresholds:
The workflow includes a GitHub Pages configuration notice that prints deployment instructions on merge to main/master.
Documentation
Comprehensive README includes:
🔗 GitHub Pages Setup
Demo URL: https://hutoczky.github.io/FormatX/scifi-ui/
Root Redirect: https://hutoczky.github.io/FormatX/ →
scifi-ui/The redirect is implemented with multiple fallback mechanisms:
http-equiv="refresh")location.replace()Repository Configuration:
mainbranch/docs/scifi-ui/📁 Files Changed
✅ Testing Performed
🎯 Acceptance Criteria Met
All requirements from the specification have been fulfilled:
Built with ❤️ using pure CSS, SVG, and vanilla JavaScript
Original prompt
Implement a complete, accessible, and performant Sci‑Fi UI demo under docs/scifi-ui with strict structure, styles, scripts, asset placeholders, README, and CI, committed in clearly separated steps and opened as a pull request. Use the following specification and commit plan. Reference images for the “Program leírása” content and general look-and-feel:

Commit plan (make separate commits in this exact order):
General constraints
Detailed requirements
docs/scifi-ui/
index.html
assets/
images/ (.gitkeep acceptable placeholder)
svgs/ (hud-grid.svg, lcars-panels.svg, hologram-activation.svg — provide placeholder SVGs if not final)
fonts/ (.gitkeep; if licensed .woff2 exist, include and document)
audio/ (.gitkeep)
styles/
base.css
themes.css
lcars.css
starwars.css
cyberpunk.css
scripts/
theme-switcher.js
preloader.js
anim-controller.js
README.md
--lcars-main: #FF9A3C;
--lcars-accent: #8C6AFF;
panel-glow: rgba(255,154,60,0.12);
--sw-main: #2EE6FF;
--sw-accent: #90F0FF;
grid-glow: rgba(46,230,255,0.08);
--cp-magenta: #FF2EC0; --cp-cyan: #00E5FF; --cp-yellow: #FFD500;
/* @font-face { font-family: 'Eurostile'; src: url('/docs/scifi-ui/assets/fonts/Eurostile.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; } */
This pull request was created as a result of the following prompt from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.