@memobit/libs 3.16.0 → 3.18.0

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.
@@ -1,36 +1,36 @@
1
- // Universal body painting + sizing. Consumed via themes.scss so every memobit
2
- // app picks it up automatically.
3
- //
4
- // Why this lives here:
5
- // Theme backgrounds are gradients (multi-stop linear/radial). If the body is
6
- // shorter than the viewport during initial render — empty content, loading
7
- // state — the gradient gets tiled vertically by default, producing visible
8
- // horizontal banding. `min-height: 100vh` ensures the body is at least as tall
9
- // as the viewport so the gradient renders at full size on first paint;
10
- // `background-repeat: no-repeat` is a defensive guard for edge cases (zoom,
11
- // tall viewport with short content after HMR).
12
- //
13
- // Do NOT use the `background` shorthand in consumer App.scss — it resets
14
- // `background-repeat` to its initial `repeat` value and re-introduces the
15
- // banding. Set `background-image` long-hand if a per-project override is
16
- // needed; otherwise omit and let this rule own it.
17
-
18
- html,
19
- body {
20
- background: var(--body-background);
21
- background-repeat: no-repeat;
22
- margin: 0;
23
- padding: 0;
24
- min-height: 100vh;
25
- }
26
-
27
- // Ambient glow overlay — themes opt in via `--body-background-glow`. Pinned to
28
- // the viewport so it stays put on scroll; z-index: -1 keeps it behind app content.
29
- body::before {
30
- content: '';
31
- position: fixed;
32
- inset: 0;
33
- z-index: -1;
34
- background: var(--body-background-glow, none);
35
- pointer-events: none;
36
- }
1
+ // Universal body painting + sizing. Consumed via themes.scss so every memobit
2
+ // app picks it up automatically.
3
+ //
4
+ // Why this lives here:
5
+ // Theme backgrounds are gradients (multi-stop linear/radial). If the body is
6
+ // shorter than the viewport during initial render — empty content, loading
7
+ // state — the gradient gets tiled vertically by default, producing visible
8
+ // horizontal banding. `min-height: 100vh` ensures the body is at least as tall
9
+ // as the viewport so the gradient renders at full size on first paint;
10
+ // `background-repeat: no-repeat` is a defensive guard for edge cases (zoom,
11
+ // tall viewport with short content after HMR).
12
+ //
13
+ // Do NOT use the `background` shorthand in consumer App.scss — it resets
14
+ // `background-repeat` to its initial `repeat` value and re-introduces the
15
+ // banding. Set `background-image` long-hand if a per-project override is
16
+ // needed; otherwise omit and let this rule own it.
17
+
18
+ html,
19
+ body {
20
+ background: var(--body-background);
21
+ background-repeat: no-repeat;
22
+ margin: 0;
23
+ padding: 0;
24
+ min-height: 100vh;
25
+ }
26
+
27
+ // Ambient glow overlay — themes opt in via `--body-background-glow`. Pinned to
28
+ // the viewport so it stays put on scroll; z-index: -1 keeps it behind app content.
29
+ body::before {
30
+ content: '';
31
+ position: fixed;
32
+ inset: 0;
33
+ z-index: -1;
34
+ background: var(--body-background-glow, none);
35
+ pointer-events: none;
36
+ }
@@ -1,72 +1,72 @@
1
- .note-container-effect {
2
- font-size: var(--font-size-md);
3
- line-height: 1.6;
4
- padding: var(--spacing-16);
5
- border-radius: var(--spacing-12);
6
- border-left: var(--spacing-2) solid var(--note-container-effect-border-left-color);
7
- background-color: var(--note-container-effect-background-color);
8
- color: var(--note-container-effect-color);
9
- }
10
-
11
- .infuse-effect {
12
- border-width: var(--spacing-1);
13
- border-style: solid;
14
- transition: all 0.3s;
15
- position: relative;
16
-
17
- &::before {
18
- content: '';
19
- position: absolute;
20
- top: 0;
21
- left: 0;
22
- background: var(--infuse-effect-before-background);
23
- width: var(--spacing-4);
24
- height: 100%;
25
- opacity: 0;
26
- transition: opacity 0.3s;
27
- }
28
-
29
- &:hover {
30
- transform: translateY(-5px);
31
- border-color: var(--infuse-effect-hover-border-color);
32
- box-shadow: 0 var(--spacing-12) var(--spacing-24) var(--infuse-effect-hover-box-shadow-color);
33
-
34
- &::before {
35
- opacity: 1;
36
- }
37
- }
38
- }
39
-
40
- .up-lift-effect {
41
- border-width: var(--spacing-1);
42
- border-style: solid;
43
- box-shadow: 0 var(--spacing-4) var(--spacing-12) var(--up-lift-effect-box-shadow-color);
44
- transition: all 0.3s ease;
45
- position: relative;
46
-
47
- &::before {
48
- content: '';
49
- position: absolute;
50
- top: 0;
51
- left: 0;
52
- width: 5px;
53
- height: 100%;
54
- background: var(--up-lift-effect-before-background);
55
- }
56
-
57
- &:hover {
58
- transform: translateY(-5px);
59
- border-color: var(--up-lift-effect-hover-border-color);
60
- box-shadow: 0 var(--spacing-12) var(--spacing-24) var(--up-lift-effect-hover-box-shadow-color);
61
- }
62
- }
63
-
64
- .glow-effect {
65
- transition: 0.3s;
66
-
67
- &:hover {
68
- box-shadow: var(--glow-box-shadow-color);
69
- transform: translateY(-2px);
70
- border-color: var(--glow-hover-border-color);
71
- }
72
- }
1
+ .note-container-effect {
2
+ font-size: var(--font-size-md);
3
+ line-height: 1.6;
4
+ padding: var(--spacing-16);
5
+ border-radius: var(--spacing-12);
6
+ border-left: var(--spacing-2) solid var(--note-container-effect-border-left-color);
7
+ background-color: var(--note-container-effect-background-color);
8
+ color: var(--note-container-effect-color);
9
+ }
10
+
11
+ .infuse-effect {
12
+ border-width: var(--spacing-1);
13
+ border-style: solid;
14
+ transition: all 0.3s;
15
+ position: relative;
16
+
17
+ &::before {
18
+ content: '';
19
+ position: absolute;
20
+ top: 0;
21
+ left: 0;
22
+ background: var(--infuse-effect-before-background);
23
+ width: var(--spacing-4);
24
+ height: 100%;
25
+ opacity: 0;
26
+ transition: opacity 0.3s;
27
+ }
28
+
29
+ &:hover {
30
+ transform: translateY(-5px);
31
+ border-color: var(--infuse-effect-hover-border-color);
32
+ box-shadow: 0 var(--spacing-12) var(--spacing-24) var(--infuse-effect-hover-box-shadow-color);
33
+
34
+ &::before {
35
+ opacity: 1;
36
+ }
37
+ }
38
+ }
39
+
40
+ .up-lift-effect {
41
+ border-width: var(--spacing-1);
42
+ border-style: solid;
43
+ box-shadow: 0 var(--spacing-4) var(--spacing-12) var(--up-lift-effect-box-shadow-color);
44
+ transition: all 0.3s ease;
45
+ position: relative;
46
+
47
+ &::before {
48
+ content: '';
49
+ position: absolute;
50
+ top: 0;
51
+ left: 0;
52
+ width: 5px;
53
+ height: 100%;
54
+ background: var(--up-lift-effect-before-background);
55
+ }
56
+
57
+ &:hover {
58
+ transform: translateY(-5px);
59
+ border-color: var(--up-lift-effect-hover-border-color);
60
+ box-shadow: 0 var(--spacing-12) var(--spacing-24) var(--up-lift-effect-hover-box-shadow-color);
61
+ }
62
+ }
63
+
64
+ .glow-effect {
65
+ transition: 0.3s;
66
+
67
+ &:hover {
68
+ box-shadow: var(--glow-box-shadow-color);
69
+ transform: translateY(-2px);
70
+ border-color: var(--glow-hover-border-color);
71
+ }
72
+ }
@@ -1,6 +1,6 @@
1
- mark {
2
- background-color: var(--button-warning-background-color);
3
- color: var(--button-warning-color);
4
- padding: var(--spacing-1) var(--spacing-4);
5
- border-radius: var(--radius-sm);
6
- }
1
+ mark {
2
+ background-color: var(--button-warning-background-color);
3
+ color: var(--button-warning-color);
4
+ padding: var(--spacing-1) var(--spacing-4);
5
+ border-radius: var(--radius-sm);
6
+ }
@@ -1,30 +1,30 @@
1
- :root {
2
- --scrollbar-size: 6px;
3
- --scrollbar-track-color: transparent;
4
- --scrollbar-thumb-color: var(--delimiter-color, rgba(128, 128, 128, 0.45));
5
- --scrollbar-thumb-hover-color: var(--body-color-muted, rgba(128, 128, 128, 0.65));
6
- --scrollbar-radius: var(--radius-full, 9999px);
7
- }
8
-
9
- * {
10
- scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-track-color);
11
- scrollbar-width: thin;
12
- }
13
-
14
- *::-webkit-scrollbar {
15
- width: var(--scrollbar-size);
16
- height: var(--scrollbar-size);
17
- }
18
-
19
- *::-webkit-scrollbar-track {
20
- background: var(--scrollbar-track-color);
21
- }
22
-
23
- *::-webkit-scrollbar-thumb {
24
- background: var(--scrollbar-thumb-color);
25
- border-radius: var(--scrollbar-radius);
26
- }
27
-
28
- *::-webkit-scrollbar-thumb:hover {
29
- background: var(--scrollbar-thumb-hover-color);
30
- }
1
+ :root {
2
+ --scrollbar-size: 6px;
3
+ --scrollbar-track-color: transparent;
4
+ --scrollbar-thumb-color: var(--delimiter-color, rgba(128, 128, 128, 0.45));
5
+ --scrollbar-thumb-hover-color: var(--body-color-muted, rgba(128, 128, 128, 0.65));
6
+ --scrollbar-radius: var(--radius-full, 9999px);
7
+ }
8
+
9
+ * {
10
+ scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-track-color);
11
+ scrollbar-width: thin;
12
+ }
13
+
14
+ *::-webkit-scrollbar {
15
+ width: var(--scrollbar-size);
16
+ height: var(--scrollbar-size);
17
+ }
18
+
19
+ *::-webkit-scrollbar-track {
20
+ background: var(--scrollbar-track-color);
21
+ }
22
+
23
+ *::-webkit-scrollbar-thumb {
24
+ background: var(--scrollbar-thumb-color);
25
+ border-radius: var(--scrollbar-radius);
26
+ }
27
+
28
+ *::-webkit-scrollbar-thumb:hover {
29
+ background: var(--scrollbar-thumb-hover-color);
30
+ }