Add a subtle icon style

This commit is contained in:
Ramon Wenger 2022-02-15 17:22:36 +01:00
parent 13a5ea9534
commit d1250e76a4
6 changed files with 17 additions and 6 deletions

View File

@ -24,7 +24,7 @@
</script>
<style scoped lang="scss">
@import "@/styles/_variables.scss";
@import "~styles/variables";
.bookmark-icon {
width: 24px;

View File

@ -10,7 +10,7 @@
class="icon-button"
@click="$emit('delete')"
>
<trash-icon class="icon-button__icon" />
<trash-icon class="icon-button__icon icon-button__icon--subtle" />
</a>
</div>
</template>

View File

@ -14,7 +14,7 @@
class="profile-avatar__remove icon-button"
@click="deleteAvatar()"
>
<trash-icon class="profile-avatar__remove-icon icon-button__icon" />
<trash-icon class="profile-avatar__remove-icon icon-button__icon icon-button__icon--subtle" />
</a>
</div>
<avatar-upload-form

View File

@ -46,12 +46,16 @@
align-items: center;
width: 50px;
height: 50px;
border: 0;
background: transparent;
&__icon {
width: 25px;
height: 25px;
fill: $color-silver-dark;
@include default-icon;
cursor: pointer;
justify-self: center;
&--subtle {
fill: $color-silver-dark;
}
}
}

View File

@ -230,3 +230,8 @@
resize: none;
outline: 0;
}
@mixin default-icon {
width: $default-icon-dimension;
height: $default-icon-dimension;
}

View File

@ -82,3 +82,5 @@ $footer-width: 800px;
$news-width: 550px;
$screen-width: 1200px;
$default-icon-dimension: 25px;