File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 8
8
const code = ` <script>
9
9
import Highlight, { LineNumbers } from "svelte-highlight";
10
10
import typescript from "svelte-highlight/languages/typescript";
11
- import atlas from "svelte-highlight/styles/atlas ";
11
+ import ashes from "svelte-highlight/styles/ashes ";
12
12
13
13
const code = "const add = (a: number, b: number) => a + b";
14
14
<\/ script>
15
15
16
16
<svelte:head>
17
- {@html atlas }
17
+ {@html ashes }
18
18
</svelte:head>
19
19
20
20
<Highlight language={typescript} {code} let:highlighted>
23
23
</script >
24
24
25
25
<HighlightSvelte {code } let:highlighted >
26
- <LineNumbers class ="atlas " {highlighted } {...$$restProps } />
26
+ <LineNumbers class ="ashes " {highlighted } {...$$restProps } />
27
27
</HighlightSvelte >
Original file line number Diff line number Diff line change 22
22
<Highlight language={${ moduleName} } code="code" />` ;
23
23
</script >
24
24
25
- <HighlightSvelte class ="atlas " {code } />
25
+ <HighlightSvelte class ="ashes " {code } />
Original file line number Diff line number Diff line change 82
82
</p >
83
83
</Column >
84
84
<Column xlg ={10 }>
85
- <ScopedStyle name =" atlas " moduleName =" atlas " />
85
+ <ScopedStyle name =" ashes " moduleName =" ashes " />
86
86
</Column >
87
87
<Column xlg ={6 } lg ={12 }>
88
88
<p class =" mb-5" >
111
111
</p >
112
112
</Column >
113
113
<Column xlg ={10 }>
114
- <HighlightSvelte code ={svelteHeadCdn } class =" atlas " />
114
+ <HighlightSvelte code ={svelteHeadCdn } class =" ashes " />
115
115
<InlineNotification
116
116
lowContrast
117
117
hideCloseButton
133
133
</p >
134
134
</Column >
135
135
<Column xlg ={10 }>
136
- <ScopedStyleSvelte name =" atlas " moduleName =" atlas " />
136
+ <ScopedStyleSvelte name =" ashes " moduleName =" ashes " />
137
137
</Column >
138
138
</Row >
139
139
149
149
</p >
150
150
</Column >
151
151
<Column xlg ={10 }>
152
- <ScopedStyleAuto name =" atlas " moduleName =" atlas " />
152
+ <ScopedStyleAuto name =" ashes " moduleName =" ashes " />
153
153
<InlineNotification
154
154
lowContrast
155
155
hideCloseButton
253
253
<Highlight
254
254
code ={' [data-language="css"] {\n /* custom style rules */\n }' }
255
255
language ={css }
256
- class =" atlas "
256
+ class =" ashes "
257
257
/>
258
258
</Column >
259
259
</Row >
293
293
<\/ script>
294
294
295
295
<HighlightAuto {code} langtag \/ > ` }
296
- class =" atlas "
296
+ class =" ashes "
297
297
langtag
298
298
/>
299
299
<br />
308
308
--langtag-border-radius="6px"
309
309
--langtag-padding="0.5rem"
310
310
/> ` }
311
- class =" atlas "
311
+ class =" ashes "
312
312
langtag
313
313
--langtag-top =" 0.5rem"
314
314
--langtag-right =" 0.5rem"
You can’t perform that action at this time.
0 commit comments