tiny-rdm/frontend/src/components/icons/Log.vue

66 lines
1.9 KiB
Vue
Raw Normal View History

<script setup>
const props = defineProps({
2023-10-23 18:22:43 +08:00
inverse: {
type: Boolean,
default: false,
},
strokeWidth: {
type: [Number, String],
default: 3,
},
})
</script>
<template>
2023-10-27 10:51:54 +08:00
<svg v-if="props.inverse" fill="none" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
2023-10-23 18:22:43 +08:00
<rect
fill="currentColor"
2023-10-27 10:51:54 +08:00
height="34"
2023-10-23 18:22:43 +08:00
stroke="currentColor"
2023-10-27 10:51:54 +08:00
stroke-linejoin="round"
2023-10-23 18:22:43 +08:00
stroke-width="3"
2023-10-27 10:51:54 +08:00
width="28"
x="13"
y="10" />
2023-10-23 18:22:43 +08:00
<path
d="M35 10V4H8C7.44772 4 7 4.44772 7 5V38H13"
stroke="currentColor"
stroke-linecap="round"
2023-10-27 10:51:54 +08:00
stroke-linejoin="round"
stroke-width="3" />
<path d="M21 22H33" stroke="#FFF" stroke-linecap="round" stroke-linejoin="round" stroke-width="3" />
<path d="M21 30H33" stroke="#FFF" stroke-linecap="round" stroke-linejoin="round" stroke-width="3" />
2023-10-23 18:22:43 +08:00
</svg>
<svg v-else fill="none" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<rect
:stroke-width="strokeWidth"
fill="none"
height="34"
stroke="currentColor"
stroke-linejoin="round"
width="28"
x="13"
2023-08-24 15:23:25 +08:00
y="10" />
<path
:stroke-width="strokeWidth"
d="M35 10V4H8C7.44772 4 7 4.44772 7 5V38H13"
stroke="currentColor"
stroke-linecap="round"
2023-08-24 15:23:25 +08:00
stroke-linejoin="round" />
<path
:stroke-width="strokeWidth"
d="M21 22H33"
stroke="currentColor"
stroke-linecap="round"
2023-08-24 15:23:25 +08:00
stroke-linejoin="round" />
<path
:stroke-width="strokeWidth"
d="M21 30H33"
stroke="currentColor"
stroke-linecap="round"
2023-08-24 15:23:25 +08:00
stroke-linejoin="round" />
</svg>
</template>
<style lang="scss" scoped></style>