use bevy_color::{
palettes::tailwind::{SKY_300, SKY_400, SLATE_700},
Color,
};
use bevy_ecs::component::Component;
#[derive(Component, Clone, Copy, Debug, PartialEq)]
pub struct TextCursorStyle {
pub color: Color,
pub selection_color: Color,
pub unfocused_selection_color: Color,
pub selected_text_color: Option<Color>,
}
impl Default for TextCursorStyle {
fn default() -> Self {
Self {
color: Color::from(SLATE_700),
selection_color: Color::from(SKY_300),
unfocused_selection_color: Color::from(SKY_400),
selected_text_color: None,
}
}
}