@doneisbetter/gds-theme 3.0.3 → 3.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@ import {
5
5
  getGdsThemePresets,
6
6
  getGdsVibeThemeCssVariables,
7
7
  resolveGdsThemePreset
8
- } from "./chunk-OMSQVRZK.mjs";
8
+ } from "./chunk-H7L27ZEE.mjs";
9
9
 
10
10
  // src/theme-runtime.ts
11
11
  import { useCallback, useEffect, useState } from "react";
@@ -20,7 +20,7 @@ function isScheme(value) {
20
20
  return value === "light" || value === "dark" || value === "auto";
21
21
  }
22
22
  function resolveEffectiveScheme(preset, colorScheme) {
23
- if (preset === "dark-public" || preset === "neon-night") {
23
+ if (preset === "dark-public" || preset === "neon-night" || preset === "cosmic") {
24
24
  return "dark";
25
25
  }
26
26
  return colorScheme;
@@ -262,7 +262,8 @@ var customPresetThemes = {
262
262
  coral: createVibrantPresetTheme("pink"),
263
263
  mint: createVibrantPresetTheme("lime"),
264
264
  orchid: createVibrantPresetTheme("grape"),
265
- royal: createVibrantPresetTheme("violet")
265
+ royal: createVibrantPresetTheme("violet"),
266
+ cosmic: createVibrantPresetTheme("violet", { darkForward: true })
266
267
  };
267
268
  var themePresetCatalog = [
268
269
  { id: "default", label: "Default runtime theme", description: "Balanced, neutral baseline lane.", runtimeLane: "gdsTheme" },
@@ -281,7 +282,8 @@ var themePresetCatalog = [
281
282
  { id: "coral", label: "Coral bloom", description: "Expressive pink-coral lane for creator, commerce, and social products.", runtimeLane: "resolveGdsThemePreset(coral)" },
282
283
  { id: "mint", label: "Mint circuit", description: "Clean green-mint lane for health, learning, and growth products.", runtimeLane: "resolveGdsThemePreset(mint)" },
283
284
  { id: "orchid", label: "Orchid signal", description: "Purple-grape lane for editorial, culture, and premium tools.", runtimeLane: "resolveGdsThemePreset(orchid)" },
284
- { id: "royal", label: "Royal violet", description: "Confident violet lane for SaaS dashboards and professional apps.", runtimeLane: "resolveGdsThemePreset(royal)" }
285
+ { id: "royal", label: "Royal violet", description: "Confident violet lane for SaaS dashboards and professional apps.", runtimeLane: "resolveGdsThemePreset(royal)" },
286
+ { id: "cosmic", label: "Cosmic burst", description: "Highly saturated blue-violet-cyan-magenta showcase lane for bold public apps and launch surfaces.", runtimeLane: "resolveGdsThemePreset(cosmic)" }
285
287
  ];
286
288
  function getGdsThemePresets() {
287
289
  return themePresetCatalog;
@@ -566,6 +568,27 @@ var vibeThemes = {
566
568
  borderLight: "rgba(124, 58, 237, 0.3)",
567
569
  gradient: "radial-gradient(circle at 15% 9%, rgba(124, 58, 237, 0.34), transparent 28%), radial-gradient(circle at 82% 12%, rgba(6, 182, 212, 0.28), transparent 30%), radial-gradient(circle at 92% 72%, rgba(236, 72, 153, 0.2), transparent 26%)",
568
570
  hero: "linear-gradient(135deg, rgba(124, 58, 237, 0.28), rgba(6, 182, 212, 0.18), rgba(236, 72, 153, 0.18))"
571
+ },
572
+ cosmic: {
573
+ id: "cosmic",
574
+ label: "Cosmic burst",
575
+ primary: "#7c3cff",
576
+ accent: "#e018ff",
577
+ glow: "rgba(224, 24, 255, 0.36)",
578
+ canvasLight: "#071a80",
579
+ canvasDark: "#030018",
580
+ shellLight: "rgba(10, 18, 70, 0.72)",
581
+ shellDark: "rgba(8, 10, 42, 0.84)",
582
+ surfaceLight: "rgba(10, 18, 70, 0.82)",
583
+ surfaceDark: "rgba(9, 14, 54, 0.76)",
584
+ borderLight: "rgba(190, 160, 255, 0.45)",
585
+ borderDark: "rgba(190, 160, 255, 0.52)",
586
+ textLight: "#ffffff",
587
+ textDark: "#ffffff",
588
+ mutedLight: "rgba(245, 247, 255, 0.84)",
589
+ mutedDark: "rgba(235, 238, 255, 0.78)",
590
+ gradient: "radial-gradient(circle at 92% 32%, rgba(255, 180, 70, 0.95) 0 8%, transparent 22%), radial-gradient(circle at 84% 42%, rgba(255, 45, 190, 0.75) 0 12%, transparent 28%), radial-gradient(circle at 72% 18%, rgba(0, 220, 255, 0.55) 0 11%, transparent 28%), radial-gradient(circle at 22% 82%, rgba(255, 60, 210, 0.35) 0 5%, transparent 16%), linear-gradient(135deg, #19005c 0%, #071a80 38%, #003fd1 63%, #4d08a8 100%)",
591
+ hero: "linear-gradient(135deg, rgba(124, 60, 255, 0.84), rgba(224, 24, 255, 0.62), rgba(255, 155, 61, 0.72))"
569
592
  }
570
593
  };
571
594
  function getGdsVibeThemes() {
package/dist/client.js CHANGED
@@ -307,7 +307,8 @@ var customPresetThemes = {
307
307
  coral: createVibrantPresetTheme("pink"),
308
308
  mint: createVibrantPresetTheme("lime"),
309
309
  orchid: createVibrantPresetTheme("grape"),
310
- royal: createVibrantPresetTheme("violet")
310
+ royal: createVibrantPresetTheme("violet"),
311
+ cosmic: createVibrantPresetTheme("violet", { darkForward: true })
311
312
  };
312
313
  var themePresetCatalog = [
313
314
  { id: "default", label: "Default runtime theme", description: "Balanced, neutral baseline lane.", runtimeLane: "gdsTheme" },
@@ -326,7 +327,8 @@ var themePresetCatalog = [
326
327
  { id: "coral", label: "Coral bloom", description: "Expressive pink-coral lane for creator, commerce, and social products.", runtimeLane: "resolveGdsThemePreset(coral)" },
327
328
  { id: "mint", label: "Mint circuit", description: "Clean green-mint lane for health, learning, and growth products.", runtimeLane: "resolveGdsThemePreset(mint)" },
328
329
  { id: "orchid", label: "Orchid signal", description: "Purple-grape lane for editorial, culture, and premium tools.", runtimeLane: "resolveGdsThemePreset(orchid)" },
329
- { id: "royal", label: "Royal violet", description: "Confident violet lane for SaaS dashboards and professional apps.", runtimeLane: "resolveGdsThemePreset(royal)" }
330
+ { id: "royal", label: "Royal violet", description: "Confident violet lane for SaaS dashboards and professional apps.", runtimeLane: "resolveGdsThemePreset(royal)" },
331
+ { id: "cosmic", label: "Cosmic burst", description: "Highly saturated blue-violet-cyan-magenta showcase lane for bold public apps and launch surfaces.", runtimeLane: "resolveGdsThemePreset(cosmic)" }
330
332
  ];
331
333
  function getGdsThemePresets() {
332
334
  return themePresetCatalog;
@@ -611,6 +613,27 @@ var vibeThemes = {
611
613
  borderLight: "rgba(124, 58, 237, 0.3)",
612
614
  gradient: "radial-gradient(circle at 15% 9%, rgba(124, 58, 237, 0.34), transparent 28%), radial-gradient(circle at 82% 12%, rgba(6, 182, 212, 0.28), transparent 30%), radial-gradient(circle at 92% 72%, rgba(236, 72, 153, 0.2), transparent 26%)",
613
615
  hero: "linear-gradient(135deg, rgba(124, 58, 237, 0.28), rgba(6, 182, 212, 0.18), rgba(236, 72, 153, 0.18))"
616
+ },
617
+ cosmic: {
618
+ id: "cosmic",
619
+ label: "Cosmic burst",
620
+ primary: "#7c3cff",
621
+ accent: "#e018ff",
622
+ glow: "rgba(224, 24, 255, 0.36)",
623
+ canvasLight: "#071a80",
624
+ canvasDark: "#030018",
625
+ shellLight: "rgba(10, 18, 70, 0.72)",
626
+ shellDark: "rgba(8, 10, 42, 0.84)",
627
+ surfaceLight: "rgba(10, 18, 70, 0.82)",
628
+ surfaceDark: "rgba(9, 14, 54, 0.76)",
629
+ borderLight: "rgba(190, 160, 255, 0.45)",
630
+ borderDark: "rgba(190, 160, 255, 0.52)",
631
+ textLight: "#ffffff",
632
+ textDark: "#ffffff",
633
+ mutedLight: "rgba(245, 247, 255, 0.84)",
634
+ mutedDark: "rgba(235, 238, 255, 0.78)",
635
+ gradient: "radial-gradient(circle at 92% 32%, rgba(255, 180, 70, 0.95) 0 8%, transparent 22%), radial-gradient(circle at 84% 42%, rgba(255, 45, 190, 0.75) 0 12%, transparent 28%), radial-gradient(circle at 72% 18%, rgba(0, 220, 255, 0.55) 0 11%, transparent 28%), radial-gradient(circle at 22% 82%, rgba(255, 60, 210, 0.35) 0 5%, transparent 16%), linear-gradient(135deg, #19005c 0%, #071a80 38%, #003fd1 63%, #4d08a8 100%)",
636
+ hero: "linear-gradient(135deg, rgba(124, 60, 255, 0.84), rgba(224, 24, 255, 0.62), rgba(255, 155, 61, 0.72))"
614
637
  }
615
638
  };
616
639
  function getGdsVibeThemes() {
@@ -681,7 +704,7 @@ function isScheme(value) {
681
704
  return value === "light" || value === "dark" || value === "auto";
682
705
  }
683
706
  function resolveEffectiveScheme(preset, colorScheme) {
684
- if (preset === "dark-public" || preset === "neon-night") {
707
+ if (preset === "dark-public" || preset === "neon-night" || preset === "cosmic") {
685
708
  return "dark";
686
709
  }
687
710
  return colorScheme;
package/dist/client.mjs CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  showGdsNotification,
5
5
  useGdsThemePresetState,
6
6
  useGdsTranslation
7
- } from "./chunk-G42DZXE5.mjs";
7
+ } from "./chunk-DDAWLOKZ.mjs";
8
8
  import {
9
9
  applyGdsFontLane,
10
10
  createPublicBrandTheme,
@@ -21,7 +21,7 @@ import {
21
21
  resolveGdsThemePreset,
22
22
  resolveGdsVibeTheme,
23
23
  withGdsMotion
24
- } from "./chunk-OMSQVRZK.mjs";
24
+ } from "./chunk-H7L27ZEE.mjs";
25
25
  export {
26
26
  GdsProvider,
27
27
  applyGdsFontLane,
package/dist/index.js CHANGED
@@ -307,7 +307,8 @@ var customPresetThemes = {
307
307
  coral: createVibrantPresetTheme("pink"),
308
308
  mint: createVibrantPresetTheme("lime"),
309
309
  orchid: createVibrantPresetTheme("grape"),
310
- royal: createVibrantPresetTheme("violet")
310
+ royal: createVibrantPresetTheme("violet"),
311
+ cosmic: createVibrantPresetTheme("violet", { darkForward: true })
311
312
  };
312
313
  var themePresetCatalog = [
313
314
  { id: "default", label: "Default runtime theme", description: "Balanced, neutral baseline lane.", runtimeLane: "gdsTheme" },
@@ -326,7 +327,8 @@ var themePresetCatalog = [
326
327
  { id: "coral", label: "Coral bloom", description: "Expressive pink-coral lane for creator, commerce, and social products.", runtimeLane: "resolveGdsThemePreset(coral)" },
327
328
  { id: "mint", label: "Mint circuit", description: "Clean green-mint lane for health, learning, and growth products.", runtimeLane: "resolveGdsThemePreset(mint)" },
328
329
  { id: "orchid", label: "Orchid signal", description: "Purple-grape lane for editorial, culture, and premium tools.", runtimeLane: "resolveGdsThemePreset(orchid)" },
329
- { id: "royal", label: "Royal violet", description: "Confident violet lane for SaaS dashboards and professional apps.", runtimeLane: "resolveGdsThemePreset(royal)" }
330
+ { id: "royal", label: "Royal violet", description: "Confident violet lane for SaaS dashboards and professional apps.", runtimeLane: "resolveGdsThemePreset(royal)" },
331
+ { id: "cosmic", label: "Cosmic burst", description: "Highly saturated blue-violet-cyan-magenta showcase lane for bold public apps and launch surfaces.", runtimeLane: "resolveGdsThemePreset(cosmic)" }
330
332
  ];
331
333
  function getGdsThemePresets() {
332
334
  return themePresetCatalog;
@@ -611,6 +613,27 @@ var vibeThemes = {
611
613
  borderLight: "rgba(124, 58, 237, 0.3)",
612
614
  gradient: "radial-gradient(circle at 15% 9%, rgba(124, 58, 237, 0.34), transparent 28%), radial-gradient(circle at 82% 12%, rgba(6, 182, 212, 0.28), transparent 30%), radial-gradient(circle at 92% 72%, rgba(236, 72, 153, 0.2), transparent 26%)",
613
615
  hero: "linear-gradient(135deg, rgba(124, 58, 237, 0.28), rgba(6, 182, 212, 0.18), rgba(236, 72, 153, 0.18))"
616
+ },
617
+ cosmic: {
618
+ id: "cosmic",
619
+ label: "Cosmic burst",
620
+ primary: "#7c3cff",
621
+ accent: "#e018ff",
622
+ glow: "rgba(224, 24, 255, 0.36)",
623
+ canvasLight: "#071a80",
624
+ canvasDark: "#030018",
625
+ shellLight: "rgba(10, 18, 70, 0.72)",
626
+ shellDark: "rgba(8, 10, 42, 0.84)",
627
+ surfaceLight: "rgba(10, 18, 70, 0.82)",
628
+ surfaceDark: "rgba(9, 14, 54, 0.76)",
629
+ borderLight: "rgba(190, 160, 255, 0.45)",
630
+ borderDark: "rgba(190, 160, 255, 0.52)",
631
+ textLight: "#ffffff",
632
+ textDark: "#ffffff",
633
+ mutedLight: "rgba(245, 247, 255, 0.84)",
634
+ mutedDark: "rgba(235, 238, 255, 0.78)",
635
+ gradient: "radial-gradient(circle at 92% 32%, rgba(255, 180, 70, 0.95) 0 8%, transparent 22%), radial-gradient(circle at 84% 42%, rgba(255, 45, 190, 0.75) 0 12%, transparent 28%), radial-gradient(circle at 72% 18%, rgba(0, 220, 255, 0.55) 0 11%, transparent 28%), radial-gradient(circle at 22% 82%, rgba(255, 60, 210, 0.35) 0 5%, transparent 16%), linear-gradient(135deg, #19005c 0%, #071a80 38%, #003fd1 63%, #4d08a8 100%)",
636
+ hero: "linear-gradient(135deg, rgba(124, 60, 255, 0.84), rgba(224, 24, 255, 0.62), rgba(255, 155, 61, 0.72))"
614
637
  }
615
638
  };
616
639
  function getGdsVibeThemes() {
@@ -681,7 +704,7 @@ function isScheme(value) {
681
704
  return value === "light" || value === "dark" || value === "auto";
682
705
  }
683
706
  function resolveEffectiveScheme(preset, colorScheme) {
684
- if (preset === "dark-public" || preset === "neon-night") {
707
+ if (preset === "dark-public" || preset === "neon-night" || preset === "cosmic") {
685
708
  return "dark";
686
709
  }
687
710
  return colorScheme;
package/dist/index.mjs CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  showGdsNotification,
5
5
  useGdsThemePresetState,
6
6
  useGdsTranslation
7
- } from "./chunk-G42DZXE5.mjs";
7
+ } from "./chunk-DDAWLOKZ.mjs";
8
8
  import {
9
9
  applyGdsFontLane,
10
10
  createPublicBrandTheme,
@@ -21,7 +21,7 @@ import {
21
21
  resolveGdsThemePreset,
22
22
  resolveGdsVibeTheme,
23
23
  withGdsMotion
24
- } from "./chunk-OMSQVRZK.mjs";
24
+ } from "./chunk-H7L27ZEE.mjs";
25
25
  export {
26
26
  GdsProvider,
27
27
  applyGdsFontLane,
package/dist/server.d.mts CHANGED
@@ -19,7 +19,7 @@ declare function createPublicBrandTheme({ editorialSerif, flatSurfaces, override
19
19
  declare function extendGdsTheme(overrides?: MantineThemeOverride): MantineTheme;
20
20
  declare function withGdsMotion(overrides?: MantineThemeOverride): MantineTheme;
21
21
 
22
- type GdsThemePresetId = 'default' | 'dark-public' | 'flat-surface' | 'editorial' | 'brand' | 'sunset' | 'oceanic' | 'forest' | 'ruby' | 'amber' | 'neon-night' | 'skyline' | 'aurora' | 'coral' | 'mint' | 'orchid' | 'royal';
22
+ type GdsThemePresetId = 'default' | 'dark-public' | 'flat-surface' | 'editorial' | 'brand' | 'sunset' | 'oceanic' | 'forest' | 'ruby' | 'amber' | 'neon-night' | 'skyline' | 'aurora' | 'coral' | 'mint' | 'orchid' | 'royal' | 'cosmic';
23
23
  interface GdsThemePreset {
24
24
  id: GdsThemePresetId;
25
25
  label: string;
package/dist/server.d.ts CHANGED
@@ -19,7 +19,7 @@ declare function createPublicBrandTheme({ editorialSerif, flatSurfaces, override
19
19
  declare function extendGdsTheme(overrides?: MantineThemeOverride): MantineTheme;
20
20
  declare function withGdsMotion(overrides?: MantineThemeOverride): MantineTheme;
21
21
 
22
- type GdsThemePresetId = 'default' | 'dark-public' | 'flat-surface' | 'editorial' | 'brand' | 'sunset' | 'oceanic' | 'forest' | 'ruby' | 'amber' | 'neon-night' | 'skyline' | 'aurora' | 'coral' | 'mint' | 'orchid' | 'royal';
22
+ type GdsThemePresetId = 'default' | 'dark-public' | 'flat-surface' | 'editorial' | 'brand' | 'sunset' | 'oceanic' | 'forest' | 'ruby' | 'amber' | 'neon-night' | 'skyline' | 'aurora' | 'coral' | 'mint' | 'orchid' | 'royal' | 'cosmic';
23
23
  interface GdsThemePreset {
24
24
  id: GdsThemePresetId;
25
25
  label: string;
package/dist/server.js CHANGED
@@ -302,7 +302,8 @@ var customPresetThemes = {
302
302
  coral: createVibrantPresetTheme("pink"),
303
303
  mint: createVibrantPresetTheme("lime"),
304
304
  orchid: createVibrantPresetTheme("grape"),
305
- royal: createVibrantPresetTheme("violet")
305
+ royal: createVibrantPresetTheme("violet"),
306
+ cosmic: createVibrantPresetTheme("violet", { darkForward: true })
306
307
  };
307
308
  var themePresetCatalog = [
308
309
  { id: "default", label: "Default runtime theme", description: "Balanced, neutral baseline lane.", runtimeLane: "gdsTheme" },
@@ -321,7 +322,8 @@ var themePresetCatalog = [
321
322
  { id: "coral", label: "Coral bloom", description: "Expressive pink-coral lane for creator, commerce, and social products.", runtimeLane: "resolveGdsThemePreset(coral)" },
322
323
  { id: "mint", label: "Mint circuit", description: "Clean green-mint lane for health, learning, and growth products.", runtimeLane: "resolveGdsThemePreset(mint)" },
323
324
  { id: "orchid", label: "Orchid signal", description: "Purple-grape lane for editorial, culture, and premium tools.", runtimeLane: "resolveGdsThemePreset(orchid)" },
324
- { id: "royal", label: "Royal violet", description: "Confident violet lane for SaaS dashboards and professional apps.", runtimeLane: "resolveGdsThemePreset(royal)" }
325
+ { id: "royal", label: "Royal violet", description: "Confident violet lane for SaaS dashboards and professional apps.", runtimeLane: "resolveGdsThemePreset(royal)" },
326
+ { id: "cosmic", label: "Cosmic burst", description: "Highly saturated blue-violet-cyan-magenta showcase lane for bold public apps and launch surfaces.", runtimeLane: "resolveGdsThemePreset(cosmic)" }
325
327
  ];
326
328
  function getGdsThemePresets() {
327
329
  return themePresetCatalog;
@@ -606,6 +608,27 @@ var vibeThemes = {
606
608
  borderLight: "rgba(124, 58, 237, 0.3)",
607
609
  gradient: "radial-gradient(circle at 15% 9%, rgba(124, 58, 237, 0.34), transparent 28%), radial-gradient(circle at 82% 12%, rgba(6, 182, 212, 0.28), transparent 30%), radial-gradient(circle at 92% 72%, rgba(236, 72, 153, 0.2), transparent 26%)",
608
610
  hero: "linear-gradient(135deg, rgba(124, 58, 237, 0.28), rgba(6, 182, 212, 0.18), rgba(236, 72, 153, 0.18))"
611
+ },
612
+ cosmic: {
613
+ id: "cosmic",
614
+ label: "Cosmic burst",
615
+ primary: "#7c3cff",
616
+ accent: "#e018ff",
617
+ glow: "rgba(224, 24, 255, 0.36)",
618
+ canvasLight: "#071a80",
619
+ canvasDark: "#030018",
620
+ shellLight: "rgba(10, 18, 70, 0.72)",
621
+ shellDark: "rgba(8, 10, 42, 0.84)",
622
+ surfaceLight: "rgba(10, 18, 70, 0.82)",
623
+ surfaceDark: "rgba(9, 14, 54, 0.76)",
624
+ borderLight: "rgba(190, 160, 255, 0.45)",
625
+ borderDark: "rgba(190, 160, 255, 0.52)",
626
+ textLight: "#ffffff",
627
+ textDark: "#ffffff",
628
+ mutedLight: "rgba(245, 247, 255, 0.84)",
629
+ mutedDark: "rgba(235, 238, 255, 0.78)",
630
+ gradient: "radial-gradient(circle at 92% 32%, rgba(255, 180, 70, 0.95) 0 8%, transparent 22%), radial-gradient(circle at 84% 42%, rgba(255, 45, 190, 0.75) 0 12%, transparent 28%), radial-gradient(circle at 72% 18%, rgba(0, 220, 255, 0.55) 0 11%, transparent 28%), radial-gradient(circle at 22% 82%, rgba(255, 60, 210, 0.35) 0 5%, transparent 16%), linear-gradient(135deg, #19005c 0%, #071a80 38%, #003fd1 63%, #4d08a8 100%)",
631
+ hero: "linear-gradient(135deg, rgba(124, 60, 255, 0.84), rgba(224, 24, 255, 0.62), rgba(255, 155, 61, 0.72))"
609
632
  }
610
633
  };
611
634
  function getGdsVibeThemes() {
package/dist/server.mjs CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  resolveGdsThemePreset,
15
15
  resolveGdsVibeTheme,
16
16
  withGdsMotion
17
- } from "./chunk-OMSQVRZK.mjs";
17
+ } from "./chunk-H7L27ZEE.mjs";
18
18
  export {
19
19
  applyGdsFontLane,
20
20
  createPublicBrandTheme,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doneisbetter/gds-theme",
3
- "version": "3.0.3",
3
+ "version": "3.0.5",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
package/styles.css CHANGED
@@ -228,6 +228,144 @@ html[data-gds-theme-preset='royal'] .mantine-Card-root {
228
228
  border-color: color-mix(in srgb, var(--gds-vibe-border) 78%, var(--gds-vibe-primary)) !important;
229
229
  }
230
230
 
231
+ html[data-gds-theme-preset='cosmic'] body {
232
+ color: #ffffff;
233
+ background:
234
+ radial-gradient(circle at 92% 32%, rgba(255, 180, 70, 0.95) 0 8%, transparent 22%),
235
+ radial-gradient(circle at 84% 42%, rgba(255, 45, 190, 0.75) 0 12%, transparent 28%),
236
+ radial-gradient(circle at 72% 18%, rgba(0, 220, 255, 0.55) 0 11%, transparent 28%),
237
+ radial-gradient(circle at 22% 82%, rgba(255, 60, 210, 0.35) 0 5%, transparent 16%),
238
+ linear-gradient(135deg, #19005c 0%, #071a80 38%, #003fd1 63%, #4d08a8 100%) !important;
239
+ background-attachment: fixed;
240
+ }
241
+
242
+ html[data-gds-theme-preset='cosmic'] body::before {
243
+ position: fixed;
244
+ inset: 0;
245
+ z-index: -1;
246
+ pointer-events: none;
247
+ content: '';
248
+ background:
249
+ radial-gradient(circle at 80% 30%, rgba(160, 42, 255, 0.95) 0 4%, transparent 11%),
250
+ radial-gradient(circle at 72% 36%, rgba(0, 145, 255, 0.8) 0 3%, transparent 9%),
251
+ radial-gradient(circle at 98% 74%, rgba(120, 25, 255, 0.75) 0 10%, transparent 24%),
252
+ linear-gradient(115deg, transparent 0 61%, rgba(0, 245, 255, 0.42) 61% 72%, transparent 72%);
253
+ filter: blur(0.5px);
254
+ }
255
+
256
+ html[data-gds-theme-preset='cosmic'] body::after {
257
+ position: fixed;
258
+ inset: 0;
259
+ z-index: -1;
260
+ pointer-events: none;
261
+ content: '';
262
+ opacity: 0.38;
263
+ mix-blend-mode: screen;
264
+ background-image:
265
+ radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1px, transparent 1.6px),
266
+ radial-gradient(circle, rgba(255, 255, 255, 0.45) 0 1px, transparent 1.4px);
267
+ background-position: 20px 40px, 90px 120px;
268
+ background-size: 160px 160px, 260px 260px;
269
+ }
270
+
271
+ html[data-gds-theme-preset='cosmic'] .mantine-AppShell-main {
272
+ color: #ffffff;
273
+ background:
274
+ radial-gradient(circle at 92% 32%, rgba(255, 180, 70, 0.95) 0 8%, transparent 22%),
275
+ radial-gradient(circle at 84% 42%, rgba(255, 45, 190, 0.75) 0 12%, transparent 28%),
276
+ radial-gradient(circle at 72% 18%, rgba(0, 220, 255, 0.55) 0 11%, transparent 28%),
277
+ radial-gradient(circle at 22% 82%, rgba(255, 60, 210, 0.35) 0 5%, transparent 16%),
278
+ linear-gradient(135deg, #19005c 0%, #071a80 38%, #003fd1 63%, #4d08a8 100%) !important;
279
+ }
280
+
281
+ html[data-gds-theme-preset='cosmic'] .mantine-AppShell-header,
282
+ html[data-gds-theme-preset='cosmic'] .mantine-AppShell-navbar,
283
+ html[data-gds-theme-preset='cosmic'] .mantine-AppShell-footer {
284
+ color: #ffffff;
285
+ background: rgba(10, 18, 70, 0.62) !important;
286
+ border-color: rgba(190, 160, 255, 0.45) !important;
287
+ box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
288
+ backdrop-filter: blur(22px) saturate(1.25);
289
+ }
290
+
291
+ html[data-gds-theme-preset='cosmic'] .mantine-Paper-root,
292
+ html[data-gds-theme-preset='cosmic'] .mantine-Card-root {
293
+ color: #ffffff;
294
+ background:
295
+ radial-gradient(circle at 100% 0%, rgba(224, 24, 255, 0.24), transparent 13rem),
296
+ linear-gradient(145deg, rgba(16, 24, 92, 0.88), rgba(9, 13, 58, 0.78)) !important;
297
+ border-color: rgba(212, 190, 255, 0.58) !important;
298
+ border-radius: 28px;
299
+ box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
300
+ backdrop-filter: blur(22px) saturate(1.2);
301
+ }
302
+
303
+ html[data-gds-theme-preset='cosmic'] .mantine-Button-root:not([data-variant='default']) {
304
+ color: #ffffff;
305
+ background: linear-gradient(135deg, #7c3cff, #e018ff, #ff9b3d) !important;
306
+ border-color: transparent !important;
307
+ box-shadow: 0 12px 32px rgba(224, 24, 255, 0.32);
308
+ }
309
+
310
+ html[data-gds-theme-preset='cosmic'] .mantine-Button-root[data-variant='default'],
311
+ html[data-gds-theme-preset='cosmic'] .mantine-Input-input,
312
+ html[data-gds-theme-preset='cosmic'] .mantine-NativeSelect-input,
313
+ html[data-gds-theme-preset='cosmic'] .mantine-Textarea-input {
314
+ color: #ffffff;
315
+ background: rgba(16, 26, 86, 0.72) !important;
316
+ border-color: rgba(212, 190, 255, 0.58) !important;
317
+ }
318
+
319
+ html[data-gds-theme-preset='cosmic'] .mantine-Input-input::placeholder,
320
+ html[data-gds-theme-preset='cosmic'] .mantine-Textarea-input::placeholder {
321
+ color: rgba(235, 238, 255, 0.58);
322
+ }
323
+
324
+ html[data-gds-theme-preset='cosmic'] .mantine-AppShell-main h1,
325
+ html[data-gds-theme-preset='cosmic'] .mantine-AppShell-main h2,
326
+ html[data-gds-theme-preset='cosmic'] .mantine-AppShell-main h3,
327
+ html[data-gds-theme-preset='cosmic'] .mantine-AppShell-main h4,
328
+ html[data-gds-theme-preset='cosmic'] .mantine-Text-root,
329
+ html[data-gds-theme-preset='cosmic'] .mantine-InputWrapper-label {
330
+ color: #ffffff !important;
331
+ }
332
+
333
+ html[data-gds-theme-preset='cosmic'] .mantine-Text-root[data-dimmed],
334
+ html[data-gds-theme-preset='cosmic'] .mantine-InputWrapper-description,
335
+ html[data-gds-theme-preset='cosmic'] [style*='--mantine-color-dimmed'],
336
+ html[data-gds-theme-preset='cosmic'] .mantine-Text-root[style*='color'] {
337
+ color: rgba(245, 247, 255, 0.84) !important;
338
+ }
339
+
340
+ html[data-gds-theme-preset='cosmic'] .mantine-Code-root {
341
+ color: #ffd4ff;
342
+ background: rgba(124, 60, 255, 0.28);
343
+ border: 1px solid rgba(212, 190, 255, 0.24);
344
+ }
345
+
346
+ html[data-gds-theme-preset='cosmic'] .mantine-Badge-root {
347
+ color: #f7d8ff;
348
+ background: rgba(124, 60, 255, 0.34);
349
+ border-color: rgba(224, 24, 255, 0.35);
350
+ }
351
+
352
+ @media (max-width: 768px) {
353
+ html[data-gds-theme-preset='cosmic'] body,
354
+ html[data-gds-theme-preset='cosmic'] .mantine-AppShell-main {
355
+ background:
356
+ radial-gradient(circle at 115% 18%, rgba(255, 170, 70, 0.95) 0 13%, transparent 31%),
357
+ radial-gradient(circle at 90% 38%, rgba(255, 45, 190, 0.72) 0 17%, transparent 38%),
358
+ radial-gradient(circle at 58% 14%, rgba(0, 220, 255, 0.48) 0 13%, transparent 35%),
359
+ linear-gradient(150deg, #180052 0%, #07136f 42%, #0038bc 70%, #5207a4 100%) !important;
360
+ }
361
+
362
+ html[data-gds-theme-preset='cosmic'] body::before {
363
+ background:
364
+ radial-gradient(circle at 83% 32%, rgba(160, 42, 255, 0.9) 0 8%, transparent 20%),
365
+ radial-gradient(circle at 95% 76%, rgba(120, 25, 255, 0.7) 0 14%, transparent 34%);
366
+ }
367
+ }
368
+
231
369
  @media (prefers-reduced-motion: reduce) {
232
370
  html[data-gds-theme-preset] a,
233
371
  html[data-gds-theme-preset] button {