File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -144,9 +144,9 @@ Add the `Toast--spinner` modifier class on the `Toast-icon` `svg` to communicate
144144<div class =" p-1" >
145145 <div class =" Toast Toast--loading" >
146146 <span class =" Toast-icon" >
147- <svg class =" Toast--spinner" viewBox =" 0 0 32 32" width =" 18" height =" 18" fill = " #24292E " >
148- <path opacity = " .2 " d =" M16 0 A16 16 0 0 0 16 32 A16 16 0 0 0 16 0 M16 4 A12 12 0 0 1 16 28 A12 12 0 0 1 16 4" />
149- <path d =" M16 0 A16 16 0 0 1 32 16 L28 16 A12 12 0 0 0 16 4z" ></path >
147+ <svg class =" Toast--spinner" viewBox =" 0 0 32 32" width =" 18" height =" 18" >
148+ <path fill = " #6a737d " d =" M16 0 A16 16 0 0 0 16 32 A16 16 0 0 0 16 0 M16 4 A12 12 0 0 1 16 28 A12 12 0 0 1 16 4" />
149+ <path fill = " #ffffff " d =" M16 0 A16 16 0 0 1 32 16 L28 16 A12 12 0 0 0 16 4z" ></path >
150150 </svg >
151151 </span >
152152 <span class =" Toast-content" >Toast message goes here.</span >
Original file line number Diff line number Diff line change 5454 background-color : $red-500 ;
5555}
5656
57- .Toast--warning , .Toast--loading {
58- .Toast-icon {
57+ .Toast--warning .Toast-icon {
5958 color : $gray-900 ;
6059 background-color : $yellow-600 ;
61- }
6260}
6361
6462.Toast--success .Toast-icon {
6563 background-color : $green-500 ;
6664}
6765
66+ .Toast--loading .Toast-icon {
67+ background-color : $gray-700 ;
68+ }
69+
6870// Animations
6971
7072.Toast--animateIn {
98100 from { transform :rotate (0deg ); }
99101 to { transform :rotate (360deg ); }
100102}
101-
102-
103-
You can’t perform that action at this time.
0 commit comments