Skip to content

Commit

Permalink
fix: change bullet active color var
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 committed Aug 7, 2021
1 parent 7225454 commit c087025
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/_blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

--ct-bullet-size: 6px;
--ct-bullet-color: var(--ct-bold-color);
--ct-bullet-active-color: var(--ls-active-primary-color);

--ct-block-max-width: calc(100% - 38px);
}
Expand Down Expand Up @@ -84,8 +85,8 @@ a:hover > .bullet-container .bullet {
}

.ls-block .bullet {
background-color: var(--ct-page-reference-color);
box-shadow: 0 0 0 1px var(--ct-page-reference-color);
background-color: var(--ct-bullet-active-color);
box-shadow: 0 0 0 1px var(--ct-bullet-active-color);
}

.ls-block:not(:focus-within) .bullet {
Expand Down Expand Up @@ -161,7 +162,7 @@ div.items-center::after,
}

.ls-block:focus-within > div > div.items-center::before {
border-color: var(--ct-page-reference-color);
border-color: var(--ct-bullet-active-color);
}

.ls-block > div > div.items-center::after {
Expand All @@ -174,7 +175,7 @@ div.items-center::after,
}

.ls-block:focus-within > div > div.items-center::after {
border-color: var(--ct-page-reference-color);
border-color: var(--ct-bullet-active-color);
}

.block-children > .ls-block::before {
Expand All @@ -187,7 +188,7 @@ div.items-center::after,
}

.block-children:focus-within > .ls-block:not(:focus-within)::before {
border-color: var(--ct-page-reference-color);
border-color: var(--ct-bullet-active-color);
}

.block-children:focus-within > .ls-block:focus-within ~ .ls-block::before {
Expand All @@ -208,7 +209,7 @@ div.items-center::after,
}

.ls-block[haschild="true"]:focus-within > div > .block-content-wrapper::before {
border-color: var(--ct-page-reference-color);
border-color: var(--ct-bullet-active-color);
}

.doc-mode div.items-center::before,
Expand Down

0 comments on commit c087025

Please sign in to comment.