Skip to content
Snippets Groups Projects
Commit 64fc07f0 authored by HJ's avatar HJ :fire:
Browse files

removed unused constant, using getOpacitySlot now

parent 7354b6f7
No related branches found
No related tags found
2 merge requests!1074Update master with 2.0.0,!1037Themes v3 Part 1 "2.1" codenamed "One step for themes, a giant burder for code reviewers"
Pipeline #22048 passed
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment