@axium/storage 0.6.10 → 0.6.11

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/lib/Add.svelte CHANGED
@@ -72,10 +72,3 @@
72
72
  </div>
73
73
  {/if}
74
74
  </FormDialog>
75
-
76
- <style>
77
- .menu-item:hover {
78
- cursor: pointer;
79
- background-color: #4455;
80
- }
81
- </style>
@@ -23,7 +23,7 @@
23
23
  <i>No files yet</i>
24
24
  {/each}
25
25
  {:catch error}
26
- <i style:color="#c44">{error.message}</i>
26
+ <i class="error-text">{error.message}</i>
27
27
  {/await}
28
28
  </div>
29
29
 
@@ -87,7 +87,7 @@
87
87
  <SidebarItem bind:item={children[i]} bind:items={children} />
88
88
  {/each}
89
89
  {:catch error}
90
- <i style:color="#c44">{error.message}</i>
90
+ <i class="error-text">{error.message}</i>
91
91
  {/await}
92
92
  </div>
93
93
  </details>
@@ -166,14 +166,13 @@
166
166
  }
167
167
 
168
168
  .StorageSidebarItem:hover {
169
- background: #334;
169
+ background: var(--bg-strong);
170
170
  cursor: pointer;
171
171
  }
172
172
 
173
173
  .selected {
174
174
  border: 1px solid #555;
175
- background: #334;
176
- color: #fff;
175
+ background: var(--bg-strong);
177
176
  }
178
177
 
179
178
  details > div {
@@ -182,7 +181,7 @@
182
181
 
183
182
  div.action:hover {
184
183
  cursor: pointer;
185
- background-color: #223;
184
+ background-color: var(--bg-accent);
186
185
  border-radius: 0.25em;
187
186
  }
188
187
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/storage",
3
- "version": "0.6.10",
3
+ "version": "0.6.11",
4
4
  "author": "James Prevett <axium@jamespre.dev> (https://jamespre.dev)",
5
5
  "description": "User file storage for Axium",
6
6
  "funding": {
@@ -44,12 +44,12 @@
44
44
  }
45
45
 
46
46
  .item:hover {
47
- background-color: #333;
47
+ background-color: var(--bg-accent);
48
48
  cursor: pointer;
49
49
  }
50
50
 
51
51
  .item.active {
52
- background-color: #334;
52
+ background-color: var(--bg-accent);
53
53
  }
54
54
 
55
55
  .usage {
package/styles/list.css CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  .list-header {
8
8
  font-weight: bold;
9
- border-bottom: 1.5px solid #bbc;
9
+ border-bottom: 1.5px solid var(--fg-accent);
10
10
  }
11
11
 
12
12
  .list-item-container {
@@ -25,7 +25,7 @@
25
25
  }
26
26
 
27
27
  .list-item:not(.list-header, :first-child) {
28
- border-top: 1px solid #bbc;
28
+ border-top: 1px solid var(--fg-accent);
29
29
  }
30
30
 
31
31
  .list-item:not(.list-header):hover {