@adeira/css-colors
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -7,3 +7,3 @@ { | ||
"homepage": "https://github.com/adeira/universe/tree/master/src/css-colors", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"sideEffects": false, | ||
@@ -14,4 +14,4 @@ "private": false, | ||
"@adeira/js": "^1.3.0", | ||
"@babel/runtime": "^7.12.1" | ||
"@babel/runtime": "^7.12.5" | ||
} | ||
} |
@@ -42,8 +42,9 @@ Utility functions for working with CSS/HTML colors. | ||
## HEX 6 to HEX 3 | ||
## HEX to HEX | ||
```js | ||
import { hex6ToHex3 } from '@adeira/css-colors'; | ||
import { hex3ToHex6, hex6ToHex3 } from '@adeira/css-colors'; | ||
hex3ToHex6('#639'); // #663399 | ||
hex6ToHex3('#663399'); // #639 | ||
``` |
@@ -14,2 +14,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "hex3ToHex6", { | ||
enumerable: true, | ||
get: function get() { | ||
return _hex3ToHex.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "hex6ToHex3", { | ||
@@ -36,2 +42,4 @@ enumerable: true, | ||
var _hex3ToHex = _interopRequireDefault(require("./hex3ToHex6")); | ||
var _hex6ToHex = _interopRequireDefault(require("./hex6ToHex3")); | ||
@@ -38,0 +46,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
26203
21
214
50
Updated@babel/runtime@^7.12.5