mirror of
https://git.youjo.love/youjo/youjo-fe.git
synced 2024-11-20 13:59:55 +01:00
removed unused constant, using getOpacitySlot now
This commit is contained in:
parent
7354b6f706
commit
64fc07f080
1 changed files with 0 additions and 13 deletions
|
@ -672,19 +672,6 @@ export const SLOT_ORDERED = topoSort(
|
|||
.reduce((acc, [k, v]) => ({ ...acc, [k]: v }), {})
|
||||
)
|
||||
|
||||
/**
|
||||
* Dictionary where keys are color slots and values are opacity associated
|
||||
* with them
|
||||
*/
|
||||
export const SLOTS_OPACITIES_DICT = Object.entries(SLOT_INHERITANCE).reduce((acc, [k, v]) => {
|
||||
const opacity = getOpacitySlot(k, SLOT_INHERITANCE, getDependencies)
|
||||
if (opacity) {
|
||||
return { ...acc, [k]: opacity }
|
||||
} else {
|
||||
return acc
|
||||
}
|
||||
}, {})
|
||||
|
||||
/**
|
||||
* All opacity slots used in color slots, their default values and affected
|
||||
* color slots.
|
||||
|
|
Loading…
Reference in a new issue