@@ -130,9 +130,11 @@ a.cta {
130130}
131131
132132a .cta : not (.primary ): not (.secondary )::after {
133+ --img : url ("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31.56 31.56' %3E%3Cpath d='M15.78 0l-3.1 3.1 10.5 10.49H0v4.38h23.18l-10.5 10.49 3.1 3.1 15.78-15.78L15.78 0z'%3E%3C/path%3E%3C/svg%3E" );
133134 content : '' ;
134- background-image : url ("data:image/svg+xml,%3Csvg fill='%230066cc' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31.56 31.56' %3E%3Cpath d='M15.78 0l-3.1 3.1 10.5 10.49H0v4.38h23.18l-10.5 10.49 3.1 3.1 15.78-15.78L15.78 0z'%3E%3C/path%3E%3C/svg%3E" );
135- background-repeat : no-repeat;
135+ mask-image : var (--img );
136+ -webkit-mask-image : var (--img );
137+ background-color : currentcolor;
136138 display : inline-block;
137139 translate : 3px 0 ;
138140 width : 13px ;
@@ -141,26 +143,6 @@ a.cta:not(.primary):not(.secondary)::after {
141143 margin-bottom : -1px ;
142144}
143145
144- .band : is (.dark , .accent ) a .cta : not (.primary ): not (.secondary )::after {
145- background-image : url ("data:image/svg+xml,%3Csvg fill='white' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31.56 31.56' %3E%3Cpath d='M15.78 0l-3.1 3.1 10.5 10.49H0v4.38h23.18l-10.5 10.49 3.1 3.1 15.78-15.78L15.78 0z'%3E%3C/path%3E%3C/svg%3E" );
146- }
147-
148- .band : is (.dark , .accent ) a .cta : hover : not (.primary ): not (.secondary )::after {
149- background-image : url ("data:image/svg+xml,%3Csvg fill='white' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31.56 31.56' %3E%3Cpath d='M15.78 0l-3.1 3.1 10.5 10.49H0v4.38h23.18l-10.5 10.49 3.1 3.1 15.78-15.78L15.78 0z'%3E%3C/path%3E%3C/svg%3E" );
150- }
151-
152- .band : is (.base ) a .cta : not (.primary ): not (.secondary )::after {
153- background-image : url ("data:image/svg+xml,%3Csvg fill='%2306c' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31.56 31.56' %3E%3Cpath d='M15.78 0l-3.1 3.1 10.5 10.49H0v4.38h23.18l-10.5 10.49 3.1 3.1 15.78-15.78L15.78 0z'%3E%3C/path%3E%3C/svg%3E" );
154- }
155-
156- .band : is (.base ) a .cta : hover : not (.primary ): not (.secondary )::after {
157- background-image : url ("data:image/svg+xml,%3Csvg fill='%23004080' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31.56 31.56' %3E%3Cpath d='M15.78 0l-3.1 3.1 10.5 10.49H0v4.38h23.18l-10.5 10.49 3.1 3.1 15.78-15.78L15.78 0z'%3E%3C/path%3E%3C/svg%3E" );
158- }
159-
160- .band : is (.light , .base ) a .cta : visited : not (.secondary ): not (.secondary )::after {
161- background-image : url ("data:image/svg+xml,%3Csvg fill='%23004080' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31.56 31.56' %3E%3Cpath d='M15.78 0l-3.1 3.1 10.5 10.49H0v4.38h23.18l-10.5 10.49 3.1 3.1 15.78-15.78L15.78 0z'%3E%3C/path%3E%3C/svg%3E" );
162- }
163-
164146.band a .cta : hover : not (.primary ): not (.secondary )::after {
165147 translate : 6px ;
166148}
@@ -375,10 +357,6 @@ main.blog {
375357 color : var (--pf-theme--color--white , # fff );
376358}
377359
378- .pf-bar a .cta : not (.primary ): not (.secondary )::after {
379- background-image : url ("data:image/svg+xml,%3Csvg fill='white' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31.56 31.56' %3E%3Cpath d='M15.78 0l-3.1 3.1 10.5 10.49H0v4.38h23.18l-10.5 10.49 3.1 3.1 15.78-15.78L15.78 0z'%3E%3C/path%3E%3C/svg%3E" );
380- }
381-
382360.pf-bar a .cta : hover : not (.primary ): not (.secondary )::after {
383361 translate : 6px ;
384362}
0 commit comments