Skip to content

Commit fcf5b57

Browse files
committed
revert: "feat: show yellow when loading section"
This reverts commit b7a7555.
1 parent db6dfbf commit fcf5b57

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

src/lib/index/section.svelte

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
{@render children()}
4949
</div>
5050
{#if liveData}
51-
<p class={`updated-container ${liveData.updated ? 'loaded' : 'loading'}`}>
51+
<p class="updated-container">
5252
{#if liveData.updated}
5353
Data <span class="updated-detailed">&nbsp;cached & processed&nbsp;</span><span
5454
class="updated-concise">&nbsp;updated&nbsp;</span
@@ -149,24 +149,15 @@
149149
align-items: center;
150150
justify-content: center;
151151
padding: 5px;
152+
color: var(--green-foreground);
153+
background: var(--green-background);
154+
border-top: 1px solid var(--green-border);
152155
font-family: 'IBM Plex Mono';
153156
font-weight: 500;
154157
font-size: 13.5px;
155158
margin-top: 5px;
156159
}
157160
158-
.loaded {
159-
color: var(--green-foreground);
160-
background: var(--green-background);
161-
border-top: 1px solid var(--green-border);
162-
}
163-
164-
.loading {
165-
color: var(--yellow-foreground);
166-
background: var(--yellow-background);
167-
border-top: 1px solid var(--yellow-border);
168-
}
169-
170161
.lcp-link {
171162
color: inherit;
172163
font-size: inherit;

0 commit comments

Comments
 (0)