Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@duskmoon-dev/core

Latest version: v2.5.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: gsmlg
0 Stars
0 Forks
41 Versions
31.4K Downloads
TypeScript Repo language

Scan summary

@duskmoon-dev/core was last scanned on 29 Nov 2026 at version 2.5.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 41 versions; the latest 5 were published within 4 days (26–29 Nov 2026).
  • Findings: No rules fired in version 2.5.0.
  • Downloads: 31,441 downloads.

Versions

41 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.5.0 LATEST 29 Nov 2026 No rules fired
2.4.1 29 Nov 2026 No rules fired
2.4.0 29 Nov 2026 No rules fired
2.3.0 29 Nov 2026 Not shown
2.2.0 26 Nov 2026 Not shown

No rules fired in 2.5.0

Findings

Findings for v2.5.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 2.5.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@duskmoon-dev/core

DuskMoonUI - A Tailwind CSS v4 plugin with Material Design 3 color system and 49 component styles

npm version npm downloads bundle size license

Features

  • 🎨 Three-color system - Primary, secondary, and tertiary brand colors with automatic content colors
  • 🌓 Built-in themes - Sunshine (light) and Moonlight (dark) themes ready to use
  • 📦 55+ Material Design 3 color tokens - Full MD3 color system with OKLCH format
  • 🧩 49 UI components - Complete component library with consistent styling
  • 🚀 Zero runtime JS - Pure CSS with CSS custom properties for theme switching
  • ♿ Accessible by default - WCAG AA compliant contrast ratios (4.5:1 minimum)
  • 🎯 Tailwind v4 native - Pure CSS using @import, no JavaScript configuration
  • 📦 Tiny bundle - Under 7KB gzipped

Installation

# Using Bun (recommended)
bun add @duskmoon-dev/core tailwindcss@^4.0.0

# Using npm
npm install @duskmoon-dev/core tailwindcss@^4.0.0

# Using pnpm
pnpm add @duskmoon-dev/core tailwindcss@^4.0.0

Native Overlay Principles

  • Tooltips use only the HTML Popover API: popover="hint", interestfor, and browser-owned :popover-open state.
  • Modal and Dialog use only HTML <dialog>, opened with command="show-modal" / commandfor or showModal(), and closed with native commands, close(), or method="dialog". The browser manages the backdrop, inertness, keyboard focus, and Escape.

Legacy div-based Modal markup, .modal-open, .modal-toggle, and URL-target visibility are no longer supported. Migrate the outer element to <dialog> and use native opening/closing actions; .modal-box and presentation modifiers remain available.

Quick Start

1. Add DuskMoonUI to your CSS
Option A: CSS @import (recommended)
/* src/styles.css */
@import "tailwindcss";
@import "@duskmoon-dev/core";
Option B: Tailwind @plugin directive
/* src/styles.css */
@import "tailwindcss";
@plugin "@duskmoon-dev/core/plugin";

The @plugin approach registers Material Design 3 color tokens directly into Tailwind's theme, enabling utility classes like bg-primary, text-on-surface, etc. Use this when you need Tailwind-aware color utilities alongside the component styles.

2. Add the theme attribute to your HTML
<html data-theme="sunshine">
  <body>
    <button class="btn btn-primary">Click me</button>
  </body>
</html>
3. Use the color utilities
<!-- Brand colors -->
<div class="bg-primary text-primary-content">Primary</div>
<div class="bg-secondary text-secondary-content">Secondary</div>
<div class="bg-tertiary text-tertiary-content">Tertiary</div>

<!-- Surface colors -->
<div class="bg-surface text-on-surface">Surface</div>
<div class="bg-surface-container">Container</div>

<!-- Semantic colors -->
<div class="bg-success text-success-content">Success</div>
<div class="bg-error text-error-content">Error</div>

Theme Switching

Switch themes by changing the data-theme attribute - no JavaScript required:

<!-- Light theme -->
<html data-theme="sunshine">

<!-- Dark theme -->
<html data-theme="moonlight">

Theme switching is instant and uses pure CSS custom properties.

Components

@duskmoon-dev/core includes 50+ components organized by category:

