Skip to content

Commit ebbc84b

Browse files
committed
Squezbox dracula theme
1 parent c97494a commit ebbc84b

File tree

3 files changed

+37
-6
lines changed

3 files changed

+37
-6
lines changed

.idea/workspace.xml

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

src/main/kotlin/org/idaesbasic/MainStyle.kt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ class MainStyle: Stylesheet() {
77
companion object {
88
val styledTextArea by cssclass()
99
val caret by cssclass()
10+
val squeezebox by cssclass()
11+
val form by cssclass()
1012

1113
private val draculaBackgroundColor = c("#282a36")
1214
private val draculaForegroundColor = c("#44475a")
@@ -17,6 +19,7 @@ class MainStyle: Stylesheet() {
1719
init {
1820
button {
1921
backgroundColor = multi(draculaForegroundColor)
22+
textFill = draculaTextColor
2023
and (hover) {
2124
backgroundColor = multi(draculaSelectColor)
2225
}
@@ -39,5 +42,28 @@ class MainStyle: Stylesheet() {
3942
caret {
4043
stroke = draculaTextColor
4144
}
45+
squeezebox {
46+
backgroundColor = multi(draculaBackgroundColor)
47+
}
48+
titledPane {
49+
textFill = draculaTextColor
50+
title {
51+
backgroundColor = multi(draculaBackgroundColor)
52+
}
53+
content {
54+
borderColor = multi(box(draculaBackgroundColor))
55+
backgroundColor = multi(draculaBackgroundColor)
56+
}
57+
}
58+
root {
59+
backgroundColor = multi(draculaBackgroundColor)
60+
}
61+
form {
62+
backgroundColor = multi(draculaBackgroundColor)
63+
textFill = draculaTextColor
64+
}
65+
label {
66+
textFill = draculaTextColor
67+
}
4268
}
4369
}

src/main/kotlin/org/idaesbasic/buffer/NewBufferView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class NewBufferView : Fragment () {
2121
textfield()
2222
}
2323
field("Language") {
24-
text("Plain text")
24+
label("Plain text")
2525
}
2626
}
2727
fieldset ("Advanced file configuration") {

0 commit comments

Comments
 (0)