Draft
Add multi-theme system with franchise-inspired intros for FormatX#12
Conversation
… themes Co-authored-by: hutoczky <5453461+hutoczky@users.noreply.github.com>
Co-authored-by: hutoczky <5453461+hutoczky@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add multi-theme support with franchise-inspired intros
Add multi-theme system with franchise-inspired intros for FormatX
Oct 20, 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 comprehensive multi-theme system for the FormatX GitHub Pages site, featuring four franchise-inspired themes with unique intro animations, persistent theme selection, and full accessibility support.
What's New
🎨 Four Franchise Themes
Each theme includes a unique color palette, custom intro animation, and franchise-specific aesthetics:
🖖 LCARS (Star Trek) - Default theme
🌃 Cyberpunk 2077
⚔️ Star Wars
🌀 Stargate
✨ Key Features
themes.cssautomatically loaded bytheme-loader.jsfor optimal performanceprefers-reduced-motionuser preferencewindow.FormatXThemesAPI for programmatic theme control📁 Files Added
docs/themes.css(12 KB) - Complete theme definitions with CSS variables, animations, and light mode variantsdocs/theme-loader.js(5.6 KB) - Theme management system with localStorage persistence and UI generationdocs/THEMES.md(5.6 KB) - Comprehensive documentation for users and developers🔧 Files Modified
docs/index.html- Addedtheme-loader.jsscript tag in<head>for early theme initializationdocs/styles.css- Added theme CSS variables and updated warp-core styling to use theme-specific colorsTechnical Details
CSS Variable System
Each theme defines 17+ CSS variables including:
--primary,--accent,--bg, etc.)--theme-glow,--theme-ring-1,--theme-core, etc.)Theme Animations
Four unique
@keyframesanimations created:lcars-warp- Smooth perspective warp effectcyberpunk-glitch- Digital glitch with translate and scalestarwars-crawl- 3D perspective crawl animationstargate-chevron- Rotation with scale transitionTheme Switching
Testing
All features have been thoroughly tested:
Deployment
Once merged to
master, GitHub Pages will automatically publish the updated site with full multi-theme support. No build step required - pure HTML, CSS, and JavaScript.Live URL: https://hutoczky.github.io/FormatX/
Statistics
This implementation maintains backward compatibility while adding rich theming capabilities that enhance the user experience without compromising accessibility or performance.
Original prompt
💡 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.