mirror of
https://github.com/fmhy/edit.git
synced 2026-01-12 15:01:06 +11:00
Added Toggle Indexes (#4544)
* Add monochrome theme with grayscale filter * Add indexes toggle and disable starred * Keep filters mutually exclusive
This commit is contained in:
parent
a34a97eb41
commit
361e48f862
5 changed files with 87 additions and 13 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue