#43 : Move colors and values to css vars

This commit is contained in:
Vadim
2021-07-15 13:17:33 +03:00
parent 629e0232d1
commit c3957ca4f3
4 changed files with 17 additions and 11 deletions

View File

@@ -32,7 +32,7 @@
<style>
:root {
--dot-size: 10px;
--sc-dot-size: 10px;
}
.sc-carousel-dots__container {
display: flex;
@@ -42,8 +42,8 @@
padding: 0 30px;
}
.sc-carousel-dots__dot-container {
height: calc(var(--dot-size) + 10px);
width: calc(var(--dot-size) + 10x);
height: calc(var(--sc-dot-size) + 10px);
width: calc(var(--sc-dot-size) + 10px);
display: flex;
align-items: center;
justify-content: center;