From 039d51bd937049e8f5ee9c85632d339030f48171 Mon Sep 17 00:00:00 2001 From: Arturo Miranda Date: Wed, 29 Dec 2021 14:06:04 -0700 Subject: [PATCH 01/10] Add cancel button for exiting install modal --- src/App.css | 9 +++++++++ src/index.css | 2 +- src/screens/Library/components/InstallModal/index.tsx | 6 ++++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/App.css b/src/App.css index cbad870f0d..2653bba3d2 100644 --- a/src/App.css +++ b/src/App.css @@ -87,6 +87,15 @@ html, color: white; } +.button.is-cancel { + background: var(--danger); +} + +.button.is-cancel:hover { + background: var(--danger-hover); + color: var(--text-tertiary); +} + .button.is-secondary:hover { background: var(--secondary-hover); color: var(--text-tertiary); diff --git a/src/index.css b/src/index.css index 9d9baef77f..8e7b73ede7 100644 --- a/src/index.css +++ b/src/index.css @@ -21,7 +21,7 @@ html { --secondary-hover: #feba36; --tertiary-hover: #322b2b; --success-hover: #30eca8; - --danger-hover: #bd0a0a; + --danger-hover: #e03e3e; --text-primary: #eae8e5; --text-secondary: #c1c4c3; --text-tertiary: #101111; diff --git a/src/screens/Library/components/InstallModal/index.tsx b/src/screens/Library/components/InstallModal/index.tsx index 32fb02d089..1388cae4b4 100644 --- a/src/screens/Library/components/InstallModal/index.tsx +++ b/src/screens/Library/components/InstallModal/index.tsx @@ -305,6 +305,12 @@ export default function InstallModal({ appName, backdropClick }: Props) { )}
+ + */}
- {/* */}