Skip to content

Commit

Permalink
MacrosMenu dynamic colors
Browse files Browse the repository at this point in the history
  • Loading branch information
kholmogorov27 committed Mar 10, 2023
1 parent ce25dae commit 02742e2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/components/MacrosMenu/MacrosMenu.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,21 @@
:global(.splide__slide--col:last-child) {
margin-right: 0 !important;
}

:global(.splide__arrow) {
background: var(--primary) !important;
}
:global(.splide__arrow svg) {
fill: var(--secondary) !important;
}

:global(.splide__pagination__page) {
background: var(--primary) !important;
}
:global(.splide__pagination__page:not(.is-active)) {
filter: contrast(35%) !important;
}

.container {
width: auto;
height: calc(50vh - var(--menu-offset) - 40px);
Expand Down

0 comments on commit 02742e2

Please sign in to comment.