diff --git a/src/components/Button/Button.svelte b/src/components/Button/Button.svelte new file mode 100644 index 0000000..45aa53a --- /dev/null +++ b/src/components/Button/Button.svelte @@ -0,0 +1,48 @@ + + + + + + \ No newline at end of file diff --git a/src/components/Button/index.ts b/src/components/Button/index.ts new file mode 100644 index 0000000..70948d6 --- /dev/null +++ b/src/components/Button/index.ts @@ -0,0 +1 @@ +export { default } from './Button.svelte'; diff --git a/src/components/CustomListSettings/CustomListSettings.svelte b/src/components/CustomListSettings/CustomListSettings.svelte index ac98e86..849cbc4 100644 --- a/src/components/CustomListSettings/CustomListSettings.svelte +++ b/src/components/CustomListSettings/CustomListSettings.svelte @@ -6,6 +6,7 @@ import type { CustomListType, PullRequestType } from 'models/skizzle'; import { remote } from 'shared/remote'; import { client } from 'shared/stores/authentication.store'; + import Button from 'components/Button'; import { customLists, notifications, @@ -207,9 +208,9 @@
- - onDone()}>Cancel +
@@ -268,26 +269,6 @@ justify-content: flex-end; } - .cta { - padding: 0.5rem 1rem; - color: #fff; - font-size: 1rem; - border-radius: 4px; - border: none; - background-color: var(--color); - transition: opacity linear 0.2s; - } - - .cancel { - padding: 0.5rem 1rem; - color: #fff; - font-size: 1rem; - cursor: pointer; - border: none; - background-color: transparent; - transition: opacity linear 0.2s; - } - :global(.isListDisplayed) { margin-bottom: 0.2rem; } diff --git a/src/components/ImportExport/ImportExport.svelte b/src/components/ImportExport/ImportExport.svelte index 551ebbc..3e2ac4e 100644 --- a/src/components/ImportExport/ImportExport.svelte +++ b/src/components/ImportExport/ImportExport.svelte @@ -1,5 +1,6 @@