Skip to content

Commit 54e6c8f

Browse files
author
Владислав Прусаков
committed
Publish deploy 2020-04-15 15:24
1 parent 7649f50 commit 54e6c8f

File tree

8 files changed

+73
-57
lines changed

8 files changed

+73
-57
lines changed

Fonts/JetBrainsMono-Regular.ttf

134 KB
Binary file not shown.

Images/error.svg

Lines changed: 3 additions & 3 deletions
Loading

Images/info.svg

Lines changed: 3 additions & 3 deletions
Loading

codesyntax.css

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,40 @@
22
/* Generated by `CodeSyntaxCSSGeneratorPlugin` https://github.com/SpectralDragon/CodeSyntaxCSSGeneratorPlugin */
33

44

5-
pre code .s-string {
6-
color: #C41A15FF
7-
}
8-
9-
pre code .s-property {
10-
color: #3E6D74FF
5+
pre code .s-number {
6+
color: #1C00CEFF
117
}
128

13-
pre code .s-type {
14-
color: #3E6D74FF
9+
pre code .s-dotAccess {
10+
color: #25464AFF
1511
}
1612

17-
pre code .s-dotAccess {
13+
pre code .s-call {
1814
color: #25464AFF
1915
}
2016

21-
pre code .s-comment {
22-
color: #007400FF
17+
pre code .s-preprocessing {
18+
color: #63381FFF
2319
}
2420

25-
pre code .s-call {
26-
color: #25464AFF
21+
pre code .s-string {
22+
color: #C41A15FF
2723
}
2824

2925
pre code .s-keyword {
3026
color: #A90D91FF
3127
}
3228

33-
pre code .s-preprocessing {
34-
color: #63381FFF
29+
pre code .s-comment {
30+
color: #007400FF
3531
}
3632

37-
pre code .s-number {
38-
color: #1C00CEFF
33+
pre code .s-property {
34+
color: #3E6D74FF
35+
}
36+
37+
pre code .s-type {
38+
color: #3E6D74FF
3939
}
4040

4141

@@ -46,24 +46,20 @@ pre code .s-number {
4646
color: #FC5FA2FF
4747
}
4848

49-
pre code .s-comment {
50-
color: #6C7985FF
51-
}
52-
53-
pre code .s-property {
49+
pre code .s-dotAccess {
5450
color: #67B6A3FF
5551
}
5652

57-
pre code .s-preprocessing {
58-
color: #FC8E3EFF
53+
pre code .s-number {
54+
color: #CFBF69FF
5955
}
6056

61-
pre code .s-call {
57+
pre code .s-property {
6258
color: #67B6A3FF
6359
}
6460

65-
pre code .s-dotAccess {
66-
color: #67B6A3FF
61+
pre code .s-preprocessing {
62+
color: #FC8E3EFF
6763
}
6864

6965
pre code .s-string {
@@ -74,8 +70,12 @@ pre code .s-number {
7470
color: #9EF0DDFF
7571
}
7672

77-
pre code .s-number {
78-
color: #CFBF69FF
73+
pre code .s-call {
74+
color: #67B6A3FF
75+
}
76+
77+
pre code .s-comment {
78+
color: #6C7985FF
7979
}
8080

8181

feed.rss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content"><channel><title>LiteCode</title><description>A personal blog of LiteCode Team</description><link>https://litecode.dev</link><language>en</language><lastBuildDate>Wed, 15 Apr 2020 05:11:47 +0300</lastBuildDate><pubDate>Wed, 15 Apr 2020 05:11:47 +0300</pubDate><ttl>250</ttl><atom:link href="https://litecode.dev/feed.rss" rel="self" type="application/rss+xml"/><item><guid isPermaLink="true">https://litecode.dev/posts/first-post</guid><title>Custom NavigationView style</title><description>Create your own NavigationViewStyle.</description><link>https://litecode.dev/posts/first-post</link><pubDate>Fri, 3 Apr 2020 19:22:00 +0300</pubDate><content:encoded><![CDATA[<h1>Custom NavigationView style</h1><p>Hello everybody, today we will talk about custom NavigationViewStyle.</p><pre><code><span class="s-keyword">import</span> SwiftUI
1+
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content"><channel><title>LiteCode</title><description>A personal blog of LiteCode Team</description><link>https://litecode.dev</link><language>en</language><lastBuildDate>Wed, 15 Apr 2020 15:21:28 +0300</lastBuildDate><pubDate>Wed, 15 Apr 2020 15:21:28 +0300</pubDate><ttl>250</ttl><atom:link href="https://litecode.dev/feed.rss" rel="self" type="application/rss+xml"/><item><guid isPermaLink="true">https://litecode.dev/posts/first-post</guid><title>Custom NavigationView style</title><description>Create your own NavigationViewStyle.</description><link>https://litecode.dev/posts/first-post</link><pubDate>Fri, 3 Apr 2020 19:22:00 +0300</pubDate><content:encoded><![CDATA[<h1>Custom NavigationView style</h1><p>Hello everybody, today we will talk about custom NavigationViewStyle.</p><pre><code><span class="s-keyword">import</span> SwiftUI
22
33
<span class="s-keyword">struct</span> ContentView: <span class="s-type">View</span> {
44
@@ -22,6 +22,14 @@
2222
<span class="s-type">Text</span>(<span class="s-string">"some text"</span>)
2323
}
2424
.<span class="s-call">navigationViewStyle</span>(<span class="s-type">DefaultNavigationViewStyle</span>())
25+
26+
<span class="s-keyword">if some</span> != lol {
27+
<span class="s-call">print</span>(<span class="s-string">"kek"</span>)
28+
}
29+
}
30+
31+
<span class="s-keyword">func</span> someFunc() =&gt; <span class="s-type">String</span> {
32+
<span class="s-keyword">return</span> <span class="s-string">"SOME BIG TEXT"</span>
2533
}
2634
}
2735
</code></pre></blockquote><blockquote class="blockquote-error"><p>Some warning text some shit and etc other</p></blockquote><blockquote class="blockquote-info"><p>Some info <code>information</code></p></blockquote>]]></content:encoded></item></channel></rss>

main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
@font-face {
2020
font-family: "Code";
21-
src: url(/fonts/JetBrainsMono-Regular.ttf);
21+
src: url(/Fonts/JetBrainsMono-Regular.ttf);
2222
}
2323

2424
/* Global */

posts/first-post/index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@
2626
<span class="s-type">Text</span>(<span class="s-string">"some text"</span>)
2727
}
2828
.<span class="s-call">navigationViewStyle</span>(<span class="s-type">DefaultNavigationViewStyle</span>())
29+
30+
<span class="s-keyword">if some</span> != lol {
31+
<span class="s-call">print</span>(<span class="s-string">"kek"</span>)
32+
}
33+
}
34+
35+
<span class="s-keyword">func</span> someFunc() =&gt; <span class="s-type">String</span> {
36+
<span class="s-keyword">return</span> <span class="s-string">"SOME BIG TEXT"</span>
2937
}
3038
}
3139
</code></pre></blockquote><blockquote class="blockquote-error"><p>Some warning text some shit and etc other</p></blockquote><blockquote class="blockquote-info"><p>Some info <code>information</code></p></blockquote></article></div><footer class="footer"><div class="footer-container content-restriction"><hr/><div class="about_me"><img class="avatar" src="/Images/vprusakov.jpg" alt="Vladislav Prusakov Profile Picture"/><p>made by Vladislav Prusakov</p></div></div></footer></body></html>

tags.css

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
/* THIS FILE WAS AUTO GENERATED. DO NOT CHANGE IT MANUAL */
22
/* Generated by `TagColorCSSGeneratorPlugin` https://github.com/SpectralDragon/TagColorCSSGeneratorPlugin */
33

4-
.tag-swiftui {
5-
background-color: #007AFF66;
6-
color: #007AFFFF;
7-
font-weight: bold;
8-
}
9-
10-
.tag-swiftui:hover {
11-
background-color: #007AFFB2;
12-
}
13-
144
.tag-ui {
155
background-color: #FF3B3066;
166
color: #FF3B30FF;
@@ -21,17 +11,17 @@
2111
background-color: #FF3B30B2;
2212
}
2313

24-
@media(prefers-color-scheme: dark) {
14+
.tag-swiftui {
15+
background-color: #007AFF66;
16+
color: #007AFFFF;
17+
font-weight: bold;
18+
}
2519

26-
.tag-swiftui {
27-
background-color: #0A84FF66;
28-
color: #0A84FFFF;
29-
font-weight: bold;
30-
}
31-
32-
.tag-swiftui:hover {
33-
background-color: #0A84FFB2;
34-
}
20+
.tag-swiftui:hover {
21+
background-color: #007AFFB2;
22+
}
23+
24+
@media(prefers-color-scheme: dark) {
3525

3626
.tag-ui {
3727
background-color: #FF453A66;
@@ -43,4 +33,14 @@
4333
background-color: #FF453AB2;
4434
}
4535

36+
.tag-swiftui {
37+
background-color: #0A84FF66;
38+
color: #0A84FFFF;
39+
font-weight: bold;
40+
}
41+
42+
.tag-swiftui:hover {
43+
background-color: #0A84FFB2;
44+
}
45+
4646
}

0 commit comments

Comments
 (0)