aboutsummaryrefslogtreecommitdiff
path: root/src/services/theme_data/theme_data.service.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2020-01-23 00:36:38 +0200
committerHenry Jameson <me@hjkos.com>2020-01-23 00:36:38 +0200
commit64fc07f080635c83f27b9a5541be32013f1d9a26 (patch)
treeb37d1c79e67ab4963d7eac9111d9da424eb99702 /src/services/theme_data/theme_data.service.js
parent7354b6f7062def8bd1ac0a0e457cd05256eba0d5 (diff)
removed unused constant, using getOpacitySlot now
Diffstat (limited to 'src/services/theme_data/theme_data.service.js')
-rw-r--r--src/services/theme_data/theme_data.service.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/services/theme_data/theme_data.service.js b/src/services/theme_data/theme_data.service.js
index 5e49fa17..bbabd175 100644
--- a/src/services/theme_data/theme_data.service.js
+++ b/src/services/theme_data/theme_data.service.js
@@ -673,19 +673,6 @@ export const SLOT_ORDERED = topoSort(
)
/**
- * 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.
*/