alma 0.1.0

A Bevy-native modal text editor with Vim-style navigation.
Documentation
//! Shared scene colors.

use bevy::prelude::Color;

/// Returns the shared text color for the scene.
pub const fn scene_text_color() -> Color {
    Color::srgb(0.610_009_9, 0.759_212_6, 0.763_073_15)
}

/// Returns the cursor cell background color.
pub const fn cursor_color() -> Color {
    Color::srgb(0.954_751_13, 0.293_346_46, 0.0)
}

/// Returns the visual selection cell background color.
pub const fn selection_color() -> Color {
    Color::srgb(0.049_706_57, 0.355_832_28, 0.392_785_07)
}

/// Returns the search match cell background color.
pub const fn search_match_color() -> Color {
    Color::srgb(0.38, 0.30, 0.04)
}

/// Returns the text color used for the character under the cursor.
pub const fn cursor_text_color() -> Color {
    Color::srgb(0.0, 0.155_759_26, 0.193_701_39)
}