@deadragdoll/reactnu 0.1.12 → 0.1.15

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.
package/dist/index.cjs CHANGED
@@ -9451,10 +9451,47 @@ var phosphorTheme = {
9451
9451
  windowModalBackdrop: "rgb(6 18 8 / 0.34)"
9452
9452
  }
9453
9453
  };
9454
+ var midnightTheme = {
9455
+ name: "midnight",
9456
+ label: "Midnight Slate",
9457
+ tokens: {
9458
+ desktopBackground: "#1b2430",
9459
+ desktopPattern: "rgb(156 177 201 / 0.24)",
9460
+ shellBackground: "#101722",
9461
+ appBackground: "#17273b",
9462
+ appBackgroundAlt: "#0d1724",
9463
+ chromeBackground: "#d4dde8",
9464
+ panelBackground: "#17273b",
9465
+ panelInsetBackground: "#111e2e",
9466
+ titleBackground: "#d4dde8",
9467
+ titleText: "#14233a",
9468
+ textPrimary: "#e6edf7",
9469
+ textMuted: "#aebdcd",
9470
+ textInverse: "#0b1220",
9471
+ textAccent: "#ffd166",
9472
+ textHotkey: "#ff7171",
9473
+ buttonFace: "#d4dde8",
9474
+ buttonFaceAlt: "#9baabd",
9475
+ buttonDanger: "#a94d57",
9476
+ buttonSuccess: "#3c936d",
9477
+ buttonText: "#0b1220",
9478
+ fieldBackground: "#09111c",
9479
+ fieldText: "#e6edf7",
9480
+ borderLight: "#e6edf7",
9481
+ borderDark: "#070c14",
9482
+ borderAccent: "#ffd166",
9483
+ shadowColor: "#070c14",
9484
+ panelShadowColor: "rgb(7 12 20 / 0.56)",
9485
+ focusColor: "#ffd166",
9486
+ windowInactiveOverlay: "rgb(7 12 20 / 0.3)",
9487
+ windowModalBackdrop: "rgb(7 12 20 / 0.48)"
9488
+ }
9489
+ };
9454
9490
  var nuThemes = {
9455
9491
  classic: classicTheme,
9456
9492
  amber: amberTheme,
9457
- phosphor: phosphorTheme
9493
+ phosphor: phosphorTheme,
9494
+ midnight: midnightTheme
9458
9495
  };
9459
9496
  function isNuThemeName(value) {
9460
9497
  return value in nuThemes;
package/dist/index.js CHANGED
@@ -9487,10 +9487,47 @@ var phosphorTheme = {
9487
9487
  windowModalBackdrop: "rgb(6 18 8 / 0.34)"
9488
9488
  }
9489
9489
  };
9490
+ var midnightTheme = {
9491
+ name: "midnight",
9492
+ label: "Midnight Slate",
9493
+ tokens: {
9494
+ desktopBackground: "#1b2430",
9495
+ desktopPattern: "rgb(156 177 201 / 0.24)",
9496
+ shellBackground: "#101722",
9497
+ appBackground: "#17273b",
9498
+ appBackgroundAlt: "#0d1724",
9499
+ chromeBackground: "#d4dde8",
9500
+ panelBackground: "#17273b",
9501
+ panelInsetBackground: "#111e2e",
9502
+ titleBackground: "#d4dde8",
9503
+ titleText: "#14233a",
9504
+ textPrimary: "#e6edf7",
9505
+ textMuted: "#aebdcd",
9506
+ textInverse: "#0b1220",
9507
+ textAccent: "#ffd166",
9508
+ textHotkey: "#ff7171",
9509
+ buttonFace: "#d4dde8",
9510
+ buttonFaceAlt: "#9baabd",
9511
+ buttonDanger: "#a94d57",
9512
+ buttonSuccess: "#3c936d",
9513
+ buttonText: "#0b1220",
9514
+ fieldBackground: "#09111c",
9515
+ fieldText: "#e6edf7",
9516
+ borderLight: "#e6edf7",
9517
+ borderDark: "#070c14",
9518
+ borderAccent: "#ffd166",
9519
+ shadowColor: "#070c14",
9520
+ panelShadowColor: "rgb(7 12 20 / 0.56)",
9521
+ focusColor: "#ffd166",
9522
+ windowInactiveOverlay: "rgb(7 12 20 / 0.3)",
9523
+ windowModalBackdrop: "rgb(7 12 20 / 0.48)"
9524
+ }
9525
+ };
9490
9526
  var nuThemes = {
9491
9527
  classic: classicTheme,
9492
9528
  amber: amberTheme,
9493
- phosphor: phosphorTheme
9529
+ phosphor: phosphorTheme,
9530
+ midnight: midnightTheme
9494
9531
  };
9495
9532
  function isNuThemeName(value) {
9496
9533
  return value in nuThemes;
@@ -41,6 +41,7 @@ export declare const nuThemes: {
41
41
  readonly classic: NuThemeDefinition;
42
42
  readonly amber: NuThemeDefinition;
43
43
  readonly phosphor: NuThemeDefinition;
44
+ readonly midnight: NuThemeDefinition;
44
45
  };
45
46
  export type NuThemeName = keyof typeof nuThemes;
46
47
  export declare function isNuThemeName(value: string): value is NuThemeName;
@@ -59,6 +59,7 @@ Supported props:
59
59
 
60
60
  ## Notes
61
61
 
62
- - The default theme is the classic DOS/Norton-inspired palette.
62
+ - Built-in themes are `classic` (default), `amber`, `phosphor`, and `midnight`.
63
+ - `midnight` is a restrained dark blue-gray palette with pale chrome and yellow focus accents.
63
64
  - Theme tokens drive desktop, windowing, controls, selection, and inactive overlays.
64
65
  - Provider typography affects preview content, managed windows, dialogs, menus, and popup portals rendered inside the theme scope.
@@ -97,7 +97,7 @@ If a component needs a new reusable visual value, add it there first instead of
97
97
  - Shadows:
98
98
  - If it is raised, is it reusing button/window shadow logic instead of inventing a new one?
99
99
  - Theme coverage:
100
- - Would the component still read correctly in `classic`, `amber`, and `phosphor`?
100
+ - Would the component still read correctly in `classic`, `amber`, `phosphor`, and `midnight`?
101
101
  - Hardcoded values:
102
102
  - Are any colors or dimensions local only because they are truly component-specific?
103
103
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deadragdoll/reactnu",
3
- "version": "0.1.12",
3
+ "version": "0.1.15",
4
4
  "private": false,
5
5
  "description": "React components with a precise DOS-era utility interface.",
6
6
  "license": "MIT",