mirror of
https://github.com/we-promise/sure.git
synced 2026-04-21 04:54:11 +00:00
Fix/design system violations (#2422)
* fix: replace hardcoded bg-white with bg-container in notification notice * fix: replace hardcoded text-white with fg-inverse in notification CTA * fix: replace hardcoded text-white with fg-inverse in text tooltip * fix: replace hardcoded bg-gray-900 text-white with bg-inverse fg-inverse in invitations form * fix: replace hardcoded bg-gray-800 text-white with bg-inverse fg-inverse in AI consent form * fix: replace hardcoded text-white with fg-inverse in changelog page * fix: replace hardcoded text-white and border-gray-500 with fg-inverse and border-secondary in investment tooltip * fix: replace hardcoded text-white with fg-inverse in holdings missing price tooltip * fix: replace hardcoded text-white and bg-gray-400 with fg-inverse and bg-surface-inset in settings profiles * fix: replace hardcoded bg-orange-500 text-white with bg-yellow-600 fg-inverse in settings hosting danger zone --------- Co-authored-by: Eran Avidor <eavidor@Eran-Avidor-MBP.lan>
This commit is contained in:
@@ -7,12 +7,12 @@
|
||||
</div>
|
||||
<%=
|
||||
button_to t("settings.hostings.show.clear_cache"), clear_cache_settings_hosting_path, method: :delete,
|
||||
class: "w-full md:w-auto bg-orange-500 text-white text-sm font-medium rounded-lg px-4 py-2",
|
||||
class: "w-full md:w-auto bg-yellow-600 fg-inverse text-sm font-medium rounded-lg px-4 py-2",
|
||||
data: { turbo_confirm: {
|
||||
title: t("settings.hostings.show.confirm_clear_cache.title"),
|
||||
body: t("settings.hostings.show.confirm_clear_cache.body"),
|
||||
accept: t("settings.hostings.show.clear_cache"),
|
||||
acceptClass: "w-full bg-orange-500 text-white rounded-xl text-center p-[10px] border mb-2"
|
||||
acceptClass: "w-full bg-yellow-600 fg-inverse rounded-xl text-center p-[10px] border mb-2"
|
||||
}}
|
||||
%>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user