diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-06-27 04:35:40 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-06-27 04:35:40 +1000 |
| commit | aa1991239a1255855791f4c5aad9ffcb6b21a2d6 (patch) | |
| tree | f3dfacac3dba8f08529595d8b57e2c4521b69183 /src/components/icon | |
| parent | 25e633fe44d7bd84c566090188ea2c9a82449c69 (diff) | |
Clean up code in *Button and *Icon components
Diffstat (limited to 'src/components/icon')
| -rw-r--r-- | src/components/icon/CloseIcon.vue | 2 | ||||
| -rw-r--r-- | src/components/icon/HelpIcon.vue | 2 | ||||
| -rw-r--r-- | src/components/icon/InfoIcon.vue | 2 | ||||
| -rw-r--r-- | src/components/icon/LogInIcon.vue | 2 | ||||
| -rw-r--r-- | src/components/icon/PlayIcon.vue | 4 | ||||
| -rw-r--r-- | src/components/icon/SearchIcon.vue | 2 | ||||
| -rw-r--r-- | src/components/icon/SettingsIcon.vue | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/src/components/icon/CloseIcon.vue b/src/components/icon/CloseIcon.vue index eed0c0f..374b07c 100644 --- a/src/components/icon/CloseIcon.vue +++ b/src/components/icon/CloseIcon.vue @@ -4,7 +4,7 @@ export default defineComponent({}); </script> <template> -<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" +<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <line x1="18" y1="6" x2="6" y2="18"/> <line x1="6" y1="6" x2="18" y2="18"/> diff --git a/src/components/icon/HelpIcon.vue b/src/components/icon/HelpIcon.vue index ecd40a0..a85c3ef 100644 --- a/src/components/icon/HelpIcon.vue +++ b/src/components/icon/HelpIcon.vue @@ -4,7 +4,7 @@ export default defineComponent({}); </script> <template> -<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" +<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <circle cx="12" cy="12" r="10"/> <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"/> diff --git a/src/components/icon/InfoIcon.vue b/src/components/icon/InfoIcon.vue index 0a17ce1..44d1cfa 100644 --- a/src/components/icon/InfoIcon.vue +++ b/src/components/icon/InfoIcon.vue @@ -4,7 +4,7 @@ export default defineComponent({}); </script> <template> -<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" +<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <circle cx="12" cy="12" r="10"/> <line x1="12" y1="16" x2="12" y2="12"/> diff --git a/src/components/icon/LogInIcon.vue b/src/components/icon/LogInIcon.vue index bb925b0..8ce94aa 100644 --- a/src/components/icon/LogInIcon.vue +++ b/src/components/icon/LogInIcon.vue @@ -4,7 +4,7 @@ export default defineComponent({}); </script> <template> -<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" +<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"></path> <polyline points="10 17 15 12 10 7"></polyline> diff --git a/src/components/icon/PlayIcon.vue b/src/components/icon/PlayIcon.vue index e885993..f54d203 100644 --- a/src/components/icon/PlayIcon.vue +++ b/src/components/icon/PlayIcon.vue @@ -4,8 +4,8 @@ export default defineComponent({}); </script> <template> -<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" +<svg viewBox="-2 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> - <polygon points="7 3 21 12 7 21 7 3"></polygon> + <polygon points="5 3 19 12 5 21 5 3"></polygon> </svg> </template> diff --git a/src/components/icon/SearchIcon.vue b/src/components/icon/SearchIcon.vue index c84c0e4..1418af5 100644 --- a/src/components/icon/SearchIcon.vue +++ b/src/components/icon/SearchIcon.vue @@ -4,7 +4,7 @@ export default defineComponent({}); </script> <template> -<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" +<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <circle cx="11" cy="11" r="8"/> <line x1="21" y1="21" x2="16.65" y2="16.65"/> diff --git a/src/components/icon/SettingsIcon.vue b/src/components/icon/SettingsIcon.vue index 2e6f621..e23ba20 100644 --- a/src/components/icon/SettingsIcon.vue +++ b/src/components/icon/SettingsIcon.vue @@ -4,7 +4,7 @@ export default defineComponent({}); </script> <template> -<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" +<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <circle cx="12" cy="12" r="3"/> <path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 |
