Redesign exam and CCS experiences
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
extends VBoxContainer
|
||||
|
||||
const Style := preload("res://scripts/ui/ui_style.gd")
|
||||
const Brand := preload("res://scripts/ui/medmind_style.gd")
|
||||
var main: Control
|
||||
var title: Label
|
||||
var score_body: RichTextLabel
|
||||
@@ -170,6 +171,6 @@ func _on_theme_changed(_is_dark_mode: bool) -> void:
|
||||
|
||||
func _refresh_theme_button() -> void:
|
||||
if theme_button == null: return
|
||||
theme_button.text = "☀" if theme_service.is_dark_mode() else "☾"
|
||||
Brand.set_theme_toggle_icon(theme_button, theme_service.is_dark_mode())
|
||||
theme_button.tooltip_text = "Switch to light mode" if theme_service.is_dark_mode() else "Switch to dark mode"
|
||||
Style.style_chip(theme_button, Style.CYAN)
|
||||
|
||||
Reference in New Issue
Block a user