diff --git a/package-lock.json b/package-lock.json index 02f7709..ddedd23 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2927,7 +2927,7 @@ "@tailwindcss/typography": { "version": "git+ssh://git@github.com/tailwindcss/typography.git#f06117a58506a7f7f3fceb66bbc659af3776807b", "dev": true, - "from": "@tailwindcss/typography@tailwindcss/typography", + "from": "@tailwindcss/typography@github:tailwindcss/typography", "requires": { "lodash.castarray": "^4.4.0", "lodash.isplainobject": "^4.0.6", diff --git a/src/lib/common/functions.svelte b/src/lib/common/functions.svelte deleted file mode 100644 index 526e214..0000000 --- a/src/lib/common/functions.svelte +++ /dev/null @@ -1,22 +0,0 @@ - diff --git a/src/lib/common/stores.js b/src/lib/common/stores.js index ba56ada..71a45c7 100644 --- a/src/lib/common/stores.js +++ b/src/lib/common/stores.js @@ -1,3 +1,6 @@ import { writable } from 'svelte/store'; -export const alert = writable(''); \ No newline at end of file +// used to store the value of an alert across all components +export const alert = writable(''); +// stores the theme +export const headscaleThemeStore = writable(''); \ No newline at end of file diff --git a/src/lib/settings/ThemeSettings.svelte b/src/lib/settings/ThemeSettings.svelte new file mode 100644 index 0000000..6b5cbe0 --- /dev/null +++ b/src/lib/settings/ThemeSettings.svelte @@ -0,0 +1,11 @@ + + +

Theme Settings

+ diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte index 75b2300..ee6f7f3 100644 --- a/src/routes/__layout.svelte +++ b/src/routes/__layout.svelte @@ -1,16 +1,26 @@ - -
+