generated from Seekra/repository-template
Style: make code style consistent #186
@@ -15,7 +15,7 @@ limitations under the License.
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import Icon from '@/features/icons/components/Icon.vue';
|
import UIIcon from '@/features/icons/components/UIIcon.vue';
|
||||||
import { useSettings } from '@/features/settings/composables/useSettings';
|
import { useSettings } from '@/features/settings/composables/useSettings';
|
||||||
import { computed } from 'vue';
|
import { computed } from 'vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
@@ -52,7 +52,7 @@ const setColorScheme = function setColorScheme(newColorScheme) {
|
|||||||
:aria-label="getTooltipTranslation(colorScheme)"
|
:aria-label="getTooltipTranslation(colorScheme)"
|
||||||
:title="getTooltipTranslation(colorScheme)"
|
:title="getTooltipTranslation(colorScheme)"
|
||||||
>
|
>
|
||||||
<Icon
|
<UIIcon
|
||||||
:name="colorSchemeIconMapper[colorSchemeNextMapper[colorScheme]]"
|
:name="colorSchemeIconMapper[colorSchemeNextMapper[colorScheme]]"
|
||||||
size="16"
|
size="16"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ limitations under the License.
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { LANGUAGE_PATH } from '@/config/featureSettings';
|
import { LANGUAGE_PATH } from '@/config/featureSettings';
|
||||||
import Icon from '@/features/icons/components/Icon.vue';
|
import UIIcon from '@/features/icons/components/UIIcon.vue';
|
||||||
import { useSettings } from '@/features/settings/composables/useSettings';
|
import { useSettings } from '@/features/settings/composables/useSettings';
|
||||||
import { setLocale, SUPPORTED_LANGUAGES } from '@/i18n';
|
import { setLocale, SUPPORTED_LANGUAGES } from '@/i18n';
|
||||||
import { ref, watch } from 'vue';
|
import { ref, watch } from 'vue';
|
||||||
@@ -68,7 +68,7 @@ const open = function open() {
|
|||||||
>
|
>
|
||||||
<span class="lang-code">{{ t(`preferences.locale.languages.${locale}`) }}</span>
|
<span class="lang-code">{{ t(`preferences.locale.languages.${locale}`) }}</span>
|
||||||
<span class="chevron" :class="{ open: isOpen }">
|
<span class="chevron" :class="{ open: isOpen }">
|
||||||
<Icon name="chevron-down" size="1em" />
|
<UIIcon name="chevron-down" size="1em" />
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ limitations under the License.
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import Icon from '@/features/icons/components/Icon.vue';
|
import UIIcon from '@/features/icons/components/UIIcon.vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
import { useRouter } from 'vue-router';
|
import { useRouter } from 'vue-router';
|
||||||
|
|
||||||
@@ -52,7 +52,7 @@ const submitSearch = function submitSearch() {
|
|||||||
:title="t('search.searchBar.submit')"
|
:title="t('search.searchBar.submit')"
|
||||||
:aria-label="t('search.searchBar.submit')"
|
:aria-label="t('search.searchBar.submit')"
|
||||||
>
|
>
|
||||||
<Icon class="search-icon" name="magnifying-glass" size="1.1em" />
|
<UIIcon class="search-icon" name="magnifying-glass" size="1.1em" />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ limitations under the License.
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { useSettingsStore } from '../stores/settingsStore';
|
import { useSettingsStore } from '../stores/settingsStore';
|
||||||
import Icon from '@/features/icons/components/Icon.vue';
|
import UIIcon from '@/features/icons/components/UIIcon.vue';
|
||||||
import { computed, ref, useId, watch } from 'vue';
|
import { computed, ref, useId, watch } from 'vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
|
|
||||||
@@ -93,7 +93,7 @@ const apply = function apply() {
|
|||||||
:title="t('settings.input.done.title')"
|
:title="t('settings.input.done.title')"
|
||||||
:aria-label="t('settings.input.done.ariaLabel')"
|
:aria-label="t('settings.input.done.ariaLabel')"
|
||||||
>
|
>
|
||||||
<Icon name="check-mark" />
|
<UIIcon name="check-mark" />
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ limitations under the License.
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { useSettingsPage } from '../composables/useSettingsPage';
|
import { useSettingsPage } from '../composables/useSettingsPage';
|
||||||
import Icon from '@/features/icons/components/Icon.vue';
|
import UIIcon from '@/features/icons/components/UIIcon.vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
@@ -46,7 +46,7 @@ const followLink = function followLink() {
|
|||||||
@click="followLink"
|
@click="followLink"
|
||||||
>
|
>
|
||||||
{{ props.displayName }}
|
{{ props.displayName }}
|
||||||
<Icon name="chevron-right" size="1em" />
|
<UIIcon name="chevron-right" size="1em" />
|
||||||
</button>
|
</button>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ limitations under the License.
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { useSettingsStore } from '../stores/settingsStore';
|
import { useSettingsStore } from '../stores/settingsStore';
|
||||||
import Icon from '@/features/icons/components/Icon.vue';
|
import UIIcon from '@/features/icons/components/UIIcon.vue';
|
||||||
import { computed, useId } from 'vue';
|
import { computed, useId } from 'vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
|
|
||||||
@@ -82,7 +82,7 @@ const labelId = useId();
|
|||||||
v-model="selected"
|
v-model="selected"
|
||||||
>
|
>
|
||||||
<div class="option-check-mark-wrapper">
|
<div class="option-check-mark-wrapper">
|
||||||
<Icon class="option-check-mark" name="check-mark" size="1em" />
|
<UIIcon class="option-check-mark" name="check-mark" size="1em" />
|
||||||
</div>
|
</div>
|
||||||
<div class="input-label">
|
<div class="input-label">
|
||||||
{{ t(option.i18n) }}
|
{{ t(option.i18n) }}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ limitations under the License.
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import Icon from '@/features/icons/components/Icon.vue';
|
import UIIcon from '@/features/icons/components/UIIcon.vue';
|
||||||
|
|
||||||
const emit = defineEmits(['click']);
|
const emit = defineEmits(['click']);
|
||||||
|
|
||||||
@@ -26,7 +26,7 @@ const click = function click(event) {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<button class="button sidebar-expand-button">
|
<button class="button sidebar-expand-button">
|
||||||
<Icon name="sidebar-expand" @click="click" />
|
<UIIcon name="sidebar-expand" @click="click" />
|
||||||
</button>
|
</button>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user