Skip to content

Commit c904d55

Browse files
committed
Beta screen visual tweaks
1 parent 081c7ec commit c904d55

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

app/src/main/resources/bird.svg

Lines changed: 5 additions & 0 deletions
Loading

app/src/processing/app/ui/WelcomeToBeta.kt

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -101,36 +101,34 @@ class WelcomeToBeta {
101101
){
102102
val locale = LocalLocale.current
103103
Image(
104-
painter = painterResource("logo.svg"),
104+
painter = painterResource("bird.svg"),
105105
contentDescription = locale["beta.logo"],
106106
modifier = Modifier
107107
.align(Alignment.CenterVertically)
108108
.size(100.dp, 100.dp)
109+
.offset(0.dp, (-25).dp)
109110
)
110111
Column(
111112
modifier = Modifier
112113
.fillMaxHeight(),
113114
verticalArrangement = Arrangement
114115
.spacedBy(
115-
MaterialTheme.typography.subtitle1.lineHeight.value.dp,
116+
10.dp,
116117
alignment = Alignment.CenterVertically
117118
)
118119
) {
119120
Text(
120121
text = locale["beta.title"],
121-
style = MaterialTheme.typography.subtitle1,
122+
style = typography.subtitle1,
122123
)
123124
val text = locale["beta.message"]
124125
.replace('$' + "version", getVersionName())
125126
.replace('$' + "revision", getRevision().toString())
126127
Markdown(
127128
text,
128-
colors = markdownColor(
129-
text = colors.onSurface,
130-
linkText = colors.primary,
131-
),
132-
typography = markdownTypography(text = typography.body1),
133-
modifier = Modifier.background(Color.Transparent)
129+
colors = markdownColor(),
130+
typography = markdownTypography(text = typography.body1, link = typography.body1.copy(color = colors.primary)),
131+
modifier = Modifier.background(Color.Transparent).padding(bottom = 10.dp)
134132
)
135133
Row {
136134
Spacer(modifier = Modifier.weight(1f))

build/shared/lib/languages/PDE.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ update_check.updates_available.contributions = There are updates available for s
618618
# Beta
619619
beta.window.title = Welcome to Beta
620620
beta.title = Thanks for testing this Processing Beta!
621-
beta.message = This preview release lets us gather feedback and fix issues before the final version. Some features may not work as expected. If you encounter problems, [please post on the forum](https://discourse.processing.org) or [open a GitHub issue](https://github.com/processing/processing4/issues). \n\n [What's new in this release?](https://github.com/processing/processing4/releases/tag/processing-$revision-$version)
621+
beta.message = This preview release lets us gather feedback and fix issues before the final version. **Some features may not work as expected.** If you encounter problems, [please post on the forum](https://discourse.processing.org) or [open a GitHub issue](https://github.com/processing/processing4/issues).
622622
beta.button = Ok
623623

624624
# ---------------------------------------

0 commit comments

Comments
 (0)