Skip to content

v1.0.0-beta

Latest
Compare
Choose a tag to compare
@razorloaf razorloaf released this 22 Feb 22:24
· 15 commits to main since this release

Initial Beta Release for OxDS Colors

Launched @ox-ds/colors as a minimal, developer-friendly color system package, providing a simple way to use colors in JavaScript, TypeScript, and CSS.

Core Features:

  • Includes an array of primary colors relating to medieval heraldry, with shades (100500), alpha (A), P3 (P3), and P3 alpha (P3A) variations for modern interfaces.
  • Exports colors via a single light.ts file, accessible through index.ts, for easy integration in projects.

Build Simplicity:

  • Utilizes only TypeScript (tsc) for compilation, generating dist/index.js, dist/index.d.ts, and dist/light.d.ts for JavaScript and TypeScript support.
  • Features a single build-css.js script to generate root-level .css files (azure.css, cendree.css) with CSS custom properties for direct use in stylesheets.

Developer Experience:

  • Enables clean imports like import { azure } from '@ox-ds/colors' in JavaScript/TypeScript and @import '@ox-ds/colors/azure.css' in CSS.
  • Supports modern browsers with ESM imports (Chrome 61+, Firefox 60+) and P3 colors for advanced color spaces (Chrome, Safari).
  • Relies solely on typescript as a development dependency, ensuring no unnecessary plugins, deprecated files, or complex workflows.
  • Designed for easy maintenance and expansion.