Skip to content

Commit

Permalink
[noticket] Fix hex color conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
rherwig committed Oct 15, 2021
1 parent 946d039 commit 34fb3b9
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 14 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.1] - 2021-10-16
### Fixed
- Added the hash sign to the color values to make them valid colors

## [1.0.0] - 2021-10-15
### Added
- Color shades for `gray` and `orange`
Expand Down
26 changes: 13 additions & 13 deletions lib/theme/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ const orange = new Values('#f56600');

module.exports = {
gray: {
100: gray.hex,
80: gray.tint(20).hex,
60: gray.tint(40).hex,
40: gray.tint(60).hex,
20: gray.tint(80).hex,
100: gray.hexString(),
80: gray.tint(20).hexString(),
60: gray.tint(40).hexString(),
40: gray.tint(60).hexString(),
20: gray.tint(80).hexString(),
},
orange: {
100: orange.hex,
80: orange.tint(20).hex,
60: orange.tint(40).hex,
40: orange.tint(60).hex,
20: orange.tint(80).hex,
100: orange.hexString(),
80: orange.tint(20).hexString(),
60: orange.tint(40).hexString(),
40: orange.tint(60).hexString(),
20: orange.tint(80).hexString(),
},
primary: gray.hex,
secondary: orange.hex,
accent: orange.hex,
primary: gray.hexString(),
secondary: orange.hexString(),
accent: orange.hexString(),
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kellerkinder/tailwind-config",
"version": "1.0.0",
"version": "1.0.1",
"description": "Kellerkinder corporate design tailwind config",
"main": "index.js",
"files": [
Expand Down

0 comments on commit 34fb3b9

Please sign in to comment.