Implement a button for submitting feedback

Co-Authored-By: Kay Simmons <3323631+Kethku@users.noreply.github.com>
This commit is contained in:
Joseph Lyons
2023-02-06 17:41:36 -05:00
co-authored by Kay Simmons
parent 9742bd7fd4
commit d4d9a142fc
5 changed files with 132 additions and 17 deletions
+7
View File
@@ -36,6 +36,7 @@ pub struct Theme {
pub incoming_call_notification: IncomingCallNotification,
pub tooltip: TooltipStyle,
pub terminal: TerminalStyle,
pub feedback: FeedbackStyle,
pub color_scheme: ColorScheme,
}
@@ -806,6 +807,12 @@ pub struct TerminalStyle {
pub dim_foreground: Color,
}
#[derive(Clone, Deserialize, Default)]
pub struct FeedbackStyle {
pub submit_button: Interactive<ContainedText>,
pub button_margin: f32,
}
#[derive(Clone, Deserialize, Default)]
pub struct ColorScheme {
pub name: String,