Add indexes toggle and disable starred

This commit is contained in:
Eason Li 2026-01-05 09:12:06 +08:00
parent 2373c0acfd
commit 01dfd2ec26
5 changed files with 68 additions and 13 deletions

View file

@ -29,6 +29,13 @@ const enabled = ref(false)
.switch.enabled {
background-color: var(--vp-c-brand);
}
.switch.disabled {
opacity: 0.5;
pointer-events: none;
background-color: var(--vp-c-bg-soft);
border-color: var(--vp-c-divider);
}
</style>
<style scoped>