Sign in
apache
/
nifi-fds
/
6435e394f6c7c31d3f61a4bfc9702bde2a1659fa
/
.
/
node_modules
/
postcss-colormin
/
dist
/
lib
/
toShorthand.js
blob: 3a91f6f7edcce0010abc0887801688b7e62d6210 [
file
] [
log
] [
blame
]
'use strict'
;
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
exports
.
default
=
hex
=>
{
if
(
hex
[
1
]
===
hex
[
2
]
&&
hex
[
3
]
===
hex
[
4
]
&&
hex
[
5
]
===
hex
[
6
])
{
return
'#'
+
hex
[
2
]
+
hex
[
4
]
+
hex
[
6
];
}
return
hex
;
};