Core Components (6)
Component Classes Description
Button .btn, .btn-primary, .btn-secondary, .btn-outline, .btn-ghost Buttons with variants, sizes, and states
Card .card, .card-body, .card-title, .card-bordered Content containers with headers and actions
Input .input, .input-bordered, .input-primary Text inputs with sizes and states
Form .form-control, .label, .checkbox, .radio, .toggle, .select, .textarea Form elements and layouts
Navigation .navbar, .megamenu, .menu, .link, .breadcrumbs, .tabs, .pagination, .dropdown Navigation patterns
Modal dialog.modal, .modal-box, .modal-action Native HTML dialog overlays
Data Display (5)
Component Classes Description
Avatar .avatar, .avatar-sm, .avatar-lg, .avatar-group User avatars with sizes and groups
Badge .badge, .badge-primary, .badge-outline, .badge-dot Status indicators and labels
Chip .chip, .chip-primary, .chip-outlined, .chip-closeable Interactive tags
List .list, .list-item, .list-bordered, .list-hoverable Vertical item lists
Table .table, .table-zebra, .table-hover, .table-bordered Data tables
Data Entry (6)
Component Classes Description
Autocomplete .autocomplete, .autocomplete-dropdown, .autocomplete-option Searchable dropdowns
Datepicker .datepicker, .datepicker-dropdown, .datepicker-day Date selection
File Upload .file-upload, .file-upload-dropzone, .file-upload-item File uploads with drag-drop
Rating .rating, .rating-item, .rating-half Star ratings
Slider .slider, .slider-thumb, .slider-track Range inputs
Switch .switch, .switch-track, .switch-thumb Toggle switches
Feedback (7)
Component Classes Description
Alert .alert, .alert-info, .alert-success, .alert-warning, .alert-error Alert messages
Dialog .dialog, .dialog-header, .dialog-body, .dialog-footer Confirmation dialogs
Progress .progress, .progress-bar, .progress-circular Progress indicators
Skeleton .skeleton, .skeleton-text, .skeleton-circle, .skeleton-wave Loading placeholders
Snackbar .snackbar, .snackbar-message, .snackbar-action Brief notifications
Toast .toast, .toast-container, .toast-info, .toast-success Toast notifications
Tooltip .tooltip[popover], .tooltip-top, .tooltip-bottom Hint popovers (interestfor)
Layout (2)
Component Classes Description
App Bar .appbar, .appbar-title, .appbar-nav, .appbar-actions Top app bars
Divider .divider, .divider-vertical, .divider-text Content separators
Navigation (5)
Component Classes Description
Bottom Navigation (Dock) .bottom-nav, .bottom-nav-item, .bottom-nav-indicator Mobile navigation
Drawer .drawer, .drawer-content, .drawer-nav-item Side navigation
Link .link, .link-hover, .link-primary, .link-neutral Native text links
Megamenu .megamenu, .megamenu-trigger, .megamenu-panel, .megamenu-grid Grouped site navigation
Stepper (Steps) .stepper, .stepper-step, .stepper-indicator Multi-step processes
Surfaces (4)
Component Classes Description
Accordion .accordion, .accordion-item, .accordion-header, .accordion-content Expandable panels
Bottom Sheet .bottomsheet, .bottomsheet-handle, .bottomsheet-content Mobile sheets
Collapse .collapse, .collapse-content, .collapse-toggle Collapsible content
Popover .popover[popover], .popover-body, .popover-arrow Floating content (Popover API)
Misc (1)
Component Classes Description
Timeline .timeline, .timeline-item, .timeline-marker Event timelines

Component Examples

Button
<button class="btn">Default</button>
<button class="btn btn-primary">Primary</button>
<button class="btn btn-secondary">Secondary</button>
<button class="btn btn-tertiary">Tertiary</button>
<button class="btn btn-outline">Outline</button>
<button class="btn btn-ghost">Ghost</button>

<!-- Sizes -->
<button class="btn btn-xs">Extra small</button>
<button class="btn btn-sm">Small</button>
<button class="btn btn-lg">Large</button>
Card
<div class="card">
  <div class="card-body">
    <h2 class="card-title">Card title</h2>
    <p>Card content goes here.</p>
    <div class="card-actions">
      <button class="btn btn-primary">Action</button>
    </div>
  </div>
</div>
Avatar
<div class="avatar">
  <img src="user.jpg" alt="User" />
</div>
<div class="avatar avatar-lg avatar-rounded">
  <img src="user.jpg" alt="User" />
</div>
<div class="avatar-group">
  <div class="avatar"><img src="user1.jpg" /></div>
  <div class="avatar"><img src="user2.jpg" /></div>
  <div class="avatar"><img src="user3.jpg" /></div>
</div>
Alert
<div class="alert alert-info">
  <span class="alert-icon">ℹ</span>
  <span class="alert-message">Information message</span>
