🎈 Refactors external theme prop name

This commit is contained in:
Alicia Sykes 2021-07-17 20:03:44 +01:00
parent 309c249e9a
commit 78bb0afe30
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
/> />
<div class="options-outer"> <div class="options-outer">
<div :class="`options-container ${!settingsVisible ? 'hide' : ''}`"> <div :class="`options-container ${!settingsVisible ? 'hide' : ''}`">
<ThemeSelector :themes="availableThemes" <ThemeSelector :externalThemes="externalThemes"
:confTheme="getInitialTheme()" :userThemes="getUserThemes()" /> :confTheme="getInitialTheme()" :userThemes="getUserThemes()" />
<LayoutSelector :displayLayout="displayLayout" @layoutUpdated="updateDisplayLayout"/> <LayoutSelector :displayLayout="displayLayout" @layoutUpdated="updateDisplayLayout"/>
<ItemSizeSelector :iconSize="iconSize" @iconSizeUpdated="updateIconSize" /> <ItemSizeSelector :iconSize="iconSize" @iconSizeUpdated="updateIconSize" />
@ -50,7 +50,7 @@ export default {
props: { props: {
displayLayout: String, displayLayout: String,
iconSize: String, iconSize: String,
availableThemes: Object, externalThemes: Object,
appConfig: Object, appConfig: Object,
pageInfo: Object, pageInfo: Object,
sections: Array, sections: Array,

View File

@ -8,7 +8,7 @@
@change-modal-visibility="updateModalVisibility" @change-modal-visibility="updateModalVisibility"
:displayLayout="layout" :displayLayout="layout"
:iconSize="itemSizeBound" :iconSize="itemSizeBound"
:availableThemes="getExternalCSSLinks()" :externalThemes="getExternalCSSLinks()"
:sections="getSections(sections)" :sections="getSections(sections)"
:appConfig="appConfig" :appConfig="appConfig"
:pageInfo="pageInfo" :pageInfo="pageInfo"