Adjust default.ts exports (#734)

This commit is contained in:
Jaco
2023-03-13 14:56:04 +02:00
committed by GitHub
parent 1a230f95f6
commit 8bd9b7b908
2 changed files with 4 additions and 8 deletions
+1
View File
@@ -5,6 +5,7 @@
Changes:
- Swap `vue-identitycon` to use `defineComponent` (requires vue 2.7+)
- Swap `BeachballIcon` to use `colord` library (ESM + CJS, smaller)
## 3.0.2 Mar 11, 2023
@@ -3,14 +3,9 @@
// Copyright 2016 Dan Finlay
const COLORS: string[] = [
export const COLORS: readonly string[] = [
// https://sashat.me/2017/01/11/list-of-20-simple-distinct-colors/
'#ffe119', '#4363d8', '#f58231', '#fabebe', '#e6beff', '#800000', '#000075', '#a9a9a9', '#ffffff', '#000000'
];
] as const;
const SHAPE_COUNT = 5;
export {
COLORS,
SHAPE_COUNT
};
export const SHAPE_COUNT = 5 as const;