</div>
<div class="alert alert-success">Success!</div>
<div class="alert alert-warning">Warning!</div>
<div class="alert alert-error">Error!</div>
Progress
<!-- Linear -->
<div class="progress">
  <div class="progress-bar" style="width: 60%"></div>
</div>

<!-- Indeterminate -->
<div class="progress progress-indeterminate">
  <div class="progress-bar"></div>
</div>

<!-- Circular -->
<div class="progress-circular">
  <svg><circle class="progress-circular-track" /><circle class="progress-circular-bar" /></svg>
</div>
Toast
<div class="toast-container toast-container-top-right">
  <div class="toast toast-success show">
    <span class="toast-icon">✓</span>
    <div class="toast-content">
      <span class="toast-title">Success</span>
      <span class="toast-message">Your changes have been saved.</span>
    </div>
    <button class="toast-close">×</button>
  </div>
</div>
Stepper
<div class="stepper">
  <div class="stepper-step completed">
    <div class="stepper-indicator">1</div>
    <span class="stepper-title">Step 1</span>
  </div>
  <div class="stepper-step active">
    <div class="stepper-indicator">2</div>
    <span class="stepper-title">Step 2</span>
  </div>
  <div class="stepper-step">
    <div class="stepper-indicator">3</div>
    <span class="stepper-title">Step 3</span>
  </div>
</div>

Color System

DuskMoonUI v2.0 uses the OKLCH color format for perceptually uniform color manipulation.

Brand Colors (12 tokens)

Use on-primary-container, on-secondary-container, and on-tertiary-container for colored text on surfaces. Bright role colors are fills: pair primary with primary-content, for example. The same foreground rule applies to semantic roles. Components keep these uses separate so outlined/text controls remain readable without changing the theme palette. For accent text, use light-dark(var(--color-accent-content), var(--color-accent)) with the theme's color-scheme.

  • primary, primary-content, primary-container, on-primary-container
  • secondary, secondary-content, secondary-container, on-secondary-container
  • tertiary, tertiary-content, tertiary-container, on-tertiary-container

Note: -focus tokens are removed in v2.0. Use color-mix() instead:

.btn:hover {
  background-color: color-mix(in oklch, var(--color-primary), black 10%);
}
Surface Colors (10 tokens)
  • surface, surface-dim, surface-bright
  • surface-container-lowest, surface-container-low, surface-container, surface-container-high, surface-container-highest
  • on-surface, on-surface-variant
Semantic Colors (12 tokens)
  • info, info-content, info-container, on-info-container
  • success, success-content, success-container, on-success-container
  • warning, warning-content, warning-container, on-warning-container
  • error, error-content, error-container, on-error-container
Neutral Colors (10 tokens)
  • base-100 through base-900
  • base-content
Outline Colors (2 tokens)
  • outline, outline-variant

Custom Themes

Define custom themes using OKLCH format:

[data-theme="custom"] {
  color-scheme: light;

  /* OKLCH format: oklch(L% C H) */
  /* L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360) */
  --color-primary: oklch(65% 0.18 255);
  --color-primary-content: oklch(100% 0 0);
  --color-secondary: oklch(60% 0.18 300);
  --color-secondary-content: oklch(100% 0 0);
  --color-tertiary: oklch(70% 0.15 80);
  --color-tertiary-content: oklch(20% 0 0);

  /* Base colors */
  --color-base-100: oklch(100% 0 0);
  --color-base-200: oklch(98% 0.01 85);
  --color-base-300: oklch(96% 0.01 85);
  --color-base-content: oklch(27% 0.02 260);

  /* Add remaining tokens... */
}
OKLCH Color Values
Hue Color
0/360 Pink
30 Red
55 Orange
80 Yellow
145 Green
185 Teal
235 Blue
255 Indigo
300 Purple

Accessibility

All components include:

  • Keyboard navigation - Full keyboard support with focus indicators
  • Screen reader support - Proper ARIA attributes and semantic HTML
  • Color contrast - WCAG AA compliant (4.5:1 minimum)
  • Reduced motion - Respects prefers-reduced-motion preference

Requirements

  • Tailwind CSS v4.0.0 or later
  • Modern browsers with OKLCH and color-mix() support:
    • Chrome 111+ (March 2023)
    • Safari 15.4+ (March 2022)
    • Firefox 113+ (May 2023)
    • Edge 111+ (March 2023)
  • Global browser support: ~92%

Development

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @duskmoon-dev/core

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229