Skip to content

Commit b14ef40

Browse files
committed
chore(demo): switch theme atlas -> ashes
1 parent 7fe82bf commit b14ef40

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

www/components/LineNumbers/Basic.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
const code = `<script>
99
import Highlight, { LineNumbers } from "svelte-highlight";
1010
import typescript from "svelte-highlight/languages/typescript";
11-
import atlas from "svelte-highlight/styles/atlas";
11+
import ashes from "svelte-highlight/styles/ashes";
1212
1313
const code = "const add = (a: number, b: number) => a + b";
1414
<\/script>
1515
1616
<svelte:head>
17-
{@html atlas}
17+
{@html ashes}
1818
</svelte:head>
1919
2020
<Highlight language={typescript} {code} let:highlighted>
@@ -23,5 +23,5 @@
2323
</script>
2424

2525
<HighlightSvelte {code} let:highlighted>
26-
<LineNumbers class="atlas" {highlighted} {...$$restProps} />
26+
<LineNumbers class="ashes" {highlighted} {...$$restProps} />
2727
</HighlightSvelte>

www/components/ScopedLanguage.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
<Highlight language={${moduleName}} code="code" />`;
2323
</script>
2424

25-
<HighlightSvelte class="atlas" {code} />
25+
<HighlightSvelte class="ashes" {code} />

www/components/globals/Index.svelte

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
</p>
8383
</Column>
8484
<Column xlg={10}>
85-
<ScopedStyle name="atlas" moduleName="atlas" />
85+
<ScopedStyle name="ashes" moduleName="ashes" />
8686
</Column>
8787
<Column xlg={6} lg={12}>
8888
<p class="mb-5">
@@ -111,7 +111,7 @@
111111
</p>
112112
</Column>
113113
<Column xlg={10}>
114-
<HighlightSvelte code={svelteHeadCdn} class="atlas" />
114+
<HighlightSvelte code={svelteHeadCdn} class="ashes" />
115115
<InlineNotification
116116
lowContrast
117117
hideCloseButton
@@ -133,7 +133,7 @@
133133
</p>
134134
</Column>
135135
<Column xlg={10}>
136-
<ScopedStyleSvelte name="atlas" moduleName="atlas" />
136+
<ScopedStyleSvelte name="ashes" moduleName="ashes" />
137137
</Column>
138138
</Row>
139139

@@ -149,7 +149,7 @@
149149
</p>
150150
</Column>
151151
<Column xlg={10}>
152-
<ScopedStyleAuto name="atlas" moduleName="atlas" />
152+
<ScopedStyleAuto name="ashes" moduleName="ashes" />
153153
<InlineNotification
154154
lowContrast
155155
hideCloseButton
@@ -253,7 +253,7 @@
253253
<Highlight
254254
code={'[data-language="css"] {\n /* custom style rules */\n}'}
255255
language={css}
256-
class="atlas"
256+
class="ashes"
257257
/>
258258
</Column>
259259
</Row>
@@ -293,7 +293,7 @@
293293
<\/script>
294294
295295
<HighlightAuto {code} langtag \/>`}
296-
class="atlas"
296+
class="ashes"
297297
langtag
298298
/>
299299
<br />
@@ -308,7 +308,7 @@
308308
--langtag-border-radius="6px"
309309
--langtag-padding="0.5rem"
310310
/>`}
311-
class="atlas"
311+
class="ashes"
312312
langtag
313313
--langtag-top="0.5rem"
314314
--langtag-right="0.5rem"

0 commit comments

Comments
 (0)