diff --git a/crates/feedback/src/feedback_editor.rs b/crates/feedback/src/feedback_editor.rs index ae8ccc91512fcb8c16980a3bbb8ef4e3b4d5f483..7681b160e9be4bd2b56233a8b4801111e2e31e70 100644 --- a/crates/feedback/src/feedback_editor.rs +++ b/crates/feedback/src/feedback_editor.rs @@ -534,16 +534,12 @@ impl View for FeedbackInfoText { fn render(&mut self, cx: &mut RenderContext) -> ElementBox { let theme = cx.global::().theme.clone(); let text = "We read whatever you submit here. For issues and discussions, visit the community repo on GitHub."; - Label::new( - theme.workspace.titlebar.outdated_warning.text.clone(), - text.to_string(), - ) - .contained() - .with_style(theme.workspace.titlebar.outdated_warning.container) - .aligned() - .left() - .clipped() - .boxed() + Label::new(text.to_string(), theme.feedback.info_text.text.clone()) + .contained() + .aligned() + .left() + .clipped() + .boxed() } } diff --git a/crates/theme/src/theme.rs b/crates/theme/src/theme.rs index b8ec3e0329fe8c720683bfcfe1addd29cacc86f0..bc338bbe269369f29fdea1d5794d30c172d2e316 100644 --- a/crates/theme/src/theme.rs +++ b/crates/theme/src/theme.rs @@ -811,6 +811,7 @@ pub struct TerminalStyle { pub struct FeedbackStyle { pub submit_button: Interactive, pub button_margin: f32, + pub info_text: ContainedText, } #[derive(Clone, Deserialize, Default)] diff --git a/styles/src/styleTree/feedback.ts b/styles/src/styleTree/feedback.ts index eb0f61ecfd464bc9b1ded51e70df9e736fd38dd6..46cb867ad90613325ea2cfa76800d7761a64f080 100644 --- a/styles/src/styleTree/feedback.ts +++ b/styles/src/styleTree/feedback.ts @@ -5,7 +5,6 @@ import { background, border, text } from "./components"; export default function feedback(colorScheme: ColorScheme) { let layer = colorScheme.highest; - // Currently feedback only needs style for the submit feedback button return { submit_button: { ...text(layer, "mono", "on"), @@ -32,6 +31,7 @@ export default function feedback(colorScheme: ColorScheme) { border: border(layer, "on", "hovered"), }, }, - button_margin: 8 + button_margin: 8, + info_text: text(layer, "sans", "default", { size: "xs" }), }; }