more replacements + small renames

This commit is contained in:
Henry Jameson 2020-10-20 22:54:43 +03:00
parent b19c2eb0fb
commit 3cbaa00449
18 changed files with 106 additions and 59 deletions

View file

@ -10,6 +10,29 @@ import GeneralTab from './tabs/general_tab.vue'
import VersionTab from './tabs/version_tab.vue'
import ThemeTab from './tabs/theme_tab/theme_tab.vue'
import { library } from '@fortawesome/fontawesome-svg-core'
import {
faWrench,
faUser,
faFilter,
faPaintBrush,
faBell,
faDownload,
faEyeSlash,
faInfo
} from '@fortawesome/free-solid-svg-icons'
library.add(
faWrench,
faUser,
faFilter,
faPaintBrush,
faBell,
faDownload,
faEyeSlash,
faInfo
)
const SettingsModalContent = {
components: {
TabSwitcher,

View file

@ -37,7 +37,7 @@
</div>
<div
:label="$t('settings.theme')"
icon="brush"
icon="paint-brush"
data-tab-name="theme"
>
<ThemeTab />
@ -45,7 +45,7 @@
<div
v-if="isLoggedIn"
:label="$t('settings.notifications')"
icon="bell-ringing-o"
icon="bell"
data-tab-name="notifications"
>
<NotificationsTab />
@ -62,14 +62,14 @@
v-if="isLoggedIn"
:label="$t('settings.mutes_and_blocks')"
:fullHeight="true"
icon="eye-off"
icon="eye-slash"
data-tab-name="mutesAndBlocks"
>
<MutesAndBlocksTab />
</div>
<div
:label="$t('settings.version.title')"
icon="info-circled"
icon="info"
data-tab-name="version"
>
<VersionTab />

View file

@ -53,7 +53,7 @@
<option value="following">{{ $t('settings.reply_visibility_following') }}</option>
<option value="self">{{ $t('settings.reply_visibility_self') }}</option>
</select>
<FAIcon class="icon-down-open" icon="chevron-down" />
<FAIcon class="select-down-icon" icon="chevron-down" />
</label>
</div>
<div>

View file

@ -103,7 +103,7 @@
{{ subjectLineBehaviorDefaultValue == 'noop' ? $t('settings.instance_default_simple') : '' }}
</option>
</select>
<FAIcon class="icon-down-open" icon="chevron-down" />
<FAIcon class="select-down-icon" icon="chevron-down" />
</label>
</div>
</li>
@ -127,7 +127,7 @@
{{ postContentTypeDefaultValue === postFormat ? $t('settings.instance_default_simple') : '' }}
</option>
</select>
<FAIcon class="icon-down-open" icon="chevron-down" />
<FAIcon class="select-down-icon" icon="chevron-down" />
</label>
</div>
</li>

View file

@ -39,19 +39,23 @@
</i18n>
<div class="icons">
<i
<FAIcon
fixed-width
style="color: var(--cBlue)"
class="button-icon icon-reply"
class="button-icon" icon="reply"
/>
<i
<FAIcon
fixed-width
style="color: var(--cGreen)"
class="button-icon icon-retweet"
class="button-icon" icon="retweet"
/>
<i
<FAIcon
fixed-width
style="color: var(--cOrange)"
class="button-icon icon-star"
class="button-icon" icon="star"
/>
<i
<FAIcon
fixed-width
style="color: var(--cRed)"
class="button-icon" icon="times"
/>
@ -106,11 +110,17 @@
<script>
import { library } from '@fortawesome/fontawesome-svg-core'
import {
faTimes
faTimes,
faStar,
faRetweet,
faReply
} from '@fortawesome/free-solid-svg-icons'
library.add(
faTimes
faTimes,
faStar,
faRetweet,
faReply
)
</script>

View file

@ -80,7 +80,7 @@
{{ style[0] || style.name }}
</option>
</select>
<FAIcon class="icon-down-open" icon="chevron-down" />
<FAIcon class="select-down-icon" icon="chevron-down" />
</label>
</div>
</template>
@ -907,7 +907,7 @@
{{ $t('settings.style.shadows.components.' + shadow) }}
</option>
</select>
<FAIcon class="icon-down-open" icon="chevron-down" />
<FAIcon class="select-down-icon" icon="chevron-down" />
</label>
</div>
<div class="override">