From f8c02e2e68bcc2ec66c3c9a123ded677b805d994 Mon Sep 17 00:00:00 2001 From: Jay Hankins Date: Sun, 28 Aug 2022 21:56:48 -0400 Subject: [PATCH] rename applications article --- _notes/Applications/Messaging apps.md | 2 +- ...plications.md => Software Applications.md} | 6 +- _notes/Applications/Web Browsers.md | 2 +- _pages/About.md | 25 +++++++ .../Analytics and Privacy Information.md | 23 ++---- _pages/Home.md | 2 +- _sass/_colors.scss | 71 +++++++++++++++++++ 7 files changed, 106 insertions(+), 25 deletions(-) rename _notes/Applications/{Applications.md => Software Applications.md} (90%) create mode 100644 _pages/About.md rename _notes/About.md => _pages/Analytics and Privacy Information.md (81%) create mode 100644 _sass/_colors.scss diff --git a/_notes/Applications/Messaging apps.md b/_notes/Applications/Messaging apps.md index f48f7fd..12a168d 100644 --- a/_notes/Applications/Messaging apps.md +++ b/_notes/Applications/Messaging apps.md @@ -4,7 +4,7 @@ date_created: Sunday, August 28th 2022, 9:55:32 am date_modified: Sunday, August 28th 2022, 10:12:14 am --- -This is a stub page for information about [[Applications|applications]] which help people send messages/communicate. +This is a stub page for information about [[Software Applications|applications]] which help people send messages/communicate. Examples include: diff --git a/_notes/Applications/Applications.md b/_notes/Applications/Software Applications.md similarity index 90% rename from _notes/Applications/Applications.md rename to _notes/Applications/Software Applications.md index fce045a..2c788b7 100644 --- a/_notes/Applications/Applications.md +++ b/_notes/Applications/Software Applications.md @@ -1,7 +1,7 @@ --- -title: Applications +title: Software Applications date_created: Sunday, August 28th 2022, 9:54:34 am -date_modified: Sunday, August 28th 2022, 10:12:14 am +date_modified: Sunday, August 28th 2022, 8:38:51 pm --- @@ -15,4 +15,4 @@ date_modified: Sunday, August 28th 2022, 10:12:14 am - [[Filesystem apps]] - [[Productivity apps]] - [[Messaging apps]] -- [[Web Browsers]] \ No newline at end of file +- [[Web Browsers]] diff --git a/_notes/Applications/Web Browsers.md b/_notes/Applications/Web Browsers.md index e54b060..158007e 100644 --- a/_notes/Applications/Web Browsers.md +++ b/_notes/Applications/Web Browsers.md @@ -4,7 +4,7 @@ date_created: Sunday, August 28th 2022, 9:56:41 am date_modified: Sunday, August 28th 2022, 10:12:14 am --- -[[Applications]] for browsing the web, including: +[[Software Applications]] for browsing the web, including: - Google Chrome - Microsoft Edge diff --git a/_pages/About.md b/_pages/About.md new file mode 100644 index 0000000..78d73af --- /dev/null +++ b/_pages/About.md @@ -0,0 +1,25 @@ +--- +title: About this site +permalink: /about +date_created: Thursday, August 25th 2022, 4:20:53 pm +date_modified: Sunday, August 28th 2022, 4:37:10 pm +--- + +# About this site + +This site is a [[Digital Garden]] about computers. It's similar in spirit to a wiki. + +![alt](assets/chris-leipelt-1pVk3qfzbJ4-unsplash.jpg) + +Photo by Chris Leipelt on Unsplash + +## Privacy Information + +Please see [[Analytics and Privacy Information]] for details about analytics in use on this website. + +## Backlog + +- [ ] `prefers-color-scheme` dark mode support +- [ ] CI/CD +- [ ] experimental hosting +- [ ] search diff --git a/_notes/About.md b/_pages/Analytics and Privacy Information.md similarity index 81% rename from _notes/About.md rename to _pages/Analytics and Privacy Information.md index 55b9a04..5b4f870 100644 --- a/_notes/About.md +++ b/_pages/Analytics and Privacy Information.md @@ -1,18 +1,10 @@ --- -title: About this site -permalink: /about -date_created: Thursday, August 25th 2022, 4:20:53 pm -date_modified: Sunday, August 28th 2022, 4:37:10 pm +title: Analytics and Privacy Information +date_created: Sunday, August 28th 2022, 8:40:43 pm +date_modified: Sunday, August 28th 2022, 8:40:55 pm +permalink: /privacy --- -This site is a [[Digital Garden]] about computers. It's similar in spirit to a wiki. - -![alt](assets/chris-leipelt-1pVk3qfzbJ4-unsplash.jpg) - -Photo by Chris Leipelt on Unsplash - -## Privacy Information - We respect your right to block web trackers. We tend to browse with ads and trackers blocked, too. That said, if you have no adblocker, and JavaScript is enabled, your browser will connect to the cloud-hosted version of [GoatCounter](https://goatcounter.com/), an open-source privacy-focused analytics system. We are **not tracking** your activity on any 3rd-party sites. @@ -42,10 +34,3 @@ Goatcounter gives us minimal information about visitors and helps us understand > It’s true that certain “additional information” from other parties could reveal more – such as correlating the `User-Agent` and location – but would be hard, and the retrieved data would be limited (everyone in Indonesia using Firefox is a rather large pool of people). To determine whether a personal is identifiable “*account should be taken of all the means reasonably likely to be used*”, and this doesn’t strike me as reasonably likely. >
> If a user (i.e. a customer on your site) would contact me for their rights to have insight in their data and/or have it removed, then I would have no way to reliably do so, even if they would provide me with most of their computer’s information. It might be possible if they provide their browsing history, but if you have full access to all their browsing data then what do you need GoatCounter’s data for? - -## Backlog - -- [ ] `prefers-color-scheme` dark mode support -- [ ] CI/CD -- [ ] experimental hosting -- [ ] search diff --git a/_pages/Home.md b/_pages/Home.md index 3157837..2035b79 100644 --- a/_pages/Home.md +++ b/_pages/Home.md @@ -8,11 +8,11 @@ Welcome to this [[Digital Garden|digital garden]]. Get started browsing it howev Here are some broad-level starting topics: -- **[[Applications]]** - **[[Computing Infrastructure|Infrastructure]]** - **[[Miscellaneous]]** - **[[Operating Systems]]** - **[[Programming]]** - **[[Smart Home]]** +- **[[Software Applications]]** Or, view [[all|all content]]. diff --git a/_sass/_colors.scss b/_sass/_colors.scss new file mode 100644 index 0000000..a329ce6 --- /dev/null +++ b/_sass/_colors.scss @@ -0,0 +1,71 @@ +$colors: ( + light: ( + background: #fff, + primary-400: #acacac, + primary-500: #505050, + primary-600: #3c3c3c, + accent-500: #007bff, + accent-600: #0056b3, + color-primary: hsl(0, 0%, 10%), + color-text: hsl(0, 0%, 20%), + color-subtext: hsl(0, 0%, 30%), + color-border: hsl(0, 0%, 85%), + color-box-background: mix($color-primary, white, 4%) + ), + dark: ( + background: rgb(17, 35, 57), + primary-400: #acacac, + primary-500: #505050, + primary-600: #3c3c3c, + accent-500: #007bff, + accent-600: #0056b3, + color-primary: hsl(0, 0%, 96%), + color-text: hsl(0, 0%, 74%), + color-subtext: hsl(0, 0%, 49%), + color-border: hsl(0, 0%, 23%), + color-box-background: mix($color-primary, black, 4%) + ), +); + +$color-placeholder: 'here'; + + +@function compose-color-variable($color-key) { + @return '--color-#{$color-key}'; +} + +:root { + @each $key, $value in map-get($colors, 'light') { + #{compose-color-variable($key)}: #{$value}; + } +} + +@media (prefers-color-scheme: dark) { + :root { + @each $key, $value in map-get($colors, 'dark') { + #{compose-color-variable($key)}: #{$value}; + } + } +} + +@function str-replace($string, $search, $replace: '') { + $index: str-index($string, $search); + + @if not $index { + @return $string; + } + + @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace); +} + +@function color-get($palette, $color-key) { + @return map-get(map-get($colors, $palette), $color-key); +} + +@mixin color-assign($property, $color-key, $template: '') { + $fallback: #{color-get("light", $color-key)}; + $var: var(#{compose-color-variable($color-key)}); + + #{$property}: if(str-length($template) == 0, $fallback, #{str-replace($template, $color-placeholder, $fallback)}); + #{$property}: if(str-length($template) == 0, $var, #{str-replace($template, $color-placeholder, $var)}); +}