settings_ui: Add theme settings controls (#15115)

This PR adds settings controls for the theme settings.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-07-24 16:25:52 -04:00 committed by GitHub
parent 325e6b9fef
commit 740c444089
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 392 additions and 156 deletions

View file

@ -1,4 +1,4 @@
mod theme_settings_controls;
mod appearance_settings_controls;
use std::any::TypeId;
@ -10,7 +10,7 @@ use ui::prelude::*;
use workspace::item::{Item, ItemEvent};
use workspace::Workspace;
use crate::theme_settings_controls::ThemeSettingsControls;
use crate::appearance_settings_controls::AppearanceSettingsControls;
pub struct SettingsUiFeatureFlag;
@ -110,7 +110,7 @@ impl Render for SettingsPage {
v_flex()
.gap_1()
.child(Label::new("Appearance"))
.child(ThemeSettingsControls::new()),
.child(AppearanceSettingsControls::new()),
)
.child(
v_flex()