summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2021-12-28 14:27:09 +0100
committerOskar Nyberg <oskar@mullvad.net>2022-01-03 15:14:45 +0100
commitda99db083845b57814003f87ffe5a927b0c56293 (patch)
tree24421e8e6dc471108ec48039373a6cc900fe5188
parent5e72bac67addd36682443568de651fc05cd6e207 (diff)
downloadmullvadvpn-da99db083845b57814003f87ffe5a927b0c56293.tar.xz
mullvadvpn-da99db083845b57814003f87ffe5a927b0c56293.zip
Change custom dns save icon
-rw-r--r--gui/assets/images/icon-check.svg3
-rw-r--r--gui/src/renderer/components/cell/Input.tsx6
2 files changed, 6 insertions, 3 deletions
diff --git a/gui/assets/images/icon-check.svg b/gui/assets/images/icon-check.svg
new file mode 100644
index 0000000000..2289a19807
--- /dev/null
+++ b/gui/assets/images/icon-check.svg
@@ -0,0 +1,3 @@
+<svg data-name="Icons/Check" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
+ <path d="M12 24A12 12 0 0 1 3.515 3.515a12 12 0 1 1 16.97 16.97A11.922 11.922 0 0 1 12 24zM5.345 10.9a1.108 1.108 0 0 0-.785.322 1.095 1.095 0 0 0 0 1.556L9 17.177a1.115 1.115 0 0 0 1.569 0l8.874-8.8a1.095 1.095 0 0 0 0-1.556 1.116 1.116 0 0 0-1.569 0l-8.092 8.024-3.653-3.623a1.106 1.106 0 0 0-.784-.322z" style="fill:#294d73"/>
+</svg>
diff --git a/gui/src/renderer/components/cell/Input.tsx b/gui/src/renderer/components/cell/Input.tsx
index c57d552866..81e5f76e0f 100644
--- a/gui/src/renderer/components/cell/Input.tsx
+++ b/gui/src/renderer/components/cell/Input.tsx
@@ -328,10 +328,10 @@ export function RowInput(props: IRowInputProps) {
</StyledInputWrapper>
<StyledSubmitButton onClick={submit}>
<ImageView
- source="icon-tick"
+ source="icon-check"
height={22}
- tintColor={colors.green}
- tintHoverColor={colors.green90}
+ tintColor={value === '' ? colors.blue60 : colors.blue}
+ tintHoverColor={value === '' ? colors.blue60 : colors.blue80}
/>
</StyledSubmitButton>
</StyledCellInputRowContainer>