Skip to content

Commit b71e9f1

Browse files
committed
Update welcome modal: darker background, lighter card headers, shadow, more height, reorder actions
1 parent 5295f06 commit b71e9f1

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

src/lib/components/WelcomeModal.svelte

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -100,16 +100,16 @@
100100
</div>
101101

102102
<div class="actions">
103-
<a href="https://pathsim.org" target="_blank" class="action-card">
104-
<Icon name="home" size={20} />
105-
<span class="action-label">Home</span>
106-
</a>
107-
108103
<button class="action-card" onclick={handleNew}>
109104
<Icon name="new-canvas" size={20} />
110105
<span class="action-label">New</span>
111106
</button>
112107

108+
<a href="https://pathsim.org" target="_blank" class="action-card">
109+
<Icon name="home" size={20} />
110+
<span class="action-label">Home</span>
111+
</a>
112+
113113
<a href="https://docs.pathsim.org" target="_blank" class="action-card">
114114
<Icon name="book" size={20} />
115115
<span class="action-label">Docs</span>
@@ -169,7 +169,7 @@
169169
display: flex;
170170
flex-direction: column;
171171
gap: 16px;
172-
background: var(--surface-raised);
172+
background: var(--surface);
173173
overflow: hidden;
174174
}
175175
@@ -245,7 +245,7 @@
245245
align-items: start;
246246
gap: 10px;
247247
overflow-y: auto;
248-
max-height: 320px;
248+
max-height: 420px;
249249
padding: 16px;
250250
}
251251
@@ -263,6 +263,7 @@
263263
text-align: left;
264264
overflow: hidden;
265265
font-family: inherit;
266+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
266267
transition: border-color 0.15s ease, box-shadow 0.15s ease;
267268
}
268269
@@ -280,7 +281,7 @@
280281
z-index: 1;
281282
padding: 6px 8px;
282283
text-align: left;
283-
background: var(--surface);
284+
background: var(--surface-raised);
284285
border-bottom: 1px solid var(--border);
285286
border-radius: var(--radius-md) var(--radius-md) 0 0;
286287
transition: padding 0.15s ease;

0 commit comments

Comments
 (0)