removed unused constant, using getOpacitySlot now

test-shm
Henry Jameson 5 years ago
parent 7354b6f706
commit 64fc07f080

@ -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…
Cancel
Save