@@ -17,21 +17,21 @@ pub fn connected<'a>() -> Svg<'a, Theme> {
1717 let entypo_globe =
1818 include_bytes ! ( "../assets/fontello/entypo-globe.svg" ) . to_vec ( ) ;
1919
20- svg ( svg:: Handle :: from_memory ( entypo_globe) )
20+ svg ( svg:: Handle :: from_memory ( entypo_globe) ) . style ( theme :: svg :: primary )
2121}
2222
2323pub fn disconnected < ' a > ( ) -> Svg < ' a , Theme > {
2424 let entypo_cancel =
2525 include_bytes ! ( "../assets/fontello/entypo-cancel.svg" ) . to_vec ( ) ;
2626
27- svg ( svg:: Handle :: from_memory ( entypo_cancel) )
27+ svg ( svg:: Handle :: from_memory ( entypo_cancel) ) . style ( theme :: svg :: primary )
2828}
2929
3030pub fn link < ' a > ( ) -> Svg < ' a , Theme > {
3131 let entypo_link =
3232 include_bytes ! ( "../assets/fontello/entypo-link.svg" ) . to_vec ( ) ;
3333
34- svg ( svg:: Handle :: from_memory ( entypo_link) )
34+ svg ( svg:: Handle :: from_memory ( entypo_link) ) . style ( theme :: svg :: primary )
3535}
3636
3737pub fn cancel < ' a > ( ) -> Text < ' a > {
@@ -58,7 +58,7 @@ pub fn search<'a>() -> Svg<'a, Theme> {
5858 let entypo_search =
5959 include_bytes ! ( "../assets/fontello/entypo-search.svg" ) . to_vec ( ) ;
6060
61- svg ( svg:: Handle :: from_memory ( entypo_search) )
61+ svg ( svg:: Handle :: from_memory ( entypo_search) ) . style ( theme :: svg :: primary )
6262}
6363
6464pub fn checkmark < ' a > ( ) -> Text < ' a > {
@@ -69,28 +69,28 @@ pub fn file_transfer<'a>() -> Svg<'a, Theme> {
6969 let entypo_download =
7070 include_bytes ! ( "../assets/fontello/entypo-download.svg" ) . to_vec ( ) ;
7171
72- svg ( svg:: Handle :: from_memory ( entypo_download) )
72+ svg ( svg:: Handle :: from_memory ( entypo_download) ) . style ( theme :: svg :: primary )
7373}
7474
7575pub fn refresh < ' a > ( ) -> Svg < ' a , Theme > {
7676 let entypo_arrows_ccw =
7777 include_bytes ! ( "../assets/fontello/entypo-arrows-ccw.svg" ) . to_vec ( ) ;
7878
79- svg ( svg:: Handle :: from_memory ( entypo_arrows_ccw) )
79+ svg ( svg:: Handle :: from_memory ( entypo_arrows_ccw) ) . style ( theme :: svg :: primary )
8080}
8181
8282pub fn megaphone < ' a > ( ) -> Svg < ' a , Theme > {
8383 let entypo_megaphone =
8484 include_bytes ! ( "../assets/fontello/entypo-megaphone.svg" ) . to_vec ( ) ;
8585
86- svg ( svg:: Handle :: from_memory ( entypo_megaphone) )
86+ svg ( svg:: Handle :: from_memory ( entypo_megaphone) ) . style ( theme :: svg :: primary )
8787}
8888
8989pub fn theme_editor < ' a > ( ) -> Svg < ' a , Theme > {
9090 let entypo_palette =
9191 include_bytes ! ( "../assets/fontello/entypo-palette.svg" ) . to_vec ( ) ;
9292
93- svg ( svg:: Handle :: from_memory ( entypo_palette) )
93+ svg ( svg:: Handle :: from_memory ( entypo_palette) ) . style ( theme :: svg :: primary )
9494}
9595
9696pub fn undo < ' a > ( ) -> Text < ' a > {
@@ -109,28 +109,28 @@ pub fn logs<'a>() -> Svg<'a, Theme> {
109109 let entypo_bucket =
110110 include_bytes ! ( "../assets/fontello/entypo-bucket.svg" ) . to_vec ( ) ;
111111
112- svg ( svg:: Handle :: from_memory ( entypo_bucket) )
112+ svg ( svg:: Handle :: from_memory ( entypo_bucket) ) . style ( theme :: svg :: primary )
113113}
114114
115115pub fn menu < ' a > ( ) -> Svg < ' a , Theme > {
116116 let typicons_menu =
117117 include_bytes ! ( "../assets/fontello/typicons-menu.svg" ) . to_vec ( ) ;
118118
119- svg ( svg:: Handle :: from_memory ( typicons_menu) )
119+ svg ( svg:: Handle :: from_memory ( typicons_menu) ) . style ( theme :: svg :: primary )
120120}
121121
122122pub fn documentation < ' a > ( ) -> Svg < ' a , Theme > {
123123 let fontawesome_book =
124124 include_bytes ! ( "../assets/fontello/fontawesome-book.svg" ) . to_vec ( ) ;
125125
126- svg ( svg:: Handle :: from_memory ( fontawesome_book) )
126+ svg ( svg:: Handle :: from_memory ( fontawesome_book) ) . style ( theme :: svg :: primary )
127127}
128128
129129pub fn highlights < ' a > ( ) -> Svg < ' a , Theme > {
130130 let entypo_bell =
131131 include_bytes ! ( "../assets/fontello/entypo-bell.svg" ) . to_vec ( ) ;
132132
133- svg ( svg:: Handle :: from_memory ( entypo_bell) )
133+ svg ( svg:: Handle :: from_memory ( entypo_bell) ) . style ( theme :: svg :: primary )
134134}
135135
136136pub fn scroll_to_bottom < ' a > ( ) -> Text < ' a > {
@@ -150,6 +150,7 @@ pub fn config<'a>() -> Svg<'a, Theme> {
150150 include_bytes ! ( "../assets/fontello/fontawesome-file-code.svg" ) . to_vec ( ) ;
151151
152152 svg ( svg:: Handle :: from_memory ( fontawesome_file_code) )
153+ . style ( theme:: svg:: primary)
153154}
154155
155156pub fn open < ' a > ( ) -> Text < ' a > {
@@ -160,7 +161,7 @@ pub fn star<'a>() -> Svg<'a, Theme> {
160161 let fontawesome_star =
161162 include_bytes ! ( "../assets/fontello/fontawesome-star.svg" ) . to_vec ( ) ;
162163
163- svg ( svg:: Handle :: from_memory ( fontawesome_star) )
164+ svg ( svg:: Handle :: from_memory ( fontawesome_star) ) . style ( theme :: svg :: primary )
164165}
165166
166167pub fn certificate < ' a > ( ) -> Svg < ' a , Theme > {
@@ -169,13 +170,14 @@ pub fn certificate<'a>() -> Svg<'a, Theme> {
169170 . to_vec ( ) ;
170171
171172 svg ( svg:: Handle :: from_memory ( fontawesome_certificate) )
173+ . style ( theme:: svg:: primary)
172174}
173175
174176pub fn circle < ' a > ( ) -> Svg < ' a , Theme > {
175177 let fontawesome_circle =
176178 include_bytes ! ( "../assets/fontello/fontawesome-circle.svg" ) . to_vec ( ) ;
177179
178- svg ( svg:: Handle :: from_memory ( fontawesome_circle) )
180+ svg ( svg:: Handle :: from_memory ( fontawesome_circle) ) . style ( theme :: svg :: primary )
179181}
180182
181183pub fn circle_empty < ' a > ( ) -> Svg < ' a , Theme > {
@@ -184,6 +186,7 @@ pub fn circle_empty<'a>() -> Svg<'a, Theme> {
184186 . to_vec ( ) ;
185187
186188 svg ( svg:: Handle :: from_memory ( fontawesome_circle_empty) )
189+ . style ( theme:: svg:: primary)
187190}
188191
189192pub fn dot_circled < ' a > ( ) -> Svg < ' a , Theme > {
@@ -192,41 +195,44 @@ pub fn dot_circled<'a>() -> Svg<'a, Theme> {
192195 . to_vec ( ) ;
193196
194197 svg ( svg:: Handle :: from_memory ( fontawesome_dot_circled) )
198+ . style ( theme:: svg:: primary)
195199}
196200
197201pub fn asterisk < ' a > ( ) -> Svg < ' a , Theme > {
198202 let fontawesome_asterisk =
199203 include_bytes ! ( "../assets/fontello/fontawesome-asterisk.svg" ) . to_vec ( ) ;
200204
201205 svg ( svg:: Handle :: from_memory ( fontawesome_asterisk) )
206+ . style ( theme:: svg:: primary)
202207}
203208
204209pub fn speaker < ' a > ( ) -> Svg < ' a , Theme > {
205210 let entypo_sound =
206211 include_bytes ! ( "../assets/fontello/entypo-sound.svg" ) . to_vec ( ) ;
207212
208- svg ( svg:: Handle :: from_memory ( entypo_sound) )
213+ svg ( svg:: Handle :: from_memory ( entypo_sound) ) . style ( theme :: svg :: primary )
209214}
210215
211216pub fn lightbulb < ' a > ( ) -> Svg < ' a , Theme > {
212217 let fontawesome_lightbulb =
213218 include_bytes ! ( "../assets/fontello/fontawesome-lightbulb.svg" ) . to_vec ( ) ;
214219
215220 svg ( svg:: Handle :: from_memory ( fontawesome_lightbulb) )
221+ . style ( theme:: svg:: primary)
216222}
217223
218224pub fn quit < ' a > ( ) -> Svg < ' a , Theme > {
219225 let mfg_labs_logout =
220226 include_bytes ! ( "../assets/fontello/mfg-labs-logout.svg" ) . to_vec ( ) ;
221227
222- svg ( svg:: Handle :: from_memory ( mfg_labs_logout) )
228+ svg ( svg:: Handle :: from_memory ( mfg_labs_logout) ) . style ( theme :: svg :: primary )
223229}
224230
225231pub fn channel_discovery < ' a > ( ) -> Svg < ' a , Theme > {
226232 let fontawesome_users =
227233 include_bytes ! ( "../assets/fontello/fontawesome-users.svg" ) . to_vec ( ) ;
228234
229- svg ( svg:: Handle :: from_memory ( fontawesome_users) )
235+ svg ( svg:: Handle :: from_memory ( fontawesome_users) ) . style ( theme :: svg :: primary )
230236}
231237
232238pub fn plus < ' a > ( ) -> Text < ' a > {
@@ -246,6 +252,7 @@ pub fn not_sent<'a>() -> Svg<'a, Theme> {
246252 include_bytes ! ( "../assets/fontello/fontawesome-attention.svg" ) . to_vec ( ) ;
247253
248254 svg ( svg:: Handle :: from_memory ( fontawesome_attention) )
255+ . style ( theme:: svg:: primary)
249256}
250257
251258pub fn eraser < ' a > ( ) -> Text < ' a > {
@@ -259,6 +266,7 @@ pub fn spinner<'a>(angle: f32) -> Svg<'a, Theme> {
259266 . width ( 15 )
260267 . height ( 15 )
261268 . rotation ( iced:: Radians ( angle) )
269+ . style ( theme:: svg:: primary)
262270}
263271
264272fn to_text < ' a > ( unicode : char ) -> Text < ' a > {
0 commit comments