@riebeckite/plugin-daily-notes 0.0.5 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -71,4 +71,4 @@ Set a strategy to `false` to disable it. `pathPattern` supports `{YYYY}`,
71
71
 
72
72
  ## See also
73
73
 
74
- - [Plugin guide](../../docs/plugins_en.md)
74
+ - [Plugin guide](../../../docs/en/plugin-system.md)
package/README_ja.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  デイリーノートから短いスニペットを取り出してサイトのウィジェットとして表示するプラグインです。
4
4
 
5
- [English](./README_en.md)
5
+ [English](./README.md)
6
6
 
7
7
  ## 概要
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/plugin-daily-notes",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "hono": "^4.12.25",
25
- "@riebeckite/core": "0.0.5"
25
+ "@riebeckite/core": "0.0.7"
26
26
  },
27
27
  "devDependencies": {
28
28
  "tsx": "^4.22.4"
package/style.css CHANGED
@@ -1,77 +1,77 @@
1
- @layer components {
2
- .daily-notes {
3
- margin-top: 4rem;
4
- padding-top: 1.5rem;
5
- border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
6
- }
7
-
8
- .daily-notes__header {
9
- display: grid;
10
- gap: 0.25rem;
11
- margin-bottom: 1.25rem;
12
- }
13
-
14
- .daily-notes__eyebrow {
15
- margin: 0;
16
- font-size: 0.75rem;
17
- font-weight: 700;
18
- letter-spacing: 0.12em;
19
- color: color-mix(in srgb, currentColor 54%, transparent);
20
- }
21
-
22
- .daily-notes__title {
23
- margin: 0;
24
- font-size: clamp(1.5rem, 4vw, 2rem);
25
- line-height: 1.2;
26
- letter-spacing: -0.02em;
27
- }
28
-
29
- .daily-notes__list {
30
- display: grid;
31
- gap: 1.25rem;
32
- margin: 0;
33
- padding: 0;
34
- list-style: none;
35
- }
36
-
37
- .daily-notes__item {
38
- margin: 0;
39
- padding: 1rem 0 0;
40
- border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
41
- }
42
-
43
- .daily-notes__meta {
44
- display: flex;
45
- flex-wrap: wrap;
46
- gap: 0.75rem;
47
- align-items: baseline;
48
- margin-bottom: 0.5rem;
49
- }
50
-
51
- .daily-notes__date {
52
- font-size: 0.75rem;
53
- font-weight: 700;
54
- letter-spacing: 0.08em;
55
- color: color-mix(in srgb, currentColor 62%, transparent);
56
- }
57
-
58
- .daily-notes__source {
59
- font-size: 0.75rem;
60
- color: var(--rb-color-accent, currentColor);
61
- text-decoration: underline;
62
- text-underline-offset: 0.2em;
63
- }
64
-
65
- .daily-notes__source:focus-visible {
66
- outline: 2px solid var(--rb-color-accent, currentColor);
67
- outline-offset: 3px;
68
- }
69
-
70
- .daily-notes__snippet {
71
- margin: 0;
72
- font-size: 1rem;
73
- line-height: 1.75;
74
- white-space: pre-wrap;
75
- overflow-wrap: anywhere;
76
- }
77
- }
1
+ @layer components {
2
+ .daily-notes {
3
+ margin-top: 4rem;
4
+ padding-top: 1.5rem;
5
+ border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
6
+ }
7
+
8
+ .daily-notes__header {
9
+ display: grid;
10
+ gap: 0.25rem;
11
+ margin-bottom: 1.25rem;
12
+ }
13
+
14
+ .daily-notes__eyebrow {
15
+ margin: 0;
16
+ font-size: 0.75rem;
17
+ font-weight: 700;
18
+ letter-spacing: 0.12em;
19
+ color: color-mix(in srgb, currentColor 54%, transparent);
20
+ }
21
+
22
+ .daily-notes__title {
23
+ margin: 0;
24
+ font-size: clamp(1.5rem, 4vw, 2rem);
25
+ line-height: 1.2;
26
+ letter-spacing: -0.02em;
27
+ }
28
+
29
+ .daily-notes__list {
30
+ display: grid;
31
+ gap: 1.25rem;
32
+ margin: 0;
33
+ padding: 0;
34
+ list-style: none;
35
+ }
36
+
37
+ .daily-notes__item {
38
+ margin: 0;
39
+ padding: 1rem 0 0;
40
+ border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
41
+ }
42
+
43
+ .daily-notes__meta {
44
+ display: flex;
45
+ flex-wrap: wrap;
46
+ gap: 0.75rem;
47
+ align-items: baseline;
48
+ margin-bottom: 0.5rem;
49
+ }
50
+
51
+ .daily-notes__date {
52
+ font-size: 0.75rem;
53
+ font-weight: 700;
54
+ letter-spacing: 0.08em;
55
+ color: color-mix(in srgb, currentColor 62%, transparent);
56
+ }
57
+
58
+ .daily-notes__source {
59
+ font-size: 0.75rem;
60
+ color: var(--rb-color-accent, currentColor);
61
+ text-decoration: underline;
62
+ text-underline-offset: 0.2em;
63
+ }
64
+
65
+ .daily-notes__source:focus-visible {
66
+ outline: 2px solid var(--rb-color-accent, currentColor);
67
+ outline-offset: 3px;
68
+ }
69
+
70
+ .daily-notes__snippet {
71
+ margin: 0;
72
+ font-size: 1rem;
73
+ line-height: 1.75;
74
+ white-space: pre-wrap;
75
+ overflow-wrap: anywhere;
76
+ }
77
+ }