diff --git a/docs/backup-restore.md b/docs/backup-restore.md index 2c6b2158..11c578e9 100644 --- a/docs/backup-restore.md +++ b/docs/backup-restore.md @@ -49,20 +49,6 @@ Maximum of 24mb of storage per user. Please do not repeatedly hit the endpoint, - Add your `zone_id` (found in the Overview tab of your desired domain on Cloudflare) - Add your `route`, which should be a domain or host, supporting a wildcard -```toml -name = "dashy-worker" -type = "javascript" - -workers_dev = true -route = "example.com/*" -zone_id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -account_id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" - -kv_namespaces = [ - { binding = "DASHY_CLOUD_BACKUP", id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" } -] -``` - #### Complete `index.js` - Write code to handle your requests, and interact with any other data sources in this file - Generally, this is done within an event listener for 'fetch', and returns a promise @@ -80,7 +66,7 @@ async function handleRequest(request) { } ``` -- For the code used for Dashy's cloud service, see [here](https://gist.github.com/Lissy93/d19b43d50f30e02fa25f349cf5cb5ed8#file-index-js) +- For the code used for Dashy's cloud service, see [here](https://notes.aliciasykes.com/p/j2F1deljv1) #### Commands diff --git a/src/components/Settings/ThemeSelector.vue b/src/components/Settings/ThemeSelector.vue index 92d903f6..d978240e 100644 --- a/src/components/Settings/ThemeSelector.vue +++ b/src/components/Settings/ThemeSelector.vue @@ -54,7 +54,6 @@ export default { } }, methods: { - /* Sets the theme, by updating data-theme attribute on the html tag */ setLocalTheme(newTheme) { const htmlTag = document.getElementsByTagName('html')[0]; if (htmlTag.hasAttribute('data-theme')) htmlTag.removeAttribute('data-theme'); diff --git a/src/components/Workspace/SideBar.vue b/src/components/Workspace/SideBar.vue index 826ea446..4c91eeb4 100644 --- a/src/components/Workspace/SideBar.vue +++ b/src/components/Workspace/SideBar.vue @@ -1,13 +1,7 @@ @@ -15,7 +9,6 @@ diff --git a/src/components/Workspace/SideBarItem.vue b/src/components/Workspace/SideBarItem.vue index 16e27a62..cb0c33fb 100644 --- a/src/components/Workspace/SideBarItem.vue +++ b/src/components/Workspace/SideBarItem.vue @@ -1,6 +1,6 @@ @@ -8,6 +8,7 @@ diff --git a/src/components/Workspace/SideBarSection.vue b/src/components/Workspace/SideBarSection.vue deleted file mode 100644 index aee666a2..00000000 --- a/src/components/Workspace/SideBarSection.vue +++ /dev/null @@ -1,52 +0,0 @@ - - - - - diff --git a/src/styles/color-palette.scss b/src/styles/color-palette.scss index cccc4aa5..ebc431ea 100644 --- a/src/styles/color-palette.scss +++ b/src/styles/color-palette.scss @@ -31,22 +31,6 @@ --transparent-white-50: #ffffff80; --transparent-white-30: #ffffff4d; - /* Other Variables */ - --outline-color: none; - --curve-factor: 5px; // Border radius for most components - --curve-factor-navbar: 16px; // Border radius for header - --dimming-factor: 0.7; // Opacity for semi-transparent components - - /* Settings for specific components */ - --scroll-bar-width: 8px; - --item-group-padding: 5px; // Determines width of item-group outline - --item-shadow: 1px 1px 2px #130f23; - --item-hover-shadow: 1px 2px 4px #373737; - --item-icon-transform: drop-shadow(2px 4px 6px var(--transparent-50)) saturate(0.65); - --item-icon-transform-hover: drop-shadow(4px 8px 3px var(--transparent-50)) saturate(2); - --item-group-shadow: var(--item-shadow); - --settings-container-shadow: none; - /* Color variables for specific components * all variables are optional, since they inherit initial values from above* * Using specific variables makes overriding for custom themes really easy */ @@ -88,5 +72,6 @@ --about-page-background: #0b1021; --about-page-accent: var(--primary); --side-bar-background: var(--background-darker); + --side-bar-background-lighter: var(--background); --side-bar-color: var(--primary); } diff --git a/src/styles/dimensions.scss b/src/styles/dimensions.scss new file mode 100644 index 00000000..cf02ad51 --- /dev/null +++ b/src/styles/dimensions.scss @@ -0,0 +1,26 @@ + +:root { + /* General Variables */ + --outline-color: none; + --curve-factor: 5px; // Border radius for most components + --curve-factor-navbar: 16px; // Border radius for header + --dimming-factor: 0.7; // Opacity for semi-transparent components + + /* Basic Page Components */ + --scroll-bar-width: 8px; + --header-height: 6.3rem; + + /* Section & Item dimensions */ + --item-group-padding: 5px; // Determines width of item-group outline + --item-shadow: 1px 1px 2px #130f23; + --item-hover-shadow: 1px 2px 4px #373737; + --item-icon-transform: drop-shadow(2px 4px 6px var(--transparent-50)) saturate(0.65); + --item-icon-transform-hover: drop-shadow(4px 8px 3px var(--transparent-50)) saturate(2); + --item-group-shadow: var(--item-shadow); + + /* Settings and config menu */ + --settings-container-shadow: none; + + /* Workspace View */ + --side-bar-width: 3.5rem; // The width of the sidebar +} \ No newline at end of file diff --git a/src/views/About.vue b/src/views/About.vue index c4273ea9..83585d71 100644 --- a/src/views/About.vue +++ b/src/views/About.vue @@ -9,6 +9,15 @@ highly customizable and functianl dashboard, in order to improvde productivity and enable easy organisation of running services or web links.

+

+ Dashy is a web-based project with PWA mobile support. It's written in TypeScript, + and using the Vue.js framework, with a simple Node.js backend. + It can be run in a light-weight Alpine Docker container, with support for + healthcheck monitoring, self-updating and automatic restarting. Configuration + is done with a single YAML file, that is merged with the application when it + is built / compiled. The configuration can me modified using the UI, and then + exported back into the main config file. +

@@ -42,7 +51,7 @@ Alicia Sykes Dashy is developed an maintained by Alicia Sykes - (@Lissy93), with support from the community. + (@Lissy93).