1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
use crate::ui::*;
use lazy_static::lazy_static;
use rand::seq::SliceRandom;
use ratatui::style::Color;

#[derive(Clone)]
pub struct ColoredMessage {
    pub text: String,
    pub color: Color,
}

lazy_static! {
    static ref WAITING_MESSAGES: Vec<ColoredMessage> = vec![
        ColoredMessage {
            text: "๐Ÿ”ฎ Consulting the cosmic commit oracle...".to_string(),
            color: NEBULA_PURPLE
        },
        ColoredMessage {
            text: "๐ŸŒŒ Aligning the celestial code spheres...".to_string(),
            color: CELESTIAL_BLUE
        },
        ColoredMessage {
            text: "๐Ÿ‘ป Channeling the spirit of clean commits...".to_string(),
            color: AURORA_GREEN
        },
        ColoredMessage {
            text: "๐Ÿš€ Launching commit ideas into the coding cosmos...".to_string(),
            color: METEOR_RED
        },
        ColoredMessage {
            text: "๐ŸŒ  Exploring the galaxy of potential messages...".to_string(),
            color: PLASMA_CYAN
        },
        ColoredMessage {
            text: "๐Ÿ”ญ Peering into the commit-verse for inspiration...".to_string(),
            color: SOLAR_YELLOW
        },
        ColoredMessage {
            text: "๐Ÿง™ Casting a spell for the perfect commit message...".to_string(),
            color: GALAXY_PINK
        },
        ColoredMessage {
            text: "โœจ Harnessing the power of a thousand code stars...".to_string(),
            color: STARLIGHT
        },
        ColoredMessage {
            text: "๐Ÿช Orbiting the planet of precise git descriptions...".to_string(),
            color: CELESTIAL_BLUE
        },
        ColoredMessage {
            text: "๐ŸŽจ Weaving a tapestry of colorful commit prose...".to_string(),
            color: PLASMA_CYAN
        },
        ColoredMessage {
            text: "๐ŸŽ‡ Igniting the fireworks of code brilliance...".to_string(),
            color: COMET_ORANGE
        },
        ColoredMessage {
            text: "๐Ÿง  Syncing with the collective coding consciousness...".to_string(),
            color: AURORA_GREEN
        },
        ColoredMessage {
            text: "๐ŸŒ™ Aligning the moon phases for optimal commit clarity...".to_string(),
            color: STARLIGHT
        },
        ColoredMessage {
            text: "๐Ÿ”ฌ Analyzing code particles at the quantum level...".to_string(),
            color: NEBULA_PURPLE
        },
        ColoredMessage {
            text: "๐Ÿงฌ Decoding the DNA of your changes...".to_string(),
            color: GALAXY_PINK
        },
        ColoredMessage {
            text: "๐Ÿบ Summoning the ancient spirits of version control...".to_string(),
            color: METEOR_RED
        },
        ColoredMessage {
            text: "๐Ÿ“ก Tuning into the frequency of flawless commits...".to_string(),
            color: CELESTIAL_BLUE
        },
        ColoredMessage {
            text: "๐Ÿ’Ž Charging the commit crystals with cosmic energy...".to_string(),
            color: PLASMA_CYAN
        },
        ColoredMessage {
            text: "๐ŸŒ Translating your changes into universal code...".to_string(),
            color: AURORA_GREEN
        },
        ColoredMessage {
            text: "๐Ÿงช Distilling the essence of your modifications...".to_string(),
            color: SOLAR_YELLOW
        },
        ColoredMessage {
            text: "๐Ÿ•ธ๏ธ Unraveling the threads of your code tapestry...".to_string(),
            color: NEBULA_PURPLE
        },
        ColoredMessage {
            text: "๐Ÿฆ‰ Consulting the all-knowing git guardians...".to_string(),
            color: CELESTIAL_BLUE
        },
        ColoredMessage {
            text: "๐ŸŽต Harmonizing with the rhythms of the coding universe...".to_string(),
            color: GALAXY_PINK
        },
        ColoredMessage {
            text: "๐ŸŒŠ Diving into the depths of the code ocean...".to_string(),
            color: PLASMA_CYAN
        },
        ColoredMessage {
            text: "๐Ÿง“ Seeking wisdom from the repository sages...".to_string(),
            color: AURORA_GREEN
        },
        ColoredMessage {
            text: "๐Ÿงญ Calibrating the commit compass for true north...".to_string(),
            color: SOLAR_YELLOW
        },
        ColoredMessage {
            text: "๐Ÿ” Unlocking the secrets of the commit constellations...".to_string(),
            color: NEBULA_PURPLE
        },
        ColoredMessage {
            text: "โญ Gathering stardust for your stellar commit...".to_string(),
            color: STARLIGHT
        },
        ColoredMessage {
            text: "๐Ÿ”Ž Focusing the lens of the code telescope...".to_string(),
            color: CELESTIAL_BLUE
        },
        ColoredMessage {
            text: "๐Ÿ„ Riding the waves of inspiration through the code cosmos...".to_string(),
            color: PLASMA_CYAN
        },
    ];

    static ref USER_MESSAGES: Vec<ColoredMessage> = vec![
        ColoredMessage {
            text: "๐Ÿš€ Launching commit rocket".to_string(),
            color: METEOR_RED
        },
        ColoredMessage {
            text: "๐ŸŒŸ Illuminating code cosmos".to_string(),
            color: STARLIGHT
        },
        ColoredMessage {
            text: "๐Ÿ”ญ Observing code constellations".to_string(),
            color: CELESTIAL_BLUE
        },
        ColoredMessage {
            text: "๐Ÿง™โ€โ™‚๏ธ Weaving code enchantments".to_string(),
            color: GALAXY_PINK
        },
        ColoredMessage {
            text: "โš›๏ธ Splitting code atoms".to_string(),
            color: PLASMA_CYAN
        },
        ColoredMessage {
            text: "๐ŸŒˆ Painting commit rainbows".to_string(),
            color: AURORA_GREEN
        },
        ColoredMessage {
            text: "๐Ÿ”‘ Unlocking git portals".to_string(),
            color: SOLAR_YELLOW
        },
        ColoredMessage {
            text: "๐ŸŽญ Staging code drama".to_string(),
            color: COMET_ORANGE
        },
        ColoredMessage {
            text: "๐ŸŒŒ Expanding code universe".to_string(),
            color: NEBULA_PURPLE
        },
        ColoredMessage {
            text: "๐Ÿน Aiming commit arrows".to_string(),
            color: METEOR_RED
        },
        ColoredMessage {
            text: "๐ŸŽจ Brushing commit strokes".to_string(),
            color: PLASMA_CYAN
        },
        ColoredMessage {
            text: "๐ŸŒฑ Growing code forests".to_string(),
            color: AURORA_GREEN
        },
        ColoredMessage {
            text: "๐Ÿงฉ Assembling code puzzle".to_string(),
            color: GALAXY_PINK
        },
        ColoredMessage {
            text: "๐ŸŽถ Orchestrating commit symphony".to_string(),
            color: CELESTIAL_BLUE
        },
        ColoredMessage {
            text: "โš–๏ธ Balancing code forces".to_string(),
            color: SOLAR_YELLOW
        },
    ];
}

pub fn get_waiting_message() -> ColoredMessage {
    WAITING_MESSAGES
        .choose(&mut rand::thread_rng())
        .unwrap()
        .clone()
}

pub fn get_user_message() -> ColoredMessage {
    USER_MESSAGES
        .choose(&mut rand::thread_rng())
        .unwrap()
        .clone()
}