feat: course color generation (#179)
* feat: course color generation * feat: add proper TS for hex colors * refactor: fix oklab and improve contrast ratios * fix: update HexColor type * refactor: update color switch point * refactor: color-related functions and types * fix: imports and TS issues * fix: imports and TS issues * chore: add no-restricted-syntax ForInStatement * chore(docs): add jsdoc --------- Co-authored-by: doprz <52579214+doprz@users.noreply.github.com>
This commit is contained in:
@@ -4,7 +4,7 @@ import transformerDirectives from '@unocss/transformer-directives';
|
||||
import transformerVariantGroup from '@unocss/transformer-variant-group';
|
||||
import { defineConfig } from 'unocss';
|
||||
|
||||
import { colors } from './src/shared/util/themeColors';
|
||||
import { colors } from './src/shared/types/ThemeColors';
|
||||
|
||||
export default defineConfig({
|
||||
rules: [
|
||||
|
||||
Reference in New Issue
Block a user