mirror of
https://github.com/ourongxing/newsnow.git
synced 2025-01-19 03:09:14 +08:00
chore: clean up
This commit is contained in:
parent
c49044e974
commit
1f08297e19
@ -1,6 +0,0 @@
|
||||
import { colors as c } from "unocss/preset-mini"
|
||||
import { typeSafeObjectKeys } from "./type.util"
|
||||
|
||||
export const colors = typeSafeObjectKeys(c)
|
||||
|
||||
export type Color = Exclude<typeof colors[number], "current" | "inherit" | "transparent" | "black" | "white">
|
@ -1,7 +1,9 @@
|
||||
import type { Color } from "./colors"
|
||||
import type { colors } from "unocss/preset-mini"
|
||||
import type { sectionIds } from "./data"
|
||||
import type { originSources } from "./sources"
|
||||
|
||||
export type Color = Exclude<keyof typeof colors, "current" | "inherit" | "transparent" | "black" | "white">
|
||||
|
||||
type ConstSources = typeof originSources
|
||||
type MainSourceID = keyof(ConstSources)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user