@@ -49,13 +49,13 @@ body {
4949 margin : 0 ;
5050 font : map-get ($base , font-weight ) #{map-get ($base , font-size )} / #{map-get ($base , line-height )} map-get ($base , font-family );
5151 ::-moz-selection {
52- background : $ select-color ;
52+ @include css-var ( background , " var(-- select-color) " ) ;
5353 }
5454 ::-webkit-selection {
55- background : $ select-color ;
55+ @include css-var ( background , " var(-- select-color) " ) ;
5656 }
5757 ::selection {
58- background : $ select-color ;
58+ @include css-var ( background , " var(-- select-color) " ) ;
5959 }
6060}
6161
6666
6767input , textarea , select , button {
6868 font : map-get ($base , font-weight ) #{map-get ($base , font-size )} / #{map-get ($base , line-height )} map-get ($base , font-family );
69- color : $ text-color ;
69+ @include css-var ( color , " var(-- text-color) " ) ;
7070}
7171
7272h1 ,
@@ -81,55 +81,55 @@ strong {
8181
8282h1 {
8383 font-size : map-get ($base , font-size-h1 );
84- color : $ text-color-d ;
84+ @include css-var ( color , " var(-- text-color-d) " ) ;
8585 @include media-breakpoint-down (md) {
8686 font-size : map-get ($base , font-size-h1-sm );
8787 }
8888}
8989
9090h2 {
9191 font-size : map-get ($base , font-size-h2 );
92- color : $ text-color-d ;
92+ @include css-var ( color , " var(-- text-color-d) " ) ;
9393 @include media-breakpoint-down (md) {
9494 font-size : map-get ($base , font-size-h2-sm );
9595 }
9696}
9797
9898h3 {
9999 font-size : map-get ($base , font-size-h3 );
100- color : $ text-color-d ;
100+ @include css-var ( color , " var(-- text-color-d) " ) ;
101101 @include media-breakpoint-down (md) {
102102 font-size : map-get ($base , font-size-h3-sm );
103103 }
104104}
105105
106106h4 {
107107 font-size : map-get ($base , font-size-h4 );
108- color : $ text-color ;
108+ @include css-var ( color , " var(-- text-color) " ) ;
109109 @include media-breakpoint-down (md) {
110110 font-size : map-get ($base , font-size-h4-sm );
111111 }
112112}
113113
114114h5 {
115115 font-size : map-get ($base , font-size-h5 );
116- color : $ text-color ;
116+ @include css-var ( color , " var(-- text-color) " ) ;
117117 @include media-breakpoint-down (md) {
118118 font-size : map-get ($base , font-size-h5-sm );
119119 }
120120}
121121
122122h6 {
123123 font-size : map-get ($base , font-size-h6 );
124- color : $ text-color-l ;
124+ @include css-var ( color , " var(-- text-color-l) " ) ;
125125 @include media-breakpoint-down (md) {
126126 font-size : map-get ($base , font-size-h6-sm );
127127 }
128128}
129129
130130a {
131131 font-weight : map-get ($base , font-weight-bold );
132- @include link-colors ( $main-color-1 ) ;
132+ @extend . link, .link--primary ;
133133}
134134
135135pre , code {
0 commit comments