Releases: rose-pine/palette
Releases · rose-pine/palette
v4.0.1
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
v4.0.1-5
v4.0.1-4
v4.0.1-3
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-1
v4.0.1-0
v4.0.0-0
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