Skip to content

Commit bbfcf57

Browse files
committed
Updated date, time, and prompt colors
1 parent 44d3f52 commit bbfcf57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/displayapp/screens/WatchFaceTerminal.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,14 @@ WatchFaceTerminal::WatchFaceTerminal(Controllers::DateTime& dateTimeController,
5050
lv_obj_align(notificationIcon, nullptr, LV_ALIGN_IN_LEFT_MID, 0, -100);
5151

5252
label_prompt_1 = lv_label_create(lv_scr_act(), nullptr);
53+
lv_obj_set_style_local_text_color(label_prompt_1, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, Colors::lightGray);
5354
lv_obj_align(label_prompt_1, lv_scr_act(), LV_ALIGN_IN_LEFT_MID, 0, -80);
5455
lv_label_set_text_static(label_prompt_1, "user@watch:~ $ now");
5556

5657
label_time = lv_label_create(lv_scr_act(), nullptr);
57-
lv_obj_set_style_local_text_color(label_time, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, Colors::blue);
5858
lv_obj_align(label_time, lv_scr_act(), LV_ALIGN_IN_LEFT_MID, 0, -60);
5959

6060
label_date = lv_label_create(lv_scr_act(), nullptr);
61-
lv_obj_set_style_local_text_color(label_date, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, Colors::blue);
6261
lv_obj_align(label_date, lv_scr_act(), LV_ALIGN_IN_LEFT_MID, 0, -40);
6362

6463
weather = lv_label_create(lv_scr_act(), nullptr);
@@ -78,6 +77,7 @@ WatchFaceTerminal::WatchFaceTerminal(Controllers::DateTime& dateTimeController,
7877
lv_obj_align(connectState, lv_scr_act(), LV_ALIGN_IN_LEFT_MID, 0, 60);
7978

8079
label_prompt_2 = lv_label_create(lv_scr_act(), nullptr);
80+
lv_obj_set_style_local_text_color(label_prompt_2, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, Colors::lightGray);
8181
lv_obj_align(label_prompt_2, lv_scr_act(), LV_ALIGN_IN_LEFT_MID, 0, 80);
8282
lv_label_set_text_static(label_prompt_2, "user@watch:~ $");
8383

0 commit comments

Comments
 (0)