@gleich/ui 1.3.0 → 1.3.2

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.
@@ -2,15 +2,11 @@
2
2
  import type { Snippet } from 'svelte';
3
3
  import Copyright from './copyright.svelte';
4
4
 
5
- const {
6
- children,
7
- fadeIn = true,
8
- repo
9
- }: { children: Snippet; fadeIn: boolean; repo: string } = $props();
5
+ const { children, repo }: { children: Snippet; repo: string } = $props();
10
6
  </script>
11
7
 
12
8
  <div class="container">
13
- <div class="main" style={fadeIn ? '' : 'animation: none; opacity: 1;'}>
9
+ <div class="main">
14
10
  <div class="page-content">
15
11
  {@render children()}
16
12
  </div>
@@ -36,8 +32,6 @@
36
32
  flex: 1;
37
33
  max-width: 1040px;
38
34
  padding: 70px 20px;
39
- animation: fade-up 0.5s ease-out forwards;
40
- opacity: 0;
41
35
  }
42
36
 
43
37
  .page-content {
@@ -54,26 +48,4 @@
54
48
  padding: 50px 10px;
55
49
  }
56
50
  }
57
-
58
- @-webkit-keyframes fade-up {
59
- from {
60
- opacity: 0;
61
- transform: translateY(10px);
62
- }
63
- to {
64
- opacity: 1;
65
- transform: translateY(0);
66
- }
67
- }
68
-
69
- @keyframes fade-up {
70
- from {
71
- opacity: 0;
72
- transform: translateY(10px);
73
- }
74
- to {
75
- opacity: 1;
76
- transform: translateY(0);
77
- }
78
- }
79
51
  </style>
@@ -1,7 +1,6 @@
1
1
  import type { Snippet } from 'svelte';
2
2
  type $$ComponentProps = {
3
3
  children: Snippet;
4
- fadeIn: boolean;
5
4
  repo: string;
6
5
  };
7
6
  declare const Layout: import("svelte").Component<$$ComponentProps, {}, "">;
@@ -13,7 +13,7 @@
13
13
  width: var(--width);
14
14
  height: var(--height);
15
15
  border: 1px solid var(--border);
16
- box-shadow: inset var(--box-shadow);
16
+ box-shadow: inset 0px 0px 4px var(--box-shadow-color);
17
17
  background-color: var(--background);
18
18
  border-radius: var(--border-radius);
19
19
  padding: 3px;
package/dist/styles.css CHANGED
@@ -27,8 +27,8 @@
27
27
 
28
28
  @media (prefers-color-scheme: light) {
29
29
  :root {
30
- --box-shadow-color: rgb(188, 188, 188);
31
- --box-shadow: 0px 4px 8px var(--box-shadow-color);
30
+ --box-shadow-color: rgb(221, 221, 221);
31
+ --box-shadow: 0px 3px 5px var(--box-shadow-color);
32
32
 
33
33
  --button-background: rgb(238, 238, 238);
34
34
  --button-foreground: black;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gleich/ui",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "license": "MIT",
5
5
  "packageManager": "pnpm@10.11.0",
6
6
  "scripts": {