Skip to content

Releases: rose-pine/palette

v4.0.1

13 Apr 01:01
7d950f0
Compare
Choose a tag to compare

Breaking changes

  • Minimum Node.js version is now 16
  • Dropped -main suffix on CSS variable names
  • Palette values are no longer formatted
- main.base.hsl = "hsl(249, 22%, 12%)"
+ main.base.hsl = [249, 22, 12]

- main.base.hex = "#ebbcba"
+ main.base.hex = "ebbcba"

Features

  • Add additional export formats: variantIds, variantKeys, variantNames, roleIds, roleKeys and roleNames
  • Generate new CSS formats:
    • Previous format is retained
    • Media and class based options for dynamic theming
    • Tailwind CSS special variable syntax
  • Add importable tailwind configuration presets
  • Improved types

  • Refactor palette output and css generation (#8) c551185

v3.0.1...v4.0.1

v4.0.1-5

11 Apr 23:55
6cd5886
Compare
Choose a tag to compare
v4.0.1-5 Pre-release
Pre-release
  • types: replace const assertion with literal types 48b6a17

v4.0.1-4...v4.0.1-5

v4.0.1-4

11 Apr 18:48
c032aee
Compare
Choose a tag to compare
v4.0.1-4 Pre-release
Pre-release
  • types: export variant, role, and color types 1a56a70
  • docs: update examples 5b98cae

v4.0.1-3...v4.0.1-4

v4.0.1-3

10 Apr 22:10
56361ff
Compare
Choose a tag to compare
v4.0.1-3 Pre-release
Pre-release

Adds new data types and changes the exported variants and roles. The default export has been removed in favour of named exports. Exported variants and roles now contain the fields: id, key, name and colors.

Breaking changes

- variants.main.rose.hex
+ variants.main.colors.rose.hex

- roles.rose.main.hex
+ roles.rose.colors.main.hex

Features

On top of the newly added id, key and name fields, there are now exported variantIds, variantKeys, variantNames, roleIds, roleKeys and roleNames. This should make looping through the palette values a lil easier.

v4.0.1-2...v4.0.1-3

v4.0.1-2

10 Apr 02:11
b274350
Compare
Choose a tag to compare
v4.0.1-2 Pre-release
Pre-release
  • feat: export variant{Ids,Names} and role{Ids,Names} 72b0e40
  • chore: use regex to convert role names to snake-case 6cf5a1c

v4.0.1-1...v4.0.1-2

v4.0.1-1

01 Apr 00:14
3ed2468
Compare
Choose a tag to compare
v4.0.1-1 Pre-release
Pre-release

v4.0.1-0...v4.0.1-1

v4.0.1-0

30 Mar 23:34
daedc45
Compare
Choose a tag to compare
v4.0.1-0 Pre-release
Pre-release
  • chore: use manually written type declarations 5b645f0

v4.0.0-0...v4.0.1-0

v4.0.0-0

30 Mar 17:06
63cc175
Compare
Choose a tag to compare
v4.0.0-0 Pre-release
Pre-release

Breaking changes

  • Minimum Node.js version is now 16
  • Dropped -main suffix on CSS variable names
  • Palette values are no longer formatted
    - main.base.hsl = "hsl(249, 22%, 12%)"
    + main.base.hsl = [249, 22, 12]
    
    - main.base.hex = "#ebbcba"
    + main.base.hex = "ebbcba"

Features

  • Generate new CSS formats:
    • Previous format is retained
    • Media and class based options for dynamic theming
    • Tailwind CSS special variable syntax
  • Add importable tailwind configuration presets

All commits

  • chore: arrange exported types 7cf47f4
  • feat: build everything to dist/ 8000330
  • chore: cleanup package.json 102351d
  • chore: expose dist folder cf5ef7d
  • chore: generate types 2a6eb29
  • feat!: update css generation 661c8c4
  • chore(deps): remove np eafe630
  • chore: add tsconfig cd61ad5
  • test: refactor colour formats 1139c29
  • chore: update editorconfig 13b002f
  • feat!: export unformatted palette values b7bd401
  • chore!: require node 16 75de0b8
  • ci: update node versions a7be746
  • docs: update readme.md 59b3d7a
  • docs: remove fluffy intro 4d20861

v3.0.1...v4.0.0-0

v3.0.1

01 May 17:13
Compare
Choose a tag to compare
  • add version number to css cdn example 73dc83c

v3.0.0...v3.0.1

v3.0.0

01 May 17:09
Compare
Choose a tag to compare

Breaking changes

CSS prefix changed from rose- to rp-

All changes

v2.1.0...v3.0.0