Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin
commit
7b5e2e71d8
@ -0,0 +1,9 @@
|
||||
import { TinyColor } from '@ctrl/tinycolor';
|
||||
|
||||
export function isDarkColor(color: string) {
|
||||
return new TinyColor(color).isDark();
|
||||
}
|
||||
|
||||
export function isLightColor(color: string) {
|
||||
return new TinyColor(color).isLight();
|
||||
}
|
||||
@ -1,2 +1,3 @@
|
||||
export * from './color';
|
||||
export * from './convert';
|
||||
export * from './generator';
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
export * from './iconify/index';
|
||||
export * from './svg/index';
|
||||
export * from './iconify/index.js';
|
||||
export * from './svg/index.js';
|
||||
|
||||
Loading…
Reference in new issue