Skip to content

Commit

Permalink
increase contrast of selected slide in ToC
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanCoulsonCA committed Jun 6, 2024
1 parent 35b4caf commit 163785e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/slide-toc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
<draggable v-model="slides" @update="$emit('slides-updated', slides)" item-key="title">
<template #item="{ element, index }">
<li
class="toc-slide border-t flex px-2 cursor-pointer hover:bg-gray-100"
:class="currentSlide === element ? 'bg-gray-100' : ''"
class="toc-slide border-t flex px-2 cursor-pointer hover:bg-gray-300"
:class="currentSlide === element ? 'bg-gray-300' : ''"
@click="selectSlide(index)"
:key="element.title + index"
v-tippy="{
Expand Down

0 comments on commit 163785e

Please sign in to comment.