diff --git a/src/icons/EyeIcon.svelte b/src/icons/EyeIcon.svelte new file mode 100644 index 0000000..dd7513a --- /dev/null +++ b/src/icons/EyeIcon.svelte @@ -0,0 +1,13 @@ + + + + diff --git a/src/icons/EyeSlashIcon.svelte b/src/icons/EyeSlashIcon.svelte new file mode 100644 index 0000000..bf45888 --- /dev/null +++ b/src/icons/EyeSlashIcon.svelte @@ -0,0 +1,18 @@ + + + + + diff --git a/src/lib/style/app.scss b/src/lib/style/app.scss index 59cc5ac..c8b6e52 100644 --- a/src/lib/style/app.scss +++ b/src/lib/style/app.scss @@ -7,12 +7,6 @@ @import '@fontsource/oswald/latin-400.css'; @import './satsymbol'; -$bootstrap-icons-font: 'bootstrap-icons' !default; -$bootstrap-icons-font-dir: 'bootstrap-icons/font//fonts' !default; -$bootstrap-icons-font-file: '#{$bootstrap-icons-font-dir}/#{$bootstrap-icons-font}' !default; - -@import 'bootstrap-icons/font/bootstrap-icons.scss'; - $color-mode-type: media-query; $font-family-base: 'Ubuntu'; $font-size-base: 0.9rem; diff --git a/src/routes/Settings.svelte b/src/routes/Settings.svelte index e41424c..a607883 100644 --- a/src/routes/Settings.svelte +++ b/src/routes/Settings.svelte @@ -14,13 +14,14 @@ Col, Form, FormText, - Icon, Input, InputGroup, InputGroupText, Label, Row } from 'sveltestrap'; + import EyeIcon from '../icons/EyeIcon.svelte'; + import EyeSlashIcon from '../icons/EyeSlashIcon.svelte'; export let settings; @@ -504,7 +505,8 @@ type="button" on:click={() => (showPassword = !showPassword)} color={showPassword ? 'success' : 'danger'} - >{#if !showPassword}{:else}{/if} {$_('section.settings.httpAuthText')}