mobilizon/js/src/components/Logo.vue

31 lines
594 B
Vue
Raw Normal View History

<template>
<MobilizonLogo />
</template>
<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// @ts-ignore
import MobilizonLogo from "../assets/mobilizon_logo.svg?inline";
@Component({
components: {
MobilizonLogo,
},
})
export default class Logo extends Vue {
@Prop({ type: Boolean, required: false, default: false }) invert!: boolean;
}
</script>
<style lang="scss" scoped>
@import "../variables.scss";
svg {
fill: $background-color;
&.invert {
fill: $secondary;
}
}
</style>