The personal finance app for everyone (by everyone)
Ruby
Form save icon
Josh Pigford0922a7cbd68f
diff --git a/app/assets/images/icn-check.svg b/app/assets/images/icn-check.svgnew file mode 100644index 0000000000..1e1c6c73d7--- /dev/null+++ b/app/assets/images/icn-check.svg@@ -0,0 +1,3 @@+<svg width="18" height="12" viewBox="0 0 18 12" fill="none" xmlns="http://www.w3.org/2000/svg">+<path fill-rule="evenodd" clip-rule="evenodd" d="M17.0484 0.351832C17.2734 0.576865 17.3997 0.882035 17.3997 1.20023C17.3997 1.51843 17.2734 1.8236 17.0484 2.04863L7.4484 11.6486C7.22337 11.8736 6.9182 12 6.6 12C6.2818 12 5.97663 11.8736 5.7516 11.6486L0.9516 6.84863C0.733011 6.62231 0.612057 6.31919 0.614791 6.00455C0.617526 5.68991 0.743728 5.38894 0.966218 5.16645C1.18871 4.94396 1.48968 4.81776 1.80432 4.81502C2.11895 4.81229 2.42208 4.93324 2.6484 5.15183L6.6 9.10343L15.3516 0.351832C15.5766 0.126867 15.8818 0.000488281 16.2 0.000488281C16.5182 0.000488281 16.8234 0.126867 17.0484 0.351832Z" />+</svg>diff --git a/app/views/accounts/new.html.erb b/app/views/accounts/new.html.erbindex 3560e4f9e2..a7556f278a 100644--- a/app/views/accounts/new.html.erb+++ b/app/views/accounts/new.html.erb@@ -39,7 +39,7 @@<div class="absolute right-5 bottom-5"><button type="submit" class="flex items-center justify-center w-12 h-12 mb-2 bg-black rounded-full shrink-0 grow-0 hover:bg-gray-600">- <i class="text-xl text-white fa-regular fa-check"></i>+ <%= inline_svg_tag('icn-check.svg', class: 'text-white fill-current') %></button></div><% end %>diff --git a/app/views/accounts/new_credit.html.erb b/app/views/accounts/new_credit.html.erbindex 889243c1ec..12fdb37176 100644--- a/app/views/accounts/new_credit.html.erb+++ b/app/views/accounts/new_credit.html.erb@@ -31,7 +31,7 @@<div class="absolute right-5 bottom-5"><button type="submit" class="flex items-center justify-center w-12 h-12 mb-2 bg-black rounded-full shrink-0 grow-0 hover:bg-gray-600">- <i class="text-xl text-white fa-regular fa-check"></i>+ <%= inline_svg_tag('icn-check.svg', class: 'text-white fill-current') %></button></div><% end %>\ No newline at end of filediff --git a/app/views/settings/edit.html.erb b/app/views/settings/edit.html.erbindex dffe29b0dc..e92b05a9ca 100644--- a/app/views/settings/edit.html.erb+++ b/app/views/settings/edit.html.erb@@ -36,7 +36,7 @@<div class="absolute right-5 bottom-5"><button type="submit" class="flex items-center justify-center w-12 h-12 mb-2 bg-black rounded-full shrink-0 grow-0 hover:bg-gray-600">- <i class="text-xl text-white fa-regular fa-check"></i>+ <%= inline_svg_tag('icn-check.svg', class: 'text-white fill-current') %></button></div><% end %>