Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fa sharp regular as default icon #7302

Merged
merged 4 commits into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions components/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@
<NeoIcon
class="ml-1"
icon="fire-flame-curved"
custom-size="fa-solid"
pack="fa-sharp"
pack="fass"
variant="primary" />
</div>
</nuxt-link>
Expand Down Expand Up @@ -161,7 +160,7 @@
{{ $t('profile.page') }}
<NeoIcon icon="user-circle" />
</span>
<NeoIcon class="icon--right" icon="chevron-right" pack="fas" />
<NeoIcon class="icon--right" icon="chevron-right" />
</div>

<div v-if="!account" id="NavProfile">
Expand Down
17 changes: 4 additions & 13 deletions components/TheFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@
rel="nofollow noopener noreferrer"
class="is-flex is-align-items-center">
{{ item.name }}
<NeoIcon
icon="arrow-up-right"
class="ml-1 has-text-grey"
pack="fas" />
<NeoIcon icon="arrow-up-right" class="ml-1 has-text-grey" />
</a>
<nuxt-link v-else :to="item.url">
{{ item.name }}
Expand All @@ -67,10 +64,7 @@
rel="nofollow noopener noreferrer"
class="is-flex is-align-items-center">
{{ item.name }}
<NeoIcon
icon="arrow-up-right"
class="ml-1 has-text-grey"
pack="fas" />
<NeoIcon icon="arrow-up-right" class="ml-1 has-text-grey" />
</a>
<nuxt-link v-else :to="item.url">
{{ item.name }}
Expand All @@ -94,10 +88,7 @@
rel="nofollow noopener noreferrer"
class="is-flex is-align-items-center">
{{ item.name }}
<NeoIcon
icon="arrow-up-right"
class="ml-1 has-text-grey"
pack="fas" />
<NeoIcon icon="arrow-up-right" class="ml-1 has-text-grey" />
</a>
<nuxt-link v-else :to="item.url">
{{ item.name }}
Expand Down Expand Up @@ -148,7 +139,7 @@

<NeoIcon
v-else
:pack="item.name == 'Swag' ? 'fas' : 'fab'"
:pack="item.name == 'Swag' ? 'fasr' : 'fab'"
:icon="item.icon" />
</a>
</li>
Expand Down
1 change: 0 additions & 1 deletion components/base/SubmitButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
:disabled="disabled"
:loading="loading"
:expanded="expanded"
icon-pack="far"
outlined
@click.native="$emit('click')">
<slot>
Expand Down
2 changes: 1 addition & 1 deletion components/blog/BlogPost.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div v-if="attributes.title" class="article">
<div class="is-flex is-align-items-center has-text-grey is-size-5 mb-1">
<nuxt-link class="has-text-grey" to="/blog">{{ $t('blog') }}</nuxt-link>
<NeoIcon icon="chevron-right" pack="far" class="mx-5" />
<NeoIcon icon="chevron-right" class="mx-5" />
<span>{{ attributes.title?.slice(0, 15) }}...</span>
</div>
<h1>{{ attributes.title }}</h1>
Expand Down
1 change: 0 additions & 1 deletion components/collection/unlockable/UnlockableLoader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
variant="text"
no-shadow
icon="xmark"
icon-pack="fa-sharp"
size="medium"
@click.native="closeLoading" />
<img src="/unlockable-loader.svg" />
Expand Down
10 changes: 5 additions & 5 deletions components/collection/voteDrop/DropContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
:label="buttonLabel"
@click.native="handleMint" />
<div class="is-flex is-align-items-center mt-2">
<NeoIcon icon="timer" pak="far" class="mr-2" />
<NeoIcon icon="timer" class="mr-2" />
{{ leftTime }}
</div>
</div>
Expand All @@ -91,7 +91,7 @@
class="column is-half-desktop is-flex is-flex-direction-column is-justify-content-center order-1">
<div
class="is-flex is-align-items-center has-text-weight-bold is-size-6 mb-2">
<NeoIcon icon="unlock" class="mr-2" pack="far" />
<NeoIcon icon="unlock" class="mr-2" />
{{ $t('mint.unlockable.howItemWork') }}
</div>
<div>
Expand Down Expand Up @@ -186,21 +186,21 @@ const statusInformation = computed(() => {
icon: 'circle-info',
iconClass: 'has-text-grey',
labelClass: 'has-text-grey',
iconPack: 'far',
iconPack: 'fasr',
}
: isEligibleUser.value
? {
label: $i18n.t('mint.unlockable.eligible'),
icon: 'circle-check',
iconPack: 'fas',
iconPack: 'fasr',
iconClass: 'has-text-success',
}
: {
label: $i18n.t('mint.unlockable.exclusive'),
icon: 'circle-info',
iconClass: 'has-text-grey',
labelClass: 'has-text-grey',
iconPack: 'far',
iconPack: 'fasr',
}
})

Expand Down
2 changes: 1 addition & 1 deletion components/common/ConnectWallet/WalletMenuItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<div
v-if="isAuth && walletAccounts.length === 0"
class="pl-5 pt-2 pb-2 is-flex is-align-items-center auth-tip">
<NeoIcon icon="spinner-third" pack="fad" />
<NeoIcon icon="spinner-third" />
<span class="has-text-grey is-size-7 pl-4">
{{ $i18n.t('walletConnect.authTip') }}
</span>
Expand Down
2 changes: 1 addition & 1 deletion components/common/IdentityForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
:label="$i18n.t('identity.fundsReserve')"
position="bottom"
multiline>
<NeoIcon icon="info-circle" pack="fas" />
<NeoIcon icon="info-circle" />
</NeoTooltip>
</h1>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
variant="text"
no-shadow
icon="xmark"
icon-pack="fa-sharp"
size="medium"
@click.native="onClose" />
</header>
Expand Down
1 change: 0 additions & 1 deletion components/common/shoppingCart/ShoppingCartItemRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
class="inherit-background-color"
no-shadow
icon="trash"
icon-pack="far"
@click.native="emit('delete', nft.id)" />
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/drops/TimeTag.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class="tag-container is-flex border py-1 px-2 is-justify-content-space-between is-align-items-center">
<div class="image is-24x24 has-text-centered">
<img v-if="isMintingLive" src="/drop/unlockable-pulse.svg" />
<NeoIcon v-else icon="calendar-day" pack="far" variant="k-grey" />
<NeoIcon v-else icon="calendar-day" variant="k-grey" />
</div>

<span class="pr-1">{{ displayText }}</span>
Expand Down
1 change: 0 additions & 1 deletion components/explore/FilterMenuButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
@click="toggleSidebarFilters">
<NeoIcon
:icon="isSidebarFiltersOpen && !disabled ? 'times' : 'bars'"
pack="fa-sharp"
size="medium" />
</a>
<div class="is-hidden-tablet is-relative">
Expand Down
1 change: 0 additions & 1 deletion components/massmint/OnBoarding.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<NeoButton
:label="$t('massmint.onboarding.skip')"
icon="arrow-right"
icon-pack="fas"
@click.native="toMassMint" />
</div>
<div class="is-relative mb-6">
Expand Down
6 changes: 3 additions & 3 deletions components/navbar/MobileExpandableSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
{{ title }}
<NeoIcon v-if="icon" :icon="icon" :pack="iconFamily" />
</span>
<NeoIcon class="icon--right" icon="chevron-right" pack="fas" />
<NeoIcon class="icon--right" icon="chevron-right" />
</div>
<div v-else class="navbar-item--fullpage">
<div class="navbar-item navbar-item--reverse" @click.stop="close">
<NeoIcon icon="chevron-left" pack="fas" />
<NeoIcon icon="chevron-left" />
{{ title }}
</div>
<div :class="{ 'navbar-item': !noPadding }" class="navbar-item-body">
Expand All @@ -31,7 +31,7 @@ defineProps({
},
iconFamily: {
type: String,
default: 'fas',
default: 'fasr',
},
noPadding: {
type: Boolean,
Expand Down
2 changes: 1 addition & 1 deletion components/navbar/NotificationBoxButton.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<a class="navbar-item" @click="toggleNotificationModal">
<span v-if="props.showLabel">{{ $t('notification.notifications') }}</span>
<NeoIcon icon="bell" pack="far" class="icon" />
<NeoIcon icon="bell" class="icon" />
</a>
</template>

Expand Down
2 changes: 1 addition & 1 deletion components/rmrk/Gallery/EmotionList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
class="emoji-box mb-2"
no-shadow
@click.native="openEmotionModal()">
<NeoIcon pack="fas" icon="info-circle" />
<NeoIcon icon="info-circle" />
</NeoButton>
</div>
</template>
Expand Down
1 change: 1 addition & 0 deletions components/search/SearchBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
:class="{ 'is-collection-search': isSearchInCollectionMode }"
:placeholder="placeholderContent"
icon="search"
icon-pack="fasr"
:open-on-focus="showDefaultSuggestions"
menu-position="bottom"
expanded
Expand Down
4 changes: 2 additions & 2 deletions components/settings/Minting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
:label="$i18n.t('support.tooltip')"
position="bottom"
multiline>
<NeoIcon icon="info-circle" pack="fas" />
<NeoIcon icon="info-circle" />
</NeoTooltip>
</div>
<div class="py-2 is-flex">
Expand All @@ -22,7 +22,7 @@
:label="$i18n.t('carbonOffset.tooltip')"
position="bottom"
multiline>
<NeoIcon icon="info-circle" pack="fas" />
<NeoIcon icon="info-circle" />
</NeoTooltip>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions components/shared/DragDrop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
<NeoIcon
:icon="icon"
class="icon-size has-text-grey py-3"
size="large"
pack="fas" />
custom-size="fa-2x"
pack="fass" />
<p class="has-text-grey mt-8">
{{ subtitle }}
</p>
Expand Down
4 changes: 2 additions & 2 deletions components/shared/DropUpload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
@input="createInput">
<section class="section">
<div class="content has-text-centered">
<NeoIcon v-if="!file && !url" :icon="icon" size="large" />
<NeoIcon v-if="!file && !url" :icon="icon" custom-size="fa-2x" />
<div v-if="url && !isModelMedia" @click.prevent>
<MediaResolver
:src="url"
:mime-type="mimeType"
:preview="false"
@error="hasError = true" />
</div>
<NeoIcon v-if="hasError" icon="eye-slash" size="large" />
<NeoIcon v-if="hasError" icon="eye-slash" custom-size="fa-2x" />
<p v-if="!file">
{{ label }}
</p>
Expand Down
1 change: 0 additions & 1 deletion components/shared/OnRampModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
variant="text"
no-shadow
icon="xmark"
icon-pack="fa-sharp"
size="medium"
class="cross"
@click.native="onClose" />
Expand Down
3 changes: 0 additions & 3 deletions components/shared/TransactionLoader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
variant="text"
no-shadow
icon="xmark"
icon-pack="fa-sharp"
size="medium"
@click.native="emit('close')" />
</div>
Expand All @@ -31,7 +30,6 @@
variant="text"
no-shadow
icon="xmark"
icon-pack="fa-sharp"
size="medium"
@click.native="emit('close')" />
</div>
Expand Down Expand Up @@ -72,7 +70,6 @@
<NeoButton
v-clipboard:copy="explorerLink"
icon="copy"
icon-pack="far"
class="ml-4 px-4"
rounded
no-shadow
Expand Down
1 change: 0 additions & 1 deletion components/shared/modals/ModalWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<div :id="id">
<slot name="trigger" :handle-open="handleOpen">
<NeoButton
icon-pack="fas"
:icon-left="icon"
:expanded="expanded"
:class="{
Expand Down
1 change: 0 additions & 1 deletion components/shared/view/InfoBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
variant="text"
no-shadow
icon="xmark"
icon-pack="fa-sharp"
size="medium"
class="cross"
@click.native="onClose" />
Expand Down
1 change: 0 additions & 1 deletion components/transfer/DonationButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
style="width: 40px"
no-shadow
icon-left="gift"
icon-pack="fas"
tag="nuxt-link"
:to="`/${urlPrefix}/transfer?target=${props.address}&usdamount=10&donation=true`">
</NeoButton>
Expand Down
Loading