11@import "tailwindcss" ;
22
3- /**************************************/
4- /******** SWIPER CUSTOMISATION ********/
5- /**************************************/
3+ @theme {
4+ --font-rem : "Rem" , monospace;
5+ --color-paper : # fafafa ; /* zinc-50 */
6+ --color-soft : # e4e4e7 ; /* zinc-200 */
7+ --color-muted : # d4d4d8 ; /* zinc-300 */
8+ --color-hard : # 71717a ; /* zinc-500 */
9+ --color-ink : # 27272a ; /* zinc-800 */
10+ }
611
712: root {
8- --swiper-theme-color : # fafafa !important ;
9-
10- --swiper-pagination-bottom : 48px !important ;
11- --swiper-navigation-size : 20px !important ;
12- --swiper-navigation-sides-offset : 8px !important ;
13+ --swiper-theme-color : var (--color-paper ) !important ;
14+ --swiper-pagination-bottom : 48px !important ;
15+ --swiper-pagination-bullet-inactive-color : var (--color-paper ) !important ;
16+ --swiper-pagination-bullet-inactive-opacity : 0.33 !important ;
17+ --swiper-navigation-size : 20px !important ;
18+ --swiper-navigation-sides-offset : 8px !important ;
1319}
1420
1521@media (min-width : 768px ) {
16- : root {
17- --swiper-pagination-bottom : 16px !important ;
18- --swiper-navigation-size : 24px !important ;
19- --swiper-navigation-sides-offset : 16px !important ;
20- }
21- }
22-
23-
24-
25- @theme {
26- --font-rem : "Rem" , monospace;
27- --color-paper : # fafafa ; /* zinc-50 */
28- --color-soft : # e4e4e7 ; /* zinc-200 */
29- --color-muted : # d4d4d8 ; /* zinc-300 */
30- --color-hard : # 71717a ; /* zinc-500 */
31- --color-ink : # 27272a ; /* zinc-800 */
32- }
33-
22+ : root {
23+ --swiper-pagination-bottom : 16px !important ;
24+ --swiper-navigation-size : 24px !important ;
25+ --swiper-navigation-sides-offset : 16px !important ;
26+ }
27+ }
0 commit comments