style: 更新品牌标识与侧栏切换图标
This commit is contained in:
1 parent
7763170830
commit
a442087ea9
4 files changed
+63
-19
No files matched your search
@@ -0,0 +1,32 @@
|
||||
<script setup lang="ts">
|
||||
import { Film, Sparkles } from '@lucide/vue'
|
||||
|
||||
withDefaults(defineProps<{ size?: number }>(), { size: 28 })
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<span class="studio-logo" :style="{ width: `${size}px`, height: `${size}px` }" aria-hidden="true">
|
||||
<Film class="studio-logo-film" :size="size" :stroke-width="1.8" />
|
||||
<Sparkles class="studio-logo-ai" :size="Math.round(size * 0.46)" :stroke-width="2.4" />
|
||||
</span>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.studio-logo {
|
||||
position: relative;
|
||||
display: inline-grid;
|
||||
flex: 0 0 auto;
|
||||
place-items: center;
|
||||
color: var(--app-ink);
|
||||
}
|
||||
.studio-logo-film {
|
||||
display: block;
|
||||
}
|
||||
.studio-logo-ai {
|
||||
position: absolute;
|
||||
top: -12%;
|
||||
right: -15%;
|
||||
color: var(--app-accent-text);
|
||||
fill: var(--app-subtle);
|
||||
}
|
||||
</style>
|
||||
@@ -2,6 +2,7 @@
|
||||
export { default as AppDialog } from './AppDialog.vue'
|
||||
export { default as EmptyState } from './EmptyState.vue'
|
||||
export { default as StatusBadge } from './StatusBadge.vue'
|
||||
export { default as StudioLogo } from './StudioLogo.vue'
|
||||
export { default as AssetImage } from './AssetImage.vue'
|
||||
export { default as RevealImage } from './RevealImage.vue'
|
||||
export { default as DirectoryItem } from './DirectoryItem.vue'
|
||||
|
||||
Reference in new issue
Block a user