diff options
-rw-r--r-- | assets/css/_declare-vars.scss | 4 | ||||
-rw-r--r-- | assets/css/objects/_icon.scss | 10 | ||||
-rw-r--r-- | assets/css/scopes/_links.scss | 46 | ||||
-rw-r--r-- | assets/css/style.scss | 5 | ||||
-rw-r--r-- | content/notebook/archive/in-depth-image-descriptions.md | 1 | ||||
-rw-r--r-- | content/notebook/archive/index.md | 1 | ||||
-rw-r--r-- | scripts/metadata.lua | 4 | ||||
-rw-r--r-- | scripts/page.lua | 2 | ||||
-rw-r--r-- | templates/layouts/categorized_list.html | 2 | ||||
-rw-r--r-- | templates/partials/related.html | 2 | ||||
-rw-r--r-- | yarn.lock | 40 |
11 files changed, 43 insertions, 74 deletions
diff --git a/assets/css/_declare-vars.scss b/assets/css/_declare-vars.scss index 6ffbb11..a4723c2 100644 --- a/assets/css/_declare-vars.scss +++ b/assets/css/_declare-vars.scss | |||
@@ -74,6 +74,6 @@ | |||
74 | 74 | ||
75 | @include iro.props-store(( | 75 | @include iro.props-store(( |
76 | --colors: ( | 76 | --colors: ( |
77 | --gray: fn.gray-palette(15%), | 77 | --gray: fn.gray-palette(11%), |
78 | ), | 78 | ), |
79 | ), 'palette-dark-lo'); | 79 | ), 'palette-dark'); |
diff --git a/assets/css/objects/_icon.scss b/assets/css/objects/_icon.scss new file mode 100644 index 0000000..fe3d03b --- /dev/null +++ b/assets/css/objects/_icon.scss | |||
@@ -0,0 +1,10 @@ | |||
1 | @use 'iro-sass/src/index' as iro; | ||
2 | @use 'iro-design/src/functions' as fn; | ||
3 | |||
4 | @include iro.props-namespace('icon') { | ||
5 | @include iro.props-store(( | ||
6 | --dims: ( | ||
7 | --size: calc(1 / 16 * 16em), | ||
8 | ) | ||
9 | ), 'dims'); | ||
10 | } | ||
diff --git a/assets/css/scopes/_links.scss b/assets/css/scopes/_links.scss deleted file mode 100644 index a08ccd8..0000000 --- a/assets/css/scopes/_links.scss +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | @use 'iro-sass/src/index' as iro; | ||
2 | @use 'iro-design/src/functions' as fn; | ||
3 | |||
4 | @include iro.props-namespace('links') { | ||
5 | @include iro.props-store(( | ||
6 | --colors: ( | ||
7 | --idle: fn.global-color(--accent --link-idle --obj-lo), | ||
8 | --visited: fn.global-color(--accent --link-visited --obj-lo), | ||
9 | --key-focus: ( | ||
10 | --border: fn.global-color(--focus --fill), | ||
11 | --shadow: 0 0 0 calc(fn.global-dim(--focus --outline-width) + 2px) fn.global-color(--accent --primary --semi), | ||
12 | ), | ||
13 | ) | ||
14 | ), 'colors'); | ||
15 | |||
16 | @include iro.bem-scope(iro.props-namespace()) { | ||
17 | :link { | ||
18 | text-decoration: underline; | ||
19 | } | ||
20 | |||
21 | :visited { | ||
22 | text-decoration: underline; | ||
23 | } | ||
24 | |||
25 | :link, | ||
26 | :visited { | ||
27 | border-radius: .5px; | ||
28 | |||
29 | @include iro.bem-at-theme('keyboard') { | ||
30 | &:focus { | ||
31 | box-shadow: 0 0 0 2px fn.color(--key-focus --border), fn.color(--key-focus --shadow); | ||
32 | } | ||
33 | } | ||
34 | } | ||
35 | |||
36 | @include iro.bem-modifier('colored') { | ||
37 | :link { | ||
38 | color: fn.color(--idle); | ||
39 | } | ||
40 | |||
41 | :visited { | ||
42 | color: fn.color(--visited); | ||
43 | } | ||
44 | } | ||
45 | } | ||
46 | } | ||
diff --git a/assets/css/style.scss b/assets/css/style.scss index 5759a50..d027a70 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss | |||
@@ -18,6 +18,7 @@ | |||
18 | @use 'iro-design/src/objects/alert' as iro-alert; | 18 | @use 'iro-design/src/objects/alert' as iro-alert; |
19 | @use 'iro-design/src/objects/lightbox' as iro-lightbox; | 19 | @use 'iro-design/src/objects/lightbox' as iro-lightbox; |
20 | @use 'objects/emoji'; | 20 | @use 'objects/emoji'; |
21 | @use 'objects/icon'; | ||
21 | 22 | ||
22 | @use 'components/main'; | 23 | @use 'components/main'; |
23 | @use 'components/footer'; | 24 | @use 'components/footer'; |
@@ -29,14 +30,12 @@ | |||
29 | 30 | ||
30 | @use 'iro-design/src/scopes/blockquotes' as iro-blockquotes; | 31 | @use 'iro-design/src/scopes/blockquotes' as iro-blockquotes; |
31 | @use 'iro-design/src/scopes/code' as iro-code; | 32 | @use 'iro-design/src/scopes/code' as iro-code; |
32 | @use 'iro-design/src/scopes/colored-links' as iro-colored-links; | 33 | @use 'iro-design/src/scopes/links' as iro-links; |
33 | @use 'iro-design/src/scopes/headings' as iro-headings; | 34 | @use 'iro-design/src/scopes/headings' as iro-headings; |
34 | @use 'iro-design/src/scopes/invisible-links' as iro-invisible-links; | ||
35 | @use 'iro-design/src/scopes/lists' as iro-lists; | 35 | @use 'iro-design/src/scopes/lists' as iro-lists; |
36 | @use 'iro-design/src/scopes/tables' as iro-tables; | 36 | @use 'iro-design/src/scopes/tables' as iro-tables; |
37 | @use 'scopes/small'; | 37 | @use 'scopes/small'; |
38 | @use 'scopes/alerts'; | 38 | @use 'scopes/alerts'; |
39 | @use 'scopes/links'; | ||
40 | 39 | ||
41 | @use 'iro-design/src/utils'; | 40 | @use 'iro-design/src/utils'; |
42 | 41 | ||
diff --git a/content/notebook/archive/in-depth-image-descriptions.md b/content/notebook/archive/in-depth-image-descriptions.md index 3143a36..d79d976 100644 --- a/content/notebook/archive/in-depth-image-descriptions.md +++ b/content/notebook/archive/in-depth-image-descriptions.md | |||
@@ -2,6 +2,7 @@ | |||
2 | schema_type: DigitalDocument | 2 | schema_type: DigitalDocument |
3 | title: Detailed Image Descriptions Aren't Always Helpful | 3 | title: Detailed Image Descriptions Aren't Always Helpful |
4 | date: 2022-05-05 | 4 | date: 2022-05-05 |
5 | unlisted: true | ||
5 | 6 | ||
6 | references: | 7 | references: |
7 | - label: Original Post | 8 | - label: Original Post |
diff --git a/content/notebook/archive/index.md b/content/notebook/archive/index.md index 8892637..84120c2 100644 --- a/content/notebook/archive/index.md +++ b/content/notebook/archive/index.md | |||
@@ -4,6 +4,7 @@ position: 2 | |||
4 | list_order: date_desc | 4 | list_order: date_desc |
5 | list_read_indicators: true | 5 | list_read_indicators: true |
6 | feed: true | 6 | feed: true |
7 | unlisted: true | ||
7 | --- | 8 | --- |
8 | 9 | ||
9 | An archive of my posts from other platforms that I wanted to preserve. | 10 | An archive of my posts from other platforms that I wanted to preserve. |
diff --git a/scripts/metadata.lua b/scripts/metadata.lua index 843ed3c..f83b314 100644 --- a/scripts/metadata.lua +++ b/scripts/metadata.lua | |||
@@ -145,6 +145,10 @@ function process_base(build, meta) | |||
145 | meta.post_icon = meta.post_icon or (meta.parent and meta.parent.list_post_icon) or | 145 | meta.post_icon = meta.post_icon or (meta.parent and meta.parent.list_post_icon) or |
146 | (meta.parent and meta.parent.parent and meta.parent.parent.list_post_icon) | 146 | (meta.parent and meta.parent.parent and meta.parent.parent.list_post_icon) |
147 | meta.indicator = meta.parent and meta.parent.list_read_indicators | 147 | meta.indicator = meta.parent and meta.parent.list_read_indicators |
148 | |||
149 | meta.content = meta.content:filter(function (el) | ||
150 | return el.tag ~= "LineBreak" | ||
151 | end) | ||
148 | end | 152 | end |
149 | 153 | ||
150 | function process(global, build, meta) | 154 | function process(global, build, meta) |
diff --git a/scripts/page.lua b/scripts/page.lua index 72158a1..4c1e096 100644 --- a/scripts/page.lua +++ b/scripts/page.lua | |||
@@ -214,7 +214,7 @@ function process_base(meta) | |||
214 | meta.prev = meta.prev and utils.stringify(meta.prev) | 214 | meta.prev = meta.prev and utils.stringify(meta.prev) |
215 | meta.next = meta.next and utils.stringify(meta.next) | 215 | meta.next = meta.next and utils.stringify(meta.next) |
216 | meta.content = meta.content:filter(function (el) | 216 | meta.content = meta.content:filter(function (el) |
217 | return el.tag ~= "Str" or el.text ~= "ΒΆ" | 217 | return el.tag ~= "LineBreak" |
218 | end) | 218 | end) |
219 | end | 219 | end |
220 | 220 | ||
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 33971a8..58a6dcc 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html | |||
@@ -17,7 +17,7 @@ | |||
17 | <section class="h-entry h-feed" itemprop="dataFeedElement" itemscope itemtype="https://schema.org/DataFeed"> | 17 | <section class="h-entry h-feed" itemprop="dataFeedElement" itemscope itemtype="https://schema.org/DataFeed"> |
18 | <header class="l-card-list__header"> | 18 | <header class="l-card-list__header"> |
19 | <div class="l-card-list__header-section"> | 19 | <div class="l-card-list__header-section"> |
20 | <h2 class="s-invisible-links u-mt-0 p-name" id="$it.slug$" itemprop="name headline"> | 20 | <h2 class="s-links s-links--invisible u-mt-0 p-name" id="$it.slug$" itemprop="name headline"> |
21 | $if(it.url)$ | 21 | $if(it.url)$ |
22 | <a href="$it.url.rel$">$it.title$</a> | 22 | <a href="$it.url.rel$">$it.title$</a> |
23 | $else$ | 23 | $else$ |
diff --git a/templates/partials/related.html b/templates/partials/related.html index 4c8384a..84e5c04 100644 --- a/templates/partials/related.html +++ b/templates/partials/related.html | |||
@@ -4,7 +4,7 @@ $if(related)$ | |||
4 | 4 | ||
5 | <div class="l-card-list"> | 5 | <div class="l-card-list"> |
6 | <header class="l-card-list__header"> | 6 | <header class="l-card-list__header"> |
7 | <h2 class="s-invisible-links u-mt-0"> | 7 | <h2 class="s-links s-links--invisible u-mt-0"> |
8 | $if(related.url)$ | 8 | $if(related.url)$ |
9 | <a href="$related.url.rel$">Related</a> | 9 | <a href="$related.url.rel$">Related</a> |
10 | $else$ | 10 | $else$ |
@@ -63,7 +63,7 @@ | |||
63 | "@nodelib/fs.scandir" "2.1.5" | 63 | "@nodelib/fs.scandir" "2.1.5" |
64 | fastq "^1.6.0" | 64 | fastq "^1.6.0" |
65 | 65 | ||
66 | "@oddbird/blend@^0.2.3": | 66 | "@oddbird/blend@^0.2.4": |
67 | version "0.2.4" | 67 | version "0.2.4" |
68 | resolved "https://registry.yarnpkg.com/@oddbird/blend/-/blend-0.2.4.tgz#4b3b102038d6293a8eaa8f69c011ba01991ff7e4" | 68 | resolved "https://registry.yarnpkg.com/@oddbird/blend/-/blend-0.2.4.tgz#4b3b102038d6293a8eaa8f69c011ba01991ff7e4" |
69 | integrity sha512-+629s/xXq7YdEEt8mNEDia6ApX6GV3tz6XIhBgqQkdWqjAKbqGXDgjqcGA5O+SdLhzwS3YFtV6rqG4lA/DXymg== | 69 | integrity sha512-+629s/xXq7YdEEt8mNEDia6ApX6GV3tz6XIhBgqQkdWqjAKbqGXDgjqcGA5O+SdLhzwS3YFtV6rqG4lA/DXymg== |
@@ -201,9 +201,9 @@ ansi-styles@^4.0.0: | |||
201 | color-convert "^2.0.1" | 201 | color-convert "^2.0.1" |
202 | 202 | ||
203 | anymatch@~3.1.2: | 203 | anymatch@~3.1.2: |
204 | version "3.1.2" | 204 | version "3.1.3" |
205 | resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716" | 205 | resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" |
206 | integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg== | 206 | integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== |
207 | dependencies: | 207 | dependencies: |
208 | normalize-path "^3.0.0" | 208 | normalize-path "^3.0.0" |
209 | picomatch "^2.0.4" | 209 | picomatch "^2.0.4" |
@@ -892,9 +892,9 @@ ignore@^5.2.1: | |||
892 | integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== | 892 | integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== |
893 | 893 | ||
894 | immutable@^4.0.0: | 894 | immutable@^4.0.0: |
895 | version "4.1.0" | 895 | version "4.2.4" |
896 | resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.1.0.tgz#f795787f0db780183307b9eb2091fcac1f6fafef" | 896 | resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.2.4.tgz#83260d50889526b4b531a5e293709a77f7c55a2a" |
897 | integrity sha512-oNkuqVTA8jqG1Q6c+UglTOD1xhC1BtjKI7XkCXRkZHrN5m18/XsnUp8Q89GkQO/z+0WjonSvl0FLhDYftp46nQ== | 897 | integrity sha512-WDxL3Hheb1JkRN3sQkyujNlL/xRjAo3rJtaU5xeufUauG66JdMr32bLj4gF+vWl84DIA3Zxw7tiAjneYzRRw+w== |
898 | 898 | ||
899 | import-fresh@^3.2.1: | 899 | import-fresh@^3.2.1: |
900 | version "3.3.0" | 900 | version "3.3.0" |
@@ -944,15 +944,15 @@ ini@^1.3.5: | |||
944 | 944 | ||
945 | "iro-design@git+https://git.vulpes.one/git/iro-design.git": | 945 | "iro-design@git+https://git.vulpes.one/git/iro-design.git": |
946 | version "1.0.0" | 946 | version "1.0.0" |
947 | resolved "git+https://git.vulpes.one/git/iro-design.git#1a44092232713ef2063815bb03aadbb543e88ff6" | 947 | resolved "git+https://git.vulpes.one/git/iro-design.git#72267cf11140ba5a339bd8cd238e2942b545203c" |
948 | dependencies: | 948 | dependencies: |
949 | "@oddbird/blend" "^0.2.3" | 949 | "@oddbird/blend" "^0.2.4" |
950 | include-media "^1.4.9" | 950 | include-media "^1.4.9" |
951 | iro-sass "git+https://git.vulpes.one/git/iro-sass.git" | 951 | iro-sass "git+https://git.vulpes.one/git/iro-sass.git" |
952 | 952 | ||
953 | "iro-icons@git+https://git.vulpes.one/git/iro-icons.git": | 953 | "iro-icons@git+https://git.vulpes.one/git/iro-icons.git": |
954 | version "1.0.0" | 954 | version "1.0.0" |
955 | resolved "git+https://git.vulpes.one/git/iro-icons.git#b07eab73627edc89c31da7f207348bb86c71adb4" | 955 | resolved "git+https://git.vulpes.one/git/iro-icons.git#6d3ea8f1dc45c7f4860e0d532daf59e84d13dded" |
956 | 956 | ||
957 | "iro-sass@git+https://git.vulpes.one/git/iro-sass.git": | 957 | "iro-sass@git+https://git.vulpes.one/git/iro-sass.git": |
958 | version "1.0.2" | 958 | version "1.0.2" |
@@ -985,7 +985,7 @@ is-core-module@^2.2.0, is-core-module@^2.5.0: | |||
985 | is-extglob@^2.1.1: | 985 | is-extglob@^2.1.1: |
986 | version "2.1.1" | 986 | version "2.1.1" |
987 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" | 987 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" |
988 | integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= | 988 | integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== |
989 | 989 | ||
990 | is-fullwidth-code-point@^3.0.0: | 990 | is-fullwidth-code-point@^3.0.0: |
991 | version "3.0.0" | 991 | version "3.0.0" |
@@ -1399,16 +1399,16 @@ picocolors@^1.0.0: | |||
1399 | resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" | 1399 | resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" |
1400 | integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== | 1400 | integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== |
1401 | 1401 | ||
1402 | picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3: | 1402 | picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1: |
1403 | version "2.3.0" | ||
1404 | resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972" | ||
1405 | integrity sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw== | ||
1406 | |||
1407 | picomatch@^2.3.1: | ||
1408 | version "2.3.1" | 1403 | version "2.3.1" |
1409 | resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" | 1404 | resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" |
1410 | integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== | 1405 | integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== |
1411 | 1406 | ||
1407 | picomatch@^2.2.3: | ||
1408 | version "2.3.0" | ||
1409 | resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972" | ||
1410 | integrity sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw== | ||
1411 | |||
1412 | pify@^2.3.0: | 1412 | pify@^2.3.0: |
1413 | version "2.3.0" | 1413 | version "2.3.0" |
1414 | resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" | 1414 | resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" |
@@ -1699,9 +1699,9 @@ safe-stable-stringify@^2.3.1: | |||
1699 | integrity sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg== | 1699 | integrity sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg== |
1700 | 1700 | ||
1701 | sass@^1.57.1: | 1701 | sass@^1.57.1: |
1702 | version "1.57.1" | 1702 | version "1.58.1" |
1703 | resolved "https://registry.yarnpkg.com/sass/-/sass-1.57.1.tgz#dfafd46eb3ab94817145e8825208ecf7281119b5" | 1703 | resolved "https://registry.yarnpkg.com/sass/-/sass-1.58.1.tgz#17ab0390076a50578ed0733f1cc45429e03405f6" |
1704 | integrity sha512-O2+LwLS79op7GI0xZ8fqzF7X2m/m8WFfI02dHOdsK5R2ECeS5F62zrwg/relM1rjSLy7Vd/DiMNIvPrQGsA0jw== | 1704 | integrity sha512-bnINi6nPXbP1XNRaranMFEBZWUfdW/AF16Ql5+ypRxfTvCRTTKrLsMIakyDcayUt2t/RZotmL4kgJwNH5xO+bg== |
1705 | dependencies: | 1705 | dependencies: |
1706 | chokidar ">=3.0.0 <4.0.0" | 1706 | chokidar ">=3.0.0 <4.0.0" |
1707 | immutable "^4.0.0" | 1707 | immutable "^4.0.0" |