Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,12 @@ android {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
isCoreLibraryDesugaringEnabled = true
}
kotlinOptions {
jvmTarget = "11"
jvmTarget = "17"
}
buildFeatures {
compose = true
Expand Down Expand Up @@ -107,6 +108,8 @@ dependencies {

implementation(platform(libs.bom))
implementation(libs.editor)
implementation(libs.language.textmate)
coreLibraryDesugaring(libs.desugar.jdk.libs)

testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
Expand Down
223 changes: 223 additions & 0 deletions app/src/main/assets/textmate/abyss.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,223 @@
{
"name": "Abyss",
"settings": [{
"settings": {
"background": "#000c18",
"caret": "#ddbb88",
"foreground": "#6688cc",
"invisibles": "#002040",
"lineHighlight": "#082050",
"selection": "#770811",
"guide": "#002952"
}
}, {
"scope": ["meta.embedded", "source.groovy.embedded"],
"settings": {
"foreground": "#6688cc"
}
}, {
"name": "Comment",
"scope": "comment",
"settings": {
"foreground": "#384887"
}
}, {
"name": "String",
"scope": "string",
"settings": {
"foreground": "#22aa44"
}
}, {
"name": "Number",
"scope": "constant.numeric",
"settings": {
"foreground": "#f280d0"
}
}, {
"name": "Built-in constant",
"scope": "constant.language",
"settings": {
"foreground": "#f280d0"
}
}, {
"name": "User-defined constant",
"scope": ["constant.character", "constant.other"],
"settings": {
"foreground": "#f280d0"
}
}, {
"name": "Variable",
"scope": "variable",
"settings": {
"fontStyle": ""
}
}, {
"name": "Keyword",
"scope": "keyword",
"settings": {
"foreground": "#225588"
}
}, {
"name": "Storage",
"scope": "storage",
"settings": {
"fontStyle": "",
"foreground": "#225588"
}
}, {
"name": "Storage type",
"scope": "storage.type",
"settings": {
"fontStyle": "italic",
"foreground": "#9966b8"
}
}, {
"name": "Class name",
"scope": ["entity.name.class", "entity.name.type", "entity.name.namespace", "entity.name.scope-resolution"],
"settings": {
"fontStyle": "underline",
"foreground": "#ffeebb"
}
}, {
"name": "Inherited class",
"scope": "entity.other.inherited-class",
"settings": {
"fontStyle": "italic underline",
"foreground": "#ddbb88"
}
}, {
"name": "Function name",
"scope": "entity.name.function",
"settings": {
"fontStyle": "",
"foreground": "#ddbb88"
}
}, {
"name": "Function argument",
"scope": "variable.parameter",
"settings": {
"fontStyle": "italic",
"foreground": "#2277ff"
}
}, {
"name": "Tag name",
"scope": "entity.name.tag",
"settings": {
"fontStyle": "",
"foreground": "#225588"
}
}, {
"name": "Tag attribute",
"scope": "entity.other.attribute-name",
"settings": {
"fontStyle": "",
"foreground": "#ddbb88"
}
}, {
"name": "Library function",
"scope": "support.function",
"settings": {
"fontStyle": "",
"foreground": "#9966b8"
}
}, {
"name": "Library constant",
"scope": "support.constant",
"settings": {
"fontStyle": "",
"foreground": "#9966b8"
}
}, {
"name": "Library class/type",
"scope": ["support.type", "support.class"],
"settings": {
"fontStyle": "italic",
"foreground": "#9966b8"
}
}, {
"name": "Library variable",
"scope": "support.other.variable",
"settings": {
"fontStyle": ""
}
}, {
"name": "Invalid",
"scope": "invalid",
"settings": {
"fontStyle": "",
"foreground": "#A22D44"
}
}, {
"name": "Invalid deprecated",
"scope": "invalid.deprecated",
"settings": {
"foreground": "#A22D44"
}
}, {
"name": "diff: header",
"scope": ["meta.diff", "meta.diff.header"],
"settings": {
"fontStyle": "italic",
"foreground": "#E0EDDD"
}
}, {
"name": "diff: deleted",
"scope": "markup.deleted",
"settings": {
"fontStyle": "",
"foreground": "#dc322f"
}
}, {
"name": "diff: changed",
"scope": "markup.changed",
"settings": {
"fontStyle": "",
"foreground": "#cb4b16"
}
}, {
"name": "diff: inserted",
"scope": "markup.inserted",
"settings": {
"foreground": "#219186"
}
}, {
"name": "Markup Quote",
"scope": "markup.quote",
"settings": {
"foreground": "#22aa44"
}
}, {
"name": "Markup Styling",
"scope": ["markup.bold", "markup.italic"],
"settings": {
"foreground": "#22aa44"
}
}, {
"name": "Markup: Strong",
"scope": "markup.bold",
"settings": {
"fontStyle": "bold"
}
}, {
"name": "Markup: Emphasis",
"scope": "markup.italic",
"settings": {
"fontStyle": "italic"
}
}, {
"name": "Markup Inline",
"scope": "markup.inline.raw",
"settings": {
"fontStyle": "",
"foreground": "#9966b8"
}
}, {
"name": "Markup Headings",
"scope": ["markup.heading", "markup.heading.setext"],
"settings": {
"fontStyle": "bold",
"foreground": "#6688cc"
}
}]

}
Loading
Loading