@@ -607,14 +607,17 @@
}
}
- .theme-options,
+ .theme-options {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
+ gap: var(--spacing-xs);
+ }
+
.additional-themes {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
gap: var(--spacing-xs);
- .additional-themes {
- grid-column: 1 / -1;
- }
+ grid-column: 1 / -1;
}
.theme-option {
@@ -653,40 +656,6 @@
height: 1rem;
border-radius: var(--radius-xs);
border: 1px solid var(--border-secondary);
- &.theme-preview-light {
- background: linear-gradient(135deg, #f4f2fa 50%, #fff 50%);
- }
- &.theme-preview-dark {
- background: linear-gradient(135deg, #0d1117 50%, #161b22 50%);
- }
- &.theme-preview-ocean {
- background: linear-gradient(135deg, #131c2b 50%, #70edb7 50%);
- }
- &.theme-preview-purple {
- background: linear-gradient(135deg, #13182b 50%, #cca6ff 50%);
- }
- &.theme-preview-cyberpunk {
- background: linear-gradient(135deg, #000308 30%, #f700ff 70%);
- box-shadow: 0 0 8px rgba(0, 255, 204, 0.4);
- }
- &.theme-preview-midnight {
- background: linear-gradient(135deg, #0a0e27 50%, #5e72e4 50%);
- }
- &.theme-preview-arctic {
- background: linear-gradient(135deg, #f0f4f8 50%, #00acc1 50%);
- }
- &.theme-preview-terminal {
- background: linear-gradient(135deg, #000000 50%, #00ff00 50%);
- }
- &.theme-preview-lightpurple {
- background: linear-gradient(135deg, #fafafa 50%, #cca6ff 50%);
- }
- &.theme-preview-muteddark {
- background: linear-gradient(135deg, #21252b 50%, #f1f86d 50%);
- }
- &.theme-preview-solarized {
- background: linear-gradient(135deg, #002b36 50%, #268bd2 50%);
- }
}
.language-dropdown {
@@ -1268,7 +1237,7 @@
width: 100%;
justify-content: center;
background: var(--color-error);
- color: white;
+ color: var(--bg-secondary);
border-color: var(--color-error);
&:hover {
diff --git a/src/lib/components/tools/DNSRecordValidator.svelte b/src/lib/components/tools/DNSRecordValidator.svelte
index 0701757..14aa28f 100644
--- a/src/lib/components/tools/DNSRecordValidator.svelte
+++ b/src/lib/components/tools/DNSRecordValidator.svelte
@@ -624,7 +624,7 @@
font-weight: 600;
padding: 2px var(--spacing-xs);
background-color: var(--color-primary);
- color: white;
+ color: var(--bg-secondary);
border-radius: var(--radius-sm);
}
diff --git a/src/lib/components/tools/IDNPunycodeConverter.svelte b/src/lib/components/tools/IDNPunycodeConverter.svelte
index cd10843..5412f99 100644
--- a/src/lib/components/tools/IDNPunycodeConverter.svelte
+++ b/src/lib/components/tools/IDNPunycodeConverter.svelte
@@ -862,7 +862,7 @@
gap: var(--spacing-xs);
padding: var(--spacing-sm) var(--spacing-md);
background: var(--color-primary-dark);
- color: white;
+ color: var(--bg-secondary);
border: none;
border-radius: var(--radius-md);
cursor: pointer;
diff --git a/src/lib/components/tools/IPEnumerate.svelte b/src/lib/components/tools/IPEnumerate.svelte
index 3147f26..c85c51a 100644
--- a/src/lib/components/tools/IPEnumerate.svelte
+++ b/src/lib/components/tools/IPEnumerate.svelte
@@ -669,7 +669,7 @@
&::after {
opacity: 1;
- color: white;
+ color: var(--bg-secondary);
}
}
}
diff --git a/src/lib/components/tools/IPFamilyConverter.svelte b/src/lib/components/tools/IPFamilyConverter.svelte
index 6830a82..f11e8bd 100644
--- a/src/lib/components/tools/IPFamilyConverter.svelte
+++ b/src/lib/components/tools/IPFamilyConverter.svelte
@@ -399,7 +399,7 @@
.copy-btn.copied,
.copy-btn-small.copied {
background-color: var(--color-success);
- color: white;
+ color: var(--bg-secondary);
border-color: var(--color-success);
}
diff --git a/src/lib/components/tools/IPv6Normalize.svelte b/src/lib/components/tools/IPv6Normalize.svelte
index 8ad5c71..3f852c9 100644
--- a/src/lib/components/tools/IPv6Normalize.svelte
+++ b/src/lib/components/tools/IPv6Normalize.svelte
@@ -623,7 +623,7 @@
&.copied {
background: var(--color-success);
- color: white;
+ color: var(--bg-secondary);
border-color: var(--color-success);
transform: scale(1.05);
}
diff --git a/src/lib/components/tools/TTLCalculator.svelte b/src/lib/components/tools/TTLCalculator.svelte
index e76cec7..e29e3cb 100644
--- a/src/lib/components/tools/TTLCalculator.svelte
+++ b/src/lib/components/tools/TTLCalculator.svelte
@@ -607,7 +607,7 @@
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
- color: white;
+ color: var(--bg-secondary);
font-size: 14px;
font-weight: bold;
line-height: 1;
diff --git a/src/lib/constants/icon-map.ts b/src/lib/constants/icon-map.ts
index 89cb549..b8df1f0 100644
--- a/src/lib/constants/icon-map.ts
+++ b/src/lib/constants/icon-map.ts
@@ -293,6 +293,7 @@ export const iconMap: Record
= {
'clipboard-list': ``,
palette: ``,
undo: ``,
+ badge: ``,
// 'edit-3': ``,
// 'mail-check': ``,
// 'eye': ``,
diff --git a/src/lib/constants/nav.ts b/src/lib/constants/nav.ts
index 7606c7c..6217a5a 100644
--- a/src/lib/constants/nav.ts
+++ b/src/lib/constants/nav.ts
@@ -1461,7 +1461,7 @@ export const SUB_NAV: Record = {
href: makePath('/diagnostics/tls/ct-log-search'),
label: 'CT Log Search',
description: 'Search Certificate Transparency logs to discover all certificates issued for a domain',
- icon: 'certificate',
+ icon: 'badge',
featured: true,
keywords: [
'ct',
diff --git a/src/lib/constants/theme-list.ts b/src/lib/constants/theme-list.ts
new file mode 100644
index 0000000..a9b285d
--- /dev/null
+++ b/src/lib/constants/theme-list.ts
@@ -0,0 +1,204 @@
+// import type { Theme } from "$lib/stores/theme";
+
+const primaryCdn = 'https://fonts.googleapis.com/css2?family=';
+
+interface Theme {
+ id: string;
+ name: string;
+ available: boolean;
+ preview?: string;
+ font?: {
+ name: string;
+ url: string;
+ fallback?: string;
+ };
+}
+
+const fonts = {
+ Inter: {
+ name: 'Inter',
+ url: `${primaryCdn}Inter:wght@300;400;500;600;700&family=Roboto+Mono:wght@400;500&display=swap`,
+ fallback: 'sans-serif',
+ },
+ Poppins: {
+ name: 'Poppins',
+ url: `${primaryCdn}Lora:ital,wght@0,400..700;1,400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap`,
+ fallback: 'sans',
+ },
+ Montserrat: {
+ name: 'Montserrat',
+ url: `${primaryCdn}Montserrat:wght@300;400;500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600;700&display=swap`,
+ fallback: 'sans-serif',
+ },
+ Raleway: {
+ name: 'Raleway',
+ url: `${primaryCdn}Raleway:wght@300;400;500;600;700;800&family=Source+Code+Pro:wght@400;500;600;700&display=swap`,
+ fallback: 'sans-serif',
+ },
+ Orbitron: {
+ name: 'Orbitron',
+ url: `${primaryCdn}Orbitron:wght@400;500;600;700;800;900&family=Share+Tech+Mono&display=swap`,
+ fallback: 'monospace',
+ },
+ JetBrainsMono: {
+ name: 'JetBrains Mono',
+ url: `${primaryCdn}JetBrains+Mono:wght@300;400;500;600;700;800&display=swap`,
+ fallback: 'monospace',
+ },
+ SourceCodePro: {
+ name: 'Source Code Pro',
+ url: `${primaryCdn}Source+Code+Pro:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;500;600;700&display=swap`,
+ fallback: 'monospace',
+ },
+ Inconsolata: {
+ name: 'Inconsolata',
+ url: `${primaryCdn}Inconsolata:wght@300;400;500;600;700&family=Lato:wght@300;400;700&display=swap`,
+ fallback: 'monospace',
+ },
+ IBMPlexSans: {
+ name: 'IBM Plex Sans',
+ url: `${primaryCdn}IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@300;400;500;600&display=swap`,
+ fallback: 'sans-serif',
+ },
+ Ubuntu: {
+ name: 'Ubuntu',
+ url: `${primaryCdn}Ubuntu:wght@300;400;500;700&family=Ubuntu+Mono:wght@400;500;700&display=swap`,
+ fallback: 'monospace',
+ },
+ FiraCode: {
+ name: 'Fira Code',
+ url: `${primaryCdn}Fira+Sans:wght@300;400;500;600;700&family=Fira+Code:wght@300;400;500;600;700&display=swap`,
+ fallback: 'monospace',
+ },
+ Outfit: {
+ name: 'Outfit',
+ url: `${primaryCdn}Outfit:wght@300;400;500;600;700&display=swap`,
+ fallback: 'sans-serif',
+ },
+ Nunito: {
+ name: 'Nunito',
+ url: `${primaryCdn}Nunito:wght@300;400;500;600;700;800&display=swap`,
+ fallback: 'sans-serif',
+ },
+};
+
+const makePreviewGradient = (colors: string[], angle = 135, splitPercent = 50) =>
+ colors.length === 0
+ ? 'var(--bg-secondary)'
+ : colors.length === 1
+ ? colors[0]
+ : `linear-gradient(${angle}deg, ${colors.map((c, i) => `${c} ${i === 0 ? 50 : splitPercent}%`).join(', ')})`;
+
+// Available themes configuration
+export const themes: Theme[] = [
+ {
+ id: 'dark',
+ name: 'Dark',
+ available: true,
+ preview: makePreviewGradient(['#0d1117', '#e3ed70']),
+ },
+ {
+ id: 'light',
+ name: 'Light',
+ available: true,
+ preview: makePreviewGradient(['#fafafa', '#2196f3']),
+ font: fonts.Inter,
+ },
+ {
+ id: 'purple',
+ name: 'Purple',
+ available: true,
+ preview: makePreviewGradient(['#13182b', '#cca6ff']),
+ font: fonts.Poppins,
+ },
+ {
+ id: 'ocean',
+ name: 'Ocean',
+ available: true,
+ preview: makePreviewGradient(['#131c2b', '#70edb7']),
+ font: fonts.Inter,
+ },
+ {
+ id: 'midnight',
+ name: 'Midnight',
+ available: true,
+ preview: makePreviewGradient(['#0a0e27', '#5e72e4']),
+ font: fonts.Montserrat,
+ },
+ {
+ id: 'arctic',
+ name: 'Arctic',
+ available: true,
+ preview: makePreviewGradient(['#f5f5f5', '#00acc1']),
+ font: fonts.Raleway,
+ },
+ {
+ id: 'cyberpunk',
+ name: 'Cyberpunk',
+ available: true,
+ preview: makePreviewGradient(['#ff0ac5', '#e4ff00'], 135, 70),
+ font: fonts.Orbitron,
+ },
+ {
+ id: 'terminal',
+ name: 'Terminal',
+ available: true,
+ preview: makePreviewGradient(['#000000', '#00ff00']),
+ font: fonts.JetBrainsMono,
+ },
+ {
+ id: 'lightpurple',
+ name: 'Light Purple',
+ available: true,
+ preview: makePreviewGradient(['#f4f2fa', '#af55fc']),
+ },
+ {
+ id: 'muteddark',
+ name: 'Muted Dark',
+ available: true,
+ preview: makePreviewGradient(['#282c34', '#e8ef61']),
+ font: fonts.SourceCodePro,
+ },
+ {
+ id: 'solarized',
+ name: 'Solarized',
+ available: true,
+ preview: makePreviewGradient(['#002b36', '#268bd2']),
+ font: fonts.Inconsolata,
+ },
+ {
+ id: 'nord',
+ name: 'Nord',
+ available: true,
+ preview: makePreviewGradient(['#2e3440', '#88c0d0']),
+ font: fonts.IBMPlexSans,
+ },
+ {
+ id: 'gruvbox',
+ name: 'Gruvbox',
+ available: true,
+ preview: makePreviewGradient(['#282828', '#fabd2f']),
+ font: fonts.Ubuntu,
+ },
+ {
+ id: 'tokyonight',
+ name: 'Tokyo Night',
+ available: true,
+ preview: makePreviewGradient(['#1a1b26', '#7aa2f7']),
+ font: fonts.FiraCode,
+ },
+ {
+ id: 'catppuccin',
+ name: 'Catppuccin',
+ available: true,
+ preview: makePreviewGradient(['#1e1e2e', '#cba6f7']),
+ font: fonts.Outfit,
+ },
+ {
+ id: 'everforest',
+ name: 'Everforest',
+ available: true,
+ preview: makePreviewGradient(['#2d353b', '#a7c080']),
+ font: fonts.Nunito,
+ },
+];
diff --git a/src/lib/stores/theme.ts b/src/lib/stores/theme.ts
index 7fc2157..7ba95b9 100644
--- a/src/lib/stores/theme.ts
+++ b/src/lib/stores/theme.ts
@@ -2,6 +2,7 @@ import { writable } from 'svelte/store';
import { browser } from '$app/environment';
import { storage } from '$lib/utils/localStorage';
import { DEFAULT_THEME } from '$lib/config/customizable-settings';
+import { themes } from '$lib/constants/theme-list';
export type ThemeOption = string;
@@ -17,6 +18,8 @@ export interface Theme {
};
}
+export { themes };
+
const STORAGE_KEY = 'theme';
// Track loaded fonts to avoid duplicates
@@ -74,110 +77,6 @@ function applyThemeClasses(theme: ThemeOption) {
}
}
-// Available themes configuration
-export const themes: Theme[] = [
- {
- id: 'dark',
- name: 'Dark',
- available: true,
- },
- {
- id: 'light',
- name: 'Light',
- available: true,
- font: {
- name: 'Inter',
- url: 'https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Roboto+Mono:wght@400;500&display=swap',
- fallback: 'sans-serif',
- },
- },
- {
- id: 'midnight',
- name: 'Midnight',
- available: true,
- font: {
- name: 'Montserrat',
- url: 'https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600;700&display=swap',
- fallback: 'sans-serif',
- },
- },
- {
- id: 'arctic',
- name: 'Arctic',
- available: true,
- font: {
- name: 'Raleway',
- url: 'https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&family=Source+Code+Pro:wght@400;500;600;700&display=swap',
- fallback: 'sans-serif',
- },
- },
- {
- id: 'ocean',
- name: 'Ocean',
- available: true,
- font: {
- name: 'Inter',
- url: 'https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap',
- fallback: 'sans-serif',
- },
- },
- {
- id: 'purple',
- name: 'Purple',
- available: true,
- font: {
- name: 'Poppins',
- url: 'https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap',
- fallback: 'sans',
- },
- },
- {
- id: 'cyberpunk',
- name: 'Cyberpunk',
- available: true,
- font: {
- name: 'Orbitron',
- url: 'https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Share+Tech+Mono&display=swap',
- fallback: 'monospace',
- },
- },
- {
- id: 'terminal',
- name: 'Terminal',
- available: true,
- font: {
- name: 'JetBrains Mono',
- url: 'https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700;800&display=swap',
- fallback: 'monospace',
- },
- },
- {
- id: 'lightpurple',
- name: 'Light Purple',
- available: true,
- },
- {
- id: 'muteddark',
- name: 'Muted Dark',
- available: true,
- font: {
- name: 'Source Code Pro',
- url: 'https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;500;600;700&display=swap',
- fallback: 'monospace',
- },
- },
- {
- id: 'solarized',
- name: 'Solarized',
- available: true,
- font: {
- name: 'Inconsolata',
- url: 'https://fonts.googleapis.com/css2?family=Inconsolata:wght@300;400;500;600;700&family=Lato:wght@300;400;700&display=swap',
- fallback: 'monospace',
- },
- },
-];
-
function isValidTheme(theme: unknown): theme is string {
if (typeof theme !== 'string' || !theme) return false;
return themes.some((t) => t.id === theme && t.available);
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 3fa23ea..b40d643 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -3,6 +3,7 @@
import { page } from '$app/stores';
import '../styles/base.scss';
import '../styles/variables.scss';
+ import '../styles/themes.scss';
import '../styles/components.scss';
import '../styles/ref-pages.scss';
import '../styles/diagnostics-pages.scss';
diff --git a/src/routes/diagnostics/http/cors-check/+page.svelte b/src/routes/diagnostics/http/cors-check/+page.svelte
index 786ddd4..008fe8a 100644
--- a/src/routes/diagnostics/http/cors-check/+page.svelte
+++ b/src/routes/diagnostics/http/cors-check/+page.svelte
@@ -533,7 +533,7 @@
&.active {
background: var(--color-primary);
- color: white;
+ color: var(--bg-secondary);
border-color: var(--color-primary);
}
}
diff --git a/src/routes/diagnostics/http/security/+page.svelte b/src/routes/diagnostics/http/security/+page.svelte
index a05e8ee..0aedcfc 100644
--- a/src/routes/diagnostics/http/security/+page.svelte
+++ b/src/routes/diagnostics/http/security/+page.svelte
@@ -448,17 +448,17 @@
&.success {
background: var(--color-success);
- color: white;
+ color: var(--bg-secondary);
}
&.warning {
background: var(--color-warning);
- color: white;
+ color: var(--bg-secondary);
}
&.error {
background: var(--color-error);
- color: white;
+ color: var(--bg-secondary);
}
}
diff --git a/src/styles/themes.scss b/src/styles/themes.scss
new file mode 100644
index 0000000..318d521
--- /dev/null
+++ b/src/styles/themes.scss
@@ -0,0 +1,742 @@
+.theme-ocean,
+html[data-theme='ocean'] {
+ --color-primary: #70edb7;
+ --color-primary-hover: color-mix(in srgb, var(--color-primary) 70%, white 30%);
+ --color-primary-dark: color-mix(in srgb, var(--color-primary) 70%, black 30%);
+ --bg-primary: #131c2b;
+ --bg-secondary: #212c3d;
+ --bg-tertiary: #151e2f;
+ --text-secondary: #a0a7b0;
+ --surface-hover: #2b384b;
+ --border-primary: #30405b;
+ --font-heading: 'Inter', sans-serif;
+ --font-body: 'Inter', sans-serif;
+}
+
+.theme-purple,
+html[data-theme='purple'] {
+ --color-primary: #cca6ff;
+ --color-primary-hover: color-mix(in srgb, var(--color-primary) 70%, white 30%);
+ --color-primary-dark: color-mix(in srgb, var(--color-primary) 70%, black 30%);
+ --bg-primary: #13182b;
+ --bg-secondary: #101b31;
+ --bg-tertiary: #222e45;
+ --text-secondary: #a0a7b0;
+ --surface-hover: #2b384b;
+ --border-primary: #30405b;
+ --font-body: 'Poppins', sans-serif;
+ --font-heading: 'Lora', 'Poppins', sans-serif;
+}
+
+/* Light theme */
+.theme-lightpurple,
+html[data-theme='lightpurple'] {
+ /* Background colors */
+ --bg-primary: #f4f2fa;
+ --bg-secondary: #fff; /* cards */
+ --bg-tertiary: #f6f2fc; /* subtle panels / code blocks */
+
+ /* Text colors (AA on light backgrounds) */
+ --text-primary: #0b1220; /* ~19:1 on white */
+ --text-secondary: #364152; /* ~15:1 on white */
+ --text-tertiary: #6b7280; /* ~12:1 on white */
+
+ /* Primary brand (use *-dark for filled buttons) */
+ --color-primary: #af55fc;
+ --color-primary-hover: color-mix(in srgb, var(--color-primary) 85%, white 15%);
+ --color-primary-dark: color-mix(in srgb, var(--color-primary) 85%, black 15%);
+
+ /* Action colors (chosen so white label text is AA) */
+ --color-success: #15803d; /* white text ≥ 13:1 */
+ --color-success-light: #40dc6c;
+ --color-warning: #a16207; /* white text ≥ 7:1 */
+ --color-warning-light: #bcbc1c;
+ --color-error: #b91c1c; /* white text ≥ 6.5:1 */
+ --color-error-light: #ff6e6e;
+ --color-info: #0369a1; /* white text ≥ 10.6:1 */
+ --color-info-light: #2cb5b5;
+
+ --color-purple: #7c3aed; /* works on white with white text in fills */
+ --color-pink: #db2777;
+
+ /* Border & surface */
+ --border-primary: #e5e7eb; /* default hairline */
+ --border-secondary: #d1d5db; /* dividers on white */
+ --surface-hover: #f6f2f9; /* interactive hover */
+ --surface-active: #e9eef5; /* pressed/selected */
+
+ /* Shadows (softer for light UI) */
+ --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.08);
+ --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.1);
+ --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.16);
+}
+
+/* Cyberpunk Theme - Enhanced neon tech aesthetic with CRT effects */
+.theme-cyberpunk,
+html[data-theme='cyberpunk'] {
+ --bg-primary: #0a0614;
+ --bg-secondary: #110a1f;
+ --bg-tertiary: #1a0f2e;
+
+ --text-primary: #f0e6ff;
+ --text-secondary: #b8a6d9;
+ --text-tertiary: #8b7ba3;
+
+ /* Primary - Hot pink neon */
+ --color-primary: #e4ff00;
+ --color-primary-hover: #eaff2f;
+ --color-primary-dark: #b7cc00;
+
+ /* Action colors - Enhanced neon palette */
+ --color-success: #39ff14;
+ --color-success-light: #7fff44;
+ --color-warning: #ffdd00;
+ --color-warning-light: #ffee55;
+ --color-error: #ff0066;
+ --color-error-light: #ff3388;
+ --color-info: #00ddff;
+ --color-info-light: #44eeff;
+
+ --color-purple: #cc00ff;
+ --color-pink: #ff0099;
+
+ /* Borders & surfaces - Enhanced neon glow */
+ --border-primary: #004d66;
+ --border-secondary: #002233;
+ --surface-hover: #001122;
+ --surface-active: #003344;
+
+ /* Shadows with enhanced neon glow effects */
+ --shadow-sm: 0 0 4px rgba(0, 255, 204, 0.2);
+ --shadow-md: 0 0 8px rgba(0, 255, 204, 0.3);
+ --shadow-lg: 0 0 16px rgba(0, 255, 204, 0.4);
+
+ /* Fonts */
+ --font-heading: 'Orbitron', monospace;
+ --font-body: 'Share Tech Mono', monospace;
+ --font-mono: 'Share Tech Mono', monospace;
+
+ h2 {
+ color: #fd3d90 !important;
+ }
+
+ /* CRT Screen effect with moving scanlines */
+ &::before {
+ content: '';
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100vw;
+ height: 200vh;
+ pointer-events: none;
+ z-index: 9999;
+ background: linear-gradient(
+ 180deg,
+ rgba(68, 239, 255, 0.1),
+ transparent 49%,
+ rgb(253, 61, 144, 0.08) 50%,
+ transparent
+ );
+ background-size: 4px 4px;
+ animation: crt-scanlines 8s linear infinite;
+ }
+
+ /* CRT Screen curvature effect on body */
+ body::before {
+ content: '';
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100vw;
+ height: 100vh;
+ pointer-events: none;
+ z-index: 9998;
+ background: radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, 0.2) 100%);
+ }
+
+ /* Glitch effect for links */
+ a {
+ transition: all 0.3s ease;
+
+ &:hover {
+ animation: cyberpunk-glitch 0.3s ease-in-out;
+ text-shadow:
+ -1px 0 #ff006f,
+ 1px 0 #00ffcc;
+ }
+
+ &:hover::before {
+ content: attr(href);
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ color: #ff006f;
+ background: transparent;
+ clip: rect(0, 0, 0, 0);
+ animation: cyberpunk-glitch-overlay 0.3s ease-in-out;
+ }
+
+ &:hover::after {
+ content: attr(href);
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ color: #00ffcc;
+ background: transparent;
+ clip: rect(0, 0, 0, 0);
+ animation: cyberpunk-glitch-overlay-2 0.3s ease-in-out;
+ }
+ }
+}
+
+/* Cyberpunk animations */
+@keyframes crt-scanlines {
+ 0% {
+ transform: translateY(-5vh);
+ }
+ 100% {
+ transform: translateY(0);
+ }
+}
+
+@keyframes crt-flicker {
+ 0% {
+ opacity: 1;
+ }
+ 98% {
+ opacity: 0.85;
+ }
+ 99% {
+ opacity: 0.99;
+ }
+ 100% {
+ opacity: 1;
+ }
+}
+
+@keyframes cyberpunk-glitch {
+ 0%,
+ 100% {
+ transform: translate(0);
+ }
+ 20% {
+ transform: translate(-2px, 2px);
+ }
+ 40% {
+ transform: translate(-2px, -2px);
+ }
+ 60% {
+ transform: translate(2px, 2px);
+ }
+ 80% {
+ transform: translate(2px, -2px);
+ }
+}
+
+@keyframes cyberpunk-glitch-overlay {
+ 0% {
+ clip: rect(42px, 9999px, 44px, 0);
+ }
+ 25% {
+ clip: rect(12px, 9999px, 59px, 0);
+ }
+ 50% {
+ clip: rect(78px, 9999px, 23px, 0);
+ }
+ 75% {
+ clip: rect(34px, 9999px, 67px, 0);
+ }
+ 100% {
+ clip: rect(91px, 9999px, 18px, 0);
+ }
+}
+
+@keyframes cyberpunk-glitch-overlay-2 {
+ 0% {
+ clip: rect(65px, 9999px, 23px, 0);
+ }
+ 25% {
+ clip: rect(34px, 9999px, 89px, 0);
+ }
+ 50% {
+ clip: rect(12px, 9999px, 56px, 0);
+ }
+ 75% {
+ clip: rect(78px, 9999px, 34px, 0);
+ }
+ 100% {
+ clip: rect(23px, 9999px, 67px, 0);
+ }
+}
+
+/* Midnight Theme - Sophisticated deep blues and purples */
+.theme-midnight,
+html[data-theme='midnight'] {
+ /* Backgrounds - Deep midnight blues */
+ --bg-primary: #0a0e27;
+ --bg-secondary: #0f1538;
+ --bg-tertiary: #141c4c;
+
+ /* Text - Cool silver tones */
+ --text-primary: #e8eaf6;
+ --text-secondary: #9fa8da;
+ --text-tertiary: #7986cb;
+
+ /* Primary - Royal blue */
+ --color-primary: #5e72e4;
+ --color-primary-hover: color-mix(in srgb, var(--color-primary) 70%, white 30%);
+ --color-primary-dark: color-mix(in srgb, var(--color-primary) 70%, black 30%);
+
+ /* Action colors - Sophisticated palette */
+ --color-success: #56f1c7;
+ --color-success-light: #7fffd4;
+ --color-warning: #ffd93d;
+ --color-warning-light: #ffe566;
+ --color-error: #ff5252;
+ --color-error-light: #ff7979;
+ --color-info: #82b1ff;
+ --color-info-light: #a3c3ff;
+
+ --color-purple: #9c88ff;
+ --color-pink: #f8b5ce;
+
+ /* Borders & surfaces - Deep space */
+ --border-primary: #2a3f7d;
+ --border-secondary: #1e2c5f;
+ --surface-hover: #1a2555;
+ --surface-active: #243270;
+
+ /* Shadows - Deep and mysterious */
+ --shadow-sm: 0 2px 8px rgba(94, 114, 228, 0.1);
+ --shadow-md: 0 8px 20px rgba(94, 114, 228, 0.15);
+ --shadow-lg: 0 16px 40px rgba(94, 114, 228, 0.2);
+
+ /* Fonts */
+ --font-heading: 'Montserrat', sans-serif;
+ --font-body: 'IBM Plex Mono', monospace;
+ --font-mono: 'IBM Plex Mono', monospace;
+}
+
+/* Arctic Theme - Cool, crisp, and minimal */
+.theme-arctic,
+html[data-theme='arctic'] {
+ /* Backgrounds - Cool whites and light blues */
+ --bg-primary: #f5f5f5;
+ --bg-secondary: #ffffff;
+ --bg-tertiary: #e3f2fd;
+
+ /* Text - Deep slate for contrast */
+ --text-primary: #263238;
+ --text-secondary: #546e7a;
+ --text-tertiary: #78909c;
+
+ /* Primary - Ice blue */
+ --color-primary: #00acc1;
+ --color-primary-hover: color-mix(in srgb, var(--color-primary) 85%, white 15%);
+ --color-primary-dark: color-mix(in srgb, var(--color-primary) 85%, black 15%);
+
+ /* Action colors - Cool and crisp */
+ --color-success: #00897b;
+ --color-success-light: #26a69a;
+ --color-warning: #ffb300;
+ --color-warning-light: #ffc947;
+ --color-error: #e53935;
+ --color-error-light: #ef5350;
+ --color-info: #039be5;
+ --color-info-light: #29b6f6;
+
+ --color-purple: #7e57c2;
+ --color-pink: #ec407a;
+
+ /* Borders & surfaces - Clean and minimal */
+ --border-primary: #cfd8dc;
+ --border-secondary: #b0bec5;
+ --surface-hover: #eceff1;
+ --surface-active: #cfd8dc;
+
+ /* Shadows - Light and airy */
+ --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
+ --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
+ --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.12);
+
+ /* Fonts */
+ --font-heading: 'Raleway', sans-serif;
+ --font-body: 'Raleway', sans-serif;
+ --font-mono: 'Source Code Pro', monospace;
+}
+
+/* Terminal Theme - Classic green-on-black terminal aesthetic */
+.theme-terminal,
+html[data-theme='terminal'] {
+ /* Backgrounds - Pure blacks */
+ --bg-primary: #000000;
+ --bg-secondary: #0a0a0a;
+ --bg-tertiary: #1c1d1c96;
+
+ /* Text - Classic terminal green */
+ --text-primary: #edf6ed;
+ --text-secondary: #c7ffc7;
+ --text-tertiary: #0b820b;
+
+ /* Primary - Bright green */
+ --color-primary: #00ff00;
+ --color-primary-hover: #66ff66;
+ --color-primary-dark: #00cc00;
+
+ /* Action colors - Retro terminal colors */
+ --color-success: #00ff00;
+ --color-success-light: #66ff66;
+ --color-warning: #ffff00;
+ --color-warning-light: #ffff66;
+ --color-error: #ff0000;
+ --color-error-light: #ff6666;
+ --color-info: #00ffff;
+ --color-info-light: #66ffff;
+
+ --color-purple: #ff00ff;
+ --color-pink: #ff00aa;
+
+ /* Borders & surfaces - Subtle terminal feel */
+ --border-primary: #00ff0024;
+ --border-secondary: #009900;
+ --surface-hover: #001100;
+ --surface-active: #002200;
+
+ --radius-sm: 0;
+ --radius-md: 1px;
+ --radius-lg: 2px;
+
+ --spacing-2xs: 0.125rem;
+ --spacing-xs: 0.125rem;
+ --spacing-sm: 0.25rem;
+ --spacing-md: 0.5rem;
+ --spacing-lg: 0.75rem;
+ --spacing-xl: 1rem;
+ --spacing-2xl: 1.5rem;
+
+ /* Shadows - CRT monitor glow */
+ --shadow-sm: 0 0 2px rgba(0, 255, 0, 0.5);
+ --shadow-md: 0 0 8px rgba(0, 255, 0, 0.3);
+ --shadow-lg: 0 0 20px rgba(0, 255, 0, 0.2);
+
+ /* Fonts */
+ --font-heading: 'JetBrains Mono', monospace;
+ --font-body: 'JetBrains Mono', monospace;
+ --font-mono: 'JetBrains Mono', monospace;
+}
+
+/* One Dark Theme - VS Code's beloved dark theme */
+.theme-muteddark,
+html[data-theme='muteddark'] {
+ --bg-primary: #282c34;
+ --bg-secondary: #21252b;
+ --bg-tertiary: #2c313a;
+
+ --text-primary: #abb2bf;
+ --text-secondary: #a2abc9;
+ --text-tertiary: #5c6370;
+
+ --color-primary: #e8ef61;
+ --color-primary-hover: color-mix(in srgb, var(--color-primary) 70%, white 30%);
+ --color-primary-dark: color-mix(in srgb, var(--color-primary) 70%, black 30%);
+
+ --color-success: #98c379;
+ --color-warning: #e5c07b;
+ --color-error: #e06c75;
+ --color-info: #61afef;
+
+ --color-purple: #c678dd;
+ --color-pink: #e06c75;
+
+ --border-primary: #3e4451;
+ --surface-hover: #2c313a;
+ --surface-active: #3e4451;
+
+ --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
+ --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
+ --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.5);
+
+ --font-heading: 'Open Sans', sans-serif;
+ --font-body: 'Source Code Pro', monospace;
+ --font-mono: 'Source Code Pro', monospace;
+}
+
+/* Solarized Theme - The scientifically designed color scheme */
+.theme-solarized,
+html[data-theme='solarized'] {
+ --bg-primary: #002b36;
+ --bg-secondary: #073642;
+ --bg-tertiary: #033947;
+
+ --text-primary: #839496;
+ --text-secondary: #93a1a1;
+ --text-tertiary: #657b83;
+
+ --color-primary: #268bd2;
+ --color-primary-hover: color-mix(in srgb, var(--color-primary) 70%, white 30%);
+ --color-primary-dark: color-mix(in srgb, var(--color-primary) 70%, black 30%);
+
+ --color-success: #859900;
+ --color-warning: #b58900;
+ --color-error: #dc322f;
+ --color-info: #268bd2;
+
+ --color-purple: #6c71c4;
+ --color-pink: #d33682;
+
+ --border-primary: #586e75;
+ --surface-hover: #073642;
+ --surface-active: #586e75;
+
+ --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
+ --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.3);
+ --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.4);
+
+ --font-heading: 'Lato', sans-serif;
+ --font-body: 'Inconsolata', monospace;
+ --font-mono: 'Inconsolata', monospace;
+}
+
+/* Nord Theme - Professional, cool, and muted */
+.theme-nord,
+html[data-theme='nord'] {
+ /* Backgrounds - Polar Night */
+ --bg-primary: #2e3440;
+ --bg-secondary: #3b4252;
+ --bg-tertiary: #434c5e;
+
+ /* Text - Snow Storm */
+ --text-primary: #eceff4;
+ --text-secondary: #d8dee9;
+ --text-tertiary: #e5e9f0;
+
+ /* Primary - Frost Blue */
+ --color-primary: #88c0d0;
+ --color-primary-hover: color-mix(in srgb, var(--color-primary) 70%, white 30%);
+ --color-primary-dark: color-mix(in srgb, var(--color-primary) 70%, black 30%);
+
+ /* Action colors - Aurora */
+ --color-success: #a3be8c;
+ --color-success-light: #b8d1a8;
+ --color-warning: #ebcb8b;
+ --color-warning-light: #f0d9a7;
+ --color-error: #bf616a;
+ --color-error-light: #d08770;
+ --color-info: #81a1c1;
+ --color-info-light: #88c0d0;
+
+ --color-purple: #b48ead;
+ --color-pink: #bf616a;
+
+ /* Borders & surfaces */
+ --border-primary: #4c566a;
+ --border-secondary: #434c5e;
+ --surface-hover: #313746;
+ --surface-active: #4c566a;
+
+ /* Shadows */
+ --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
+ --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.3);
+ --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.4);
+
+ /* Fonts */
+ --font-heading: 'IBM Plex Sans', sans-serif;
+ --font-body: 'IBM Plex Sans', sans-serif;
+ --font-mono: 'IBM Plex Mono', monospace;
+}
+
+/* Gruvbox Theme - Warm, retro, and earthy */
+.theme-gruvbox,
+html[data-theme='gruvbox'] {
+ /* Backgrounds - Dark Brown */
+ --bg-primary: #282828;
+ --bg-secondary: #3c3836;
+ --bg-tertiary: #504945;
+
+ /* Text - Light Cream */
+ --text-primary: #ebdbb2;
+ --text-secondary: #d5c4a1;
+ --text-tertiary: #bdae93;
+
+ /* Primary - Bright Yellow */
+ --color-primary: #fabd2f;
+ --color-primary-hover: color-mix(in srgb, var(--color-primary) 70%, white 30%);
+ --color-primary-dark: color-mix(in srgb, var(--color-primary) 70%, black 30%);
+
+ /* Action colors - Retro palette */
+ --color-success: #b8bb26;
+ --color-success-light: #98971a;
+ --color-warning: #fabd2f;
+ --color-warning-light: #d79921;
+ --color-error: #fb4934;
+ --color-error-light: #cc241d;
+ --color-info: #83a598;
+ --color-info-light: #458588;
+
+ --color-purple: #d3869b;
+ --color-pink: #fb4934;
+
+ /* Borders & surfaces */
+ --border-primary: #665c54;
+ --border-secondary: #504945;
+ --surface-hover: #3c3836;
+ --surface-active: #504945;
+
+ /* Shadows */
+ --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
+ --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
+ --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.5);
+
+ /* Fonts */
+ --font-heading: 'Ubuntu', sans-serif;
+ --font-body: 'Ubuntu Mono', monospace;
+ --font-mono: 'Ubuntu Mono', monospace;
+}
+
+/* Tokyo Night Theme - Deep blue, modern, popular */
+.theme-tokyonight,
+html[data-theme='tokyonight'] {
+ /* Backgrounds - Storm Night */
+ --bg-primary: #1a1b26;
+ --bg-secondary: #24283b;
+ --bg-tertiary: #414868;
+
+ /* Text - Cool White */
+ --text-primary: #c0caf5;
+ --text-secondary: #a9b1d6;
+ --text-tertiary: #9aa5ce;
+
+ /* Primary - Bright Blue */
+ --color-primary: #7aa2f7;
+ --color-primary-hover: color-mix(in srgb, var(--color-primary) 70%, white 30%);
+ --color-primary-dark: color-mix(in srgb, var(--color-primary) 70%, black 30%);
+
+ /* Action colors - Night palette */
+ --color-success: #9ece6a;
+ --color-success-light: #73daca;
+ --color-warning: #e0af68;
+ --color-warning-light: #ff9e64;
+ --color-error: #f7768e;
+ --color-error-light: #db4b4b;
+ --color-info: #7dcfff;
+ --color-info-light: #b4f9f8;
+
+ --color-purple: #bb9af7;
+ --color-pink: #f7768e;
+
+ /* Borders & surfaces */
+ --border-primary: #565f89;
+ --border-secondary: #414868;
+ --surface-hover: #292e42;
+ --surface-active: #3b4261;
+
+ /* Shadows */
+ --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
+ --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
+ --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
+
+ /* Fonts */
+ --font-heading: 'Fira Sans', sans-serif;
+ --font-body: 'Fira Code', monospace;
+ --font-mono: 'Fira Code', monospace;
+}
+
+/* Catppuccin Mocha Theme - Pastel dark, soothing */
+.theme-catppuccin,
+html[data-theme='catppuccin'] {
+ /* Backgrounds - Dark Mocha */
+ --bg-primary: #1e1e2e;
+ --bg-secondary: #181825;
+ --bg-tertiary: #313244;
+
+ /* Text - Light Latte */
+ --text-primary: #cdd6f4;
+ --text-secondary: #bac2de;
+ --text-tertiary: #a6adc8;
+
+ /* Primary - Lavender */
+ --color-primary: #b2a5ff;
+ --color-primary-hover: color-mix(in srgb, var(--color-primary) 70%, white 30%);
+ --color-primary-dark: color-mix(in srgb, var(--color-primary) 70%, black 30%);
+
+ /* Action colors - Pastel palette */
+ --color-success: #a6e3a1;
+ --color-success-light: #94e2d5;
+ --color-warning: #f9e2af;
+ --color-warning-light: #fab387;
+ --color-error: #f38ba8;
+ --color-error-light: #eba0ac;
+ --color-info: #89dceb;
+ --color-info-light: #89b4fa;
+
+ --color-purple: #cba6f7;
+ --color-pink: #f5c2e7;
+
+ /* Borders & surfaces */
+ --border-primary: #45475a;
+ --border-secondary: #313244;
+ --surface-hover: #313244;
+ --surface-active: #45475a;
+
+ /* Shadows */
+ --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
+ --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.3);
+ --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.4);
+
+ /* Fonts */
+ --font-heading: 'Outfit', sans-serif;
+ --font-body: 'Outfit', sans-serif;
+ --font-mono: 'JetBrains Mono', monospace;
+}
+
+/* Everforest Theme - Green, natural, easy on eyes */
+.theme-everforest,
+html[data-theme='everforest'] {
+ /* Backgrounds - Forest Floor */
+ --bg-primary: #2d353b;
+ --bg-secondary: #343f44;
+ --bg-tertiary: #3d484d;
+
+ /* Text - Cream */
+ --text-primary: #d3c6aa;
+ --text-secondary: #baa89f;
+ --text-tertiary: #859289;
+
+ /* Primary - Forest Green */
+ --color-primary: #a7c080;
+ --color-primary-hover: color-mix(in srgb, var(--color-primary) 70%, white 30%);
+ --color-primary-dark: color-mix(in srgb, var(--color-primary) 70%, black 30%);
+
+ /* Action colors - Natural palette */
+ --color-success: #a7c080;
+ --color-success-light: #83c092;
+ --color-warning: #dbbc7f;
+ --color-warning-light: #e69875;
+ --color-error: #e67e80;
+ --color-error-light: #e67e80;
+ --color-info: #7fbbb3;
+ --color-info-light: #a7c080;
+
+ --color-purple: #d699b6;
+ --color-pink: #e67e80;
+
+ /* Borders & surfaces */
+ --border-primary: #4f5b58;
+ --border-secondary: #3d484d;
+ --surface-hover: #3d484d;
+ --surface-active: #4f5b58;
+
+ /* Shadows */
+ --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
+ --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.3);
+ --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.4);
+
+ /* Fonts */
+ --font-heading: 'Nunito', sans-serif;
+ --font-body: 'Nunito', sans-serif;
+ --font-mono: 'Source Code Pro', monospace;
+}
diff --git a/src/styles/variables.scss b/src/styles/variables.scss
index bbbfd5a..3bfbb19 100644
--- a/src/styles/variables.scss
+++ b/src/styles/variables.scss
@@ -99,437 +99,6 @@
}
}
-.theme-ocean,
-html[data-theme='ocean'] {
- --color-primary: #70edb7;
- --color-primary-hover: #a0ffd0;
- --color-primary-dark: #38b48b;
- --bg-primary: #131c2b;
- --bg-secondary: #212c3d;
- --bg-tertiary: #151e2f;
- --text-secondary: #a0a7b0;
- --surface-hover: #2b384b;
- --border-primary: #30405b;
- --font-heading: 'Inter', sans-serif;
- --font-body: 'Inter', sans-serif;
-}
-
-.theme-purple,
-html[data-theme='purple'] {
- --color-primary: #cca6ff;
- --color-primary-hover: #d4b6fd;
- --color-primary-dark: #8d67c0;
- --bg-primary: #13182b;
- --bg-secondary: #101b31;
- --bg-tertiary: #222e45;
- --text-secondary: #a0a7b0;
- --surface-hover: #2b384b;
- --border-primary: #30405b;
- --font-body: 'Poppins', sans-serif;
- --font-heading: 'Lora', 'Poppins', sans-serif;
-}
-
-/* Light theme */
-.theme-lightpurple,
-html[data-theme='lightpurple'] {
- /* Background colors */
- --bg-primary: #f4f2fa;
- --bg-secondary: #fff; /* cards */
- --bg-tertiary: #f6f2fc; /* subtle panels / code blocks */
-
- /* Text colors (AA on light backgrounds) */
- --text-primary: #0b1220; /* ~19:1 on white */
- --text-secondary: #364152; /* ~15:1 on white */
- --text-tertiary: #6b7280; /* ~12:1 on white */
-
- /* Primary brand (use *-dark for filled buttons) */
- --color-primary: #af55fc;
- --color-primary-hover: #c581ff;
- --color-primary-dark: #872bd5;
-
- /* Action colors (chosen so white label text is AA) */
- --color-success: #15803d; /* white text ≥ 13:1 */
- --color-success-light: #40dc6c;
- --color-warning: #a16207; /* white text ≥ 7:1 */
- --color-warning-light: #bcbc1c;
- --color-error: #b91c1c; /* white text ≥ 6.5:1 */
- --color-error-light: #ff6e6e;
- --color-info: #0369a1; /* white text ≥ 10.6:1 */
- --color-info-light: #2cb5b5;
-
- --color-purple: #7c3aed; /* works on white with white text in fills */
- --color-pink: #db2777;
-
- /* Border & surface */
- --border-primary: #e5e7eb; /* default hairline */
- --border-secondary: #d1d5db; /* dividers on white */
- --surface-hover: #f6f2f9; /* interactive hover */
- --surface-active: #e9eef5; /* pressed/selected */
-
- /* Shadows (softer for light UI) */
- --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.08);
- --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.1);
- --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.16);
-}
-
-/* Cyberpunk Theme - Enhanced neon tech aesthetic with CRT effects */
-.theme-cyberpunk,
-html[data-theme='cyberpunk'] {
- --bg-primary: #0a0614;
- --bg-secondary: #110a1f;
- --bg-tertiary: #1a0f2e;
-
- --text-primary: #f0e6ff;
- --text-secondary: #b8a6d9;
- --text-tertiary: #8b7ba3;
-
- /* Primary - Hot pink neon */
- --color-primary: #e4ff00;
- --color-primary-hover: #eaff2f;
- --color-primary-dark: #b7cc00;
-
- /* Action colors - Enhanced neon palette */
- --color-success: #39ff14;
- --color-success-light: #7fff44;
- --color-warning: #ffdd00;
- --color-warning-light: #ffee55;
- --color-error: #ff0066;
- --color-error-light: #ff3388;
- --color-info: #00ddff;
- --color-info-light: #44eeff;
-
- --color-purple: #cc00ff;
- --color-pink: #ff0099;
-
- /* Borders & surfaces - Enhanced neon glow */
- --border-primary: #004d66;
- --border-secondary: #002233;
- --surface-hover: #001122;
- --surface-active: #003344;
-
- /* Shadows with enhanced neon glow effects */
- --shadow-sm: 0 0 4px rgba(0, 255, 204, 0.2);
- --shadow-md: 0 0 8px rgba(0, 255, 204, 0.3);
- --shadow-lg: 0 0 16px rgba(0, 255, 204, 0.4);
-
- /* Fonts */
- --font-heading: 'Orbitron', monospace;
- --font-body: 'Share Tech Mono', monospace;
- --font-mono: 'Share Tech Mono', monospace;
-
- h2 {
- color: #fd3d90 !important;
- }
-
- /* CRT Screen effect with moving scanlines */
- &::before {
- content: '';
- position: fixed;
- top: 0;
- left: 0;
- width: 100vw;
- height: 200vh;
- pointer-events: none;
- z-index: 9999;
- background: linear-gradient(
- 180deg,
- rgba(68, 239, 255, 0.1),
- transparent 49%,
- rgb(253, 61, 144, 0.08) 50%,
- transparent
- );
- background-size: 4px 4px;
- animation: crt-scanlines 8s linear infinite;
- }
-
- /* CRT Screen curvature effect on body */
- body::before {
- content: '';
- position: fixed;
- top: 0;
- left: 0;
- width: 100vw;
- height: 100vh;
- pointer-events: none;
- z-index: 9998;
- background: radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, 0.2) 100%);
- }
-
- /* Glitch effect for links */
- a {
- transition: all 0.3s ease;
-
- &:hover {
- animation: cyberpunk-glitch 0.3s ease-in-out;
- text-shadow:
- -1px 0 #ff006f,
- 1px 0 #00ffcc;
- }
-
- &:hover::before {
- content: attr(href);
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- color: #ff006f;
- background: transparent;
- clip: rect(0, 0, 0, 0);
- animation: cyberpunk-glitch-overlay 0.3s ease-in-out;
- }
-
- &:hover::after {
- content: attr(href);
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- color: #00ffcc;
- background: transparent;
- clip: rect(0, 0, 0, 0);
- animation: cyberpunk-glitch-overlay-2 0.3s ease-in-out;
- }
- }
-}
-
-/* Cyberpunk animations */
-@keyframes crt-scanlines {
- 0% {
- transform: translateY(-5vh);
- }
- 100% {
- transform: translateY(0);
- }
-}
-
-@keyframes crt-flicker {
- 0% {
- opacity: 1;
- }
- 98% {
- opacity: 0.85;
- }
- 99% {
- opacity: 0.99;
- }
- 100% {
- opacity: 1;
- }
-}
-
-@keyframes cyberpunk-glitch {
- 0%,
- 100% {
- transform: translate(0);
- }
- 20% {
- transform: translate(-2px, 2px);
- }
- 40% {
- transform: translate(-2px, -2px);
- }
- 60% {
- transform: translate(2px, 2px);
- }
- 80% {
- transform: translate(2px, -2px);
- }
-}
-
-@keyframes cyberpunk-glitch-overlay {
- 0% {
- clip: rect(42px, 9999px, 44px, 0);
- }
- 25% {
- clip: rect(12px, 9999px, 59px, 0);
- }
- 50% {
- clip: rect(78px, 9999px, 23px, 0);
- }
- 75% {
- clip: rect(34px, 9999px, 67px, 0);
- }
- 100% {
- clip: rect(91px, 9999px, 18px, 0);
- }
-}
-
-@keyframes cyberpunk-glitch-overlay-2 {
- 0% {
- clip: rect(65px, 9999px, 23px, 0);
- }
- 25% {
- clip: rect(34px, 9999px, 89px, 0);
- }
- 50% {
- clip: rect(12px, 9999px, 56px, 0);
- }
- 75% {
- clip: rect(78px, 9999px, 34px, 0);
- }
- 100% {
- clip: rect(23px, 9999px, 67px, 0);
- }
-}
-
-/* Midnight Theme - Sophisticated deep blues and purples */
-.theme-midnight,
-html[data-theme='midnight'] {
- /* Backgrounds - Deep midnight blues */
- --bg-primary: #0a0e27;
- --bg-secondary: #0f1538;
- --bg-tertiary: #141c4c;
-
- /* Text - Cool silver tones */
- --text-primary: #e8eaf6;
- --text-secondary: #9fa8da;
- --text-tertiary: #7986cb;
-
- /* Primary - Royal blue */
- --color-primary: #5e72e4;
- --color-primary-hover: #7e8fff;
- --color-primary-dark: #3f51b5;
-
- /* Action colors - Sophisticated palette */
- --color-success: #56f1c7;
- --color-success-light: #7fffd4;
- --color-warning: #ffd93d;
- --color-warning-light: #ffe566;
- --color-error: #ff5252;
- --color-error-light: #ff7979;
- --color-info: #82b1ff;
- --color-info-light: #a3c3ff;
-
- --color-purple: #9c88ff;
- --color-pink: #f8b5ce;
-
- /* Borders & surfaces - Deep space */
- --border-primary: #2a3f7d;
- --border-secondary: #1e2c5f;
- --surface-hover: #1a2555;
- --surface-active: #243270;
-
- /* Shadows - Deep and mysterious */
- --shadow-sm: 0 2px 8px rgba(94, 114, 228, 0.1);
- --shadow-md: 0 8px 20px rgba(94, 114, 228, 0.15);
- --shadow-lg: 0 16px 40px rgba(94, 114, 228, 0.2);
-
- /* Fonts */
- --font-heading: 'Montserrat', sans-serif;
- --font-body: 'IBM Plex Mono', monospace;
- --font-mono: 'IBM Plex Mono', monospace;
-}
-
-/* Arctic Theme - Cool, crisp, and minimal */
-.theme-arctic,
-html[data-theme='arctic'] {
- /* Backgrounds - Cool whites and light blues */
- --bg-primary: #f5f5f5;
- --bg-secondary: #ffffff;
- --bg-tertiary: #e3f2fd;
-
- /* Text - Deep slate for contrast */
- --text-primary: #263238;
- --text-secondary: #546e7a;
- --text-tertiary: #78909c;
-
- /* Primary - Ice blue */
- --color-primary: #00acc1;
- --color-primary-hover: #26c6da;
- --color-primary-dark: #0097a7;
-
- /* Action colors - Cool and crisp */
- --color-success: #00897b;
- --color-success-light: #26a69a;
- --color-warning: #ffb300;
- --color-warning-light: #ffc947;
- --color-error: #e53935;
- --color-error-light: #ef5350;
- --color-info: #039be5;
- --color-info-light: #29b6f6;
-
- --color-purple: #7e57c2;
- --color-pink: #ec407a;
-
- /* Borders & surfaces - Clean and minimal */
- --border-primary: #cfd8dc;
- --border-secondary: #b0bec5;
- --surface-hover: #eceff1;
- --surface-active: #cfd8dc;
-
- /* Shadows - Light and airy */
- --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
- --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
- --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.12);
-
- /* Fonts */
- --font-heading: 'Raleway', sans-serif;
- --font-body: 'Raleway', sans-serif;
- --font-mono: 'Source Code Pro', monospace;
-}
-
-/* Terminal Theme - Classic green-on-black terminal aesthetic */
-.theme-terminal,
-html[data-theme='terminal'] {
- /* Backgrounds - Pure blacks */
- --bg-primary: #000000;
- --bg-secondary: #0a0a0a;
- --bg-tertiary: #1a1a1a;
-
- /* Text - Classic terminal green */
- --text-primary: #00ff00;
- --text-secondary: #00cc00;
- --text-tertiary: #009900;
-
- /* Primary - Bright green */
- --color-primary: #00ff00;
- --color-primary-hover: #66ff66;
- --color-primary-dark: #00cc00;
-
- /* Action colors - Retro terminal colors */
- --color-success: #00ff00;
- --color-success-light: #66ff66;
- --color-warning: #ffff00;
- --color-warning-light: #ffff66;
- --color-error: #ff0000;
- --color-error-light: #ff6666;
- --color-info: #00ffff;
- --color-info-light: #66ffff;
-
- --color-purple: #ff00ff;
- --color-pink: #ff00aa;
-
- /* Borders & surfaces - Subtle terminal feel */
- --border-primary: #00ff00;
- --border-secondary: #009900;
- --surface-hover: #001100;
- --surface-active: #002200;
-
- --radius-sm: 0;
- --radius-md: 0;
- --radius-lg: 2px;
-
- --spacing-2xs: 0.125rem;
- --spacing-xs: 0.125rem;
- --spacing-sm: 0.25rem;
- --spacing-md: 0.5rem;
- --spacing-lg: 0.75rem;
- --spacing-xl: 1rem;
- --spacing-2xl: 1.5rem;
-
- /* Shadows - CRT monitor glow */
- --shadow-sm: 0 0 2px rgba(0, 255, 0, 0.5);
- --shadow-md: 0 0 8px rgba(0, 255, 0, 0.3);
- --shadow-lg: 0 0 20px rgba(0, 255, 0, 0.2);
-
- /* Fonts */
- --font-heading: 'JetBrains Mono', monospace;
- --font-body: 'JetBrains Mono', monospace;
- --font-mono: 'JetBrains Mono', monospace;
-}
-
/* Minimal Theme - Clean and modern */
.theme-light,
html[data-theme='light'] {
@@ -542,8 +111,8 @@ html[data-theme='light'] {
--text-tertiary: #9e9e9e;
--color-primary: #2196f3;
- --color-primary-hover: #42a5f5;
- --color-primary-dark: #1976d2;
+ --color-primary-hover: color-mix(in srgb, var(--color-primary) 85%, white 15%);
+ --color-primary-dark: color-mix(in srgb, var(--color-primary) 85%, black 15%);
--color-success: #4caf50;
--color-warning: #ff9800;
@@ -563,75 +132,3 @@ html[data-theme='light'] {
--font-body: 'Inter', sans-serif;
--font-mono: 'Roboto Mono', monospace;
}
-
-/* One Dark Theme - VS Code's beloved dark theme */
-.theme-muteddark,
-html[data-theme='muteddark'] {
- --bg-primary: #282c34;
- --bg-secondary: #21252b;
- --bg-tertiary: #2c313a;
-
- --text-primary: #abb2bf;
- --text-secondary: #a2abc9;
- --text-tertiary: #5c6370;
-
- --color-primary: #e8ef61;
- --color-primary-hover: #f1f86d;
- --color-primary-dark: #e1e956;
-
- --color-success: #98c379;
- --color-warning: #e5c07b;
- --color-error: #e06c75;
- --color-info: #61afef;
-
- --color-purple: #c678dd;
- --color-pink: #e06c75;
-
- --border-primary: #3e4451;
- --surface-hover: #2c313a;
- --surface-active: #3e4451;
-
- --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
- --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
- --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.5);
-
- --font-heading: 'Open Sans', sans-serif;
- --font-body: 'Source Code Pro', monospace;
- --font-mono: 'Source Code Pro', monospace;
-}
-
-/* Solarized Theme - The scientifically designed color scheme */
-.theme-solarized,
-html[data-theme='solarized'] {
- --bg-primary: #002b36;
- --bg-secondary: #073642;
- --bg-tertiary: #033947;
-
- --text-primary: #839496;
- --text-secondary: #93a1a1;
- --text-tertiary: #657b83;
-
- --color-primary: #268bd2;
- --color-primary-hover: #4ba3e2;
- --color-primary-dark: #1e73a9;
-
- --color-success: #859900;
- --color-warning: #b58900;
- --color-error: #dc322f;
- --color-info: #268bd2;
-
- --color-purple: #6c71c4;
- --color-pink: #d33682;
-
- --border-primary: #586e75;
- --surface-hover: #073642;
- --surface-active: #586e75;
-
- --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
- --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.3);
- --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.4);
-
- --font-heading: 'Lato', sans-serif;
- --font-body: 'Inconsolata', monospace;
- --font-mono: 'Inconsolata', monospace;
-}