Skip to content

Commit 2518f45

Browse files
committed
Update 1.6.0
1 parent 1ae43ac commit 2518f45

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+2570
-1430
lines changed

.idea/deploymentTargetSelector.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/kotlinc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle.kts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ android {
1717
applicationId = "com.yangdai.opennote"
1818
minSdk = 29
1919
targetSdk = 35
20-
versionCode = 1595
21-
versionName = "1.5.95"
20+
versionCode = 1600
21+
versionName = "1.6.0"
2222

2323
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
2424
vectorDrawables {
@@ -91,7 +91,11 @@ android {
9191
}
9292

9393
dependencies {
94-
// implementation (libs.sardine.android)
94+
implementation (libs.ktor.client.core)
95+
implementation (libs.ktor.client.android)
96+
implementation (libs.ktor.client.auth)
97+
implementation (libs.ktor.client.logging)
98+
9599
implementation(libs.androidx.work.runtime.ktx)
96100
implementation(libs.androidx.documentfile)
97101
// ColorPicker

app/src/main/assets/katex/auto-render.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/main/assets/katex/katex.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/main/assets/katex/katex.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/main/assets/prism/prism-core.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 189 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,189 @@
1+
code[class*="language-"],
2+
pre[class*="language-"] {
3+
background: #2b2b2b;
4+
color: #a9b7c6;
5+
font-family: "JetBrains Mono", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; /* this is the default */
6+
/* The following properties are standard, please leave them as they are */
7+
font-size: 1em;
8+
direction: ltr;
9+
text-align: left;
10+
white-space: pre;
11+
word-spacing: normal;
12+
word-break: normal;
13+
line-height: 1.5;
14+
/* The default is 4, but you could change it if you really, really want to */
15+
-moz-tab-size: 4;
16+
-o-tab-size: 4;
17+
tab-size: 4;
18+
/* The following properties are also standard */
19+
-webkit-hyphens: none;
20+
-moz-hyphens: none;
21+
-ms-hyphens: none;
22+
hyphens: none;
23+
}
24+
25+
code[class*="language-"]::-moz-selection,
26+
pre[class*="language-"]::-moz-selection,
27+
code[class*="language-"] ::-moz-selection,
28+
pre[class*="language-"] ::-moz-selection {
29+
background: #214283;
30+
}
31+
32+
code[class*="language-"]::selection,
33+
pre[class*="language-"]::selection,
34+
code[class*="language-"] ::selection,
35+
pre[class*="language-"] ::selection {
36+
background: #214283;
37+
}
38+
39+
/* Properties specific to code blocks */
40+
pre[class*="language-"] {
41+
padding: 1em; /* this is standard */
42+
margin: 0.5em 0; /* this is the default */
43+
overflow: auto; /* this is standard */
44+
border-radius: 0;
45+
}
46+
47+
/* Properties specific to inline code */
48+
:not(pre) > code[class*="language-"] {
49+
padding: 0.1em; /* this is the default */
50+
border-radius: 0;
51+
white-space: normal; /* this is standard */
52+
}
53+
54+
/**
55+
* These are the minimum tokens you must style, you can rearrange them and/or style more tokens as you want
56+
* The concepts behind these standard tokens, as well as some examples, can be found here: https://prismjs.com/tokens.html
57+
*/
58+
.token.comment {
59+
color: #808080;
60+
}
61+
62+
.token.prolog {
63+
color: #808080;
64+
}
65+
66+
.token.cdata {
67+
color: #808080;
68+
}
69+
70+
.token.doctype {
71+
color: #808080;
72+
}
73+
74+
.token.punctuation {
75+
color: #a9b7c6;
76+
}
77+
78+
.token.entity {
79+
color: #cc7832;
80+
}
81+
82+
.token.attr-name {
83+
color: #bababa;
84+
}
85+
86+
.token.class-name {
87+
color: #a9b7c6;
88+
}
89+
90+
.token.boolean {
91+
color: #cc7832;
92+
}
93+
94+
.token.constant {
95+
color: #9876aa;
96+
}
97+
98+
.token.number {
99+
color: #6897bb;
100+
}
101+
102+
.token.atrule {
103+
color: #cc7832;
104+
}
105+
106+
.token.keyword {
107+
color: #cc7832;
108+
}
109+
110+
.token.property {
111+
color: #bababa;
112+
}
113+
114+
.token.tag {
115+
color: #ffc66d;
116+
}
117+
118+
.token.symbol {
119+
color: #6a8759;
120+
}
121+
122+
.token.deleted {
123+
color: #cc7832;
124+
}
125+
126+
.token.important {
127+
color: #cc7832;
128+
}
129+
130+
.token.selector {
131+
color: #bababa;
132+
}
133+
134+
.token.string {
135+
color: #6a8759;
136+
}
137+
138+
.token.char {
139+
color: #6a8759;
140+
}
141+
142+
.token.builtin {
143+
color: #a9b7c6;
144+
}
145+
146+
.token.inserted {
147+
color: #6a8759;
148+
}
149+
150+
.token.regex {
151+
color: #6a8759;
152+
}
153+
154+
.token.attr-value {
155+
color: #a5c261;
156+
}
157+
158+
.token.variable {
159+
color: #9876aa;
160+
}
161+
162+
.token.operator {
163+
color: #a9b7c6;
164+
}
165+
166+
.token.function {
167+
color: #ffc66d;
168+
}
169+
170+
.token.url {
171+
color: #287bde;
172+
}
173+
174+
/* The following rules are pretty similar across themes, but feel free to adjust them */
175+
.token.bold {
176+
font-weight: bold;
177+
}
178+
179+
.token.italic {
180+
font-style: italic;
181+
}
182+
183+
.token.entity {
184+
cursor: help;
185+
}
186+
187+
.token.namespace {
188+
opacity: 0.7;
189+
}

0 commit comments

Comments
 (0)