Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though
This commit is contained in:
@@ -4,11 +4,11 @@ use crate::slides::{bottom_nav, layout, slide_content};
|
||||
use crate::telemetry::OnboardingEvent;
|
||||
use crate::OnboardingIntention;
|
||||
use ui_components::{button, Component as _, Options as _};
|
||||
use warp_core::send_telemetry_from_ctx;
|
||||
use warp_core::ui::theme::Fill;
|
||||
use warp_core::ui::{appearance::Appearance, theme::color::internal_colors, Icon};
|
||||
use warpui::prelude::Align;
|
||||
use warpui::{
|
||||
use galaxy_core::send_telemetry_from_ctx;
|
||||
use galaxy_core::ui::theme::Fill;
|
||||
use galaxy_core::ui::{appearance::Appearance, theme::color::internal_colors, Icon};
|
||||
use galaxyui::prelude::Align;
|
||||
use galaxyui::{
|
||||
elements::{
|
||||
Border, ClippedScrollStateHandle, ConstrainedBox, Container, CornerRadius,
|
||||
CrossAxisAlignment, DropShadow, Flex, FormattedTextElement, Hoverable, MainAxisAlignment,
|
||||
@@ -162,7 +162,7 @@ impl FreeUserNoAiSlide {
|
||||
&self,
|
||||
appearance: &Appearance,
|
||||
text: String,
|
||||
text_color: warpui::color::ColorU,
|
||||
text_color: galaxyui::color::ColorU,
|
||||
border_color: Fill,
|
||||
) -> Box<dyn Element> {
|
||||
let label = appearance
|
||||
@@ -232,7 +232,7 @@ impl FreeUserNoAiSlide {
|
||||
);
|
||||
|
||||
Hoverable::new(mouse_state, move |_| {
|
||||
let icon_el = ConstrainedBox::new(icon.to_warpui_icon(text_fill).finish())
|
||||
let icon_el = ConstrainedBox::new(icon.to_galaxyui_icon(text_fill).finish())
|
||||
.with_width(20.)
|
||||
.with_height(20.)
|
||||
.finish();
|
||||
@@ -415,15 +415,15 @@ impl FreeUserNoAiSlide {
|
||||
.with_main_axis_alignment(MainAxisAlignment::Center)
|
||||
.with_cross_axis_alignment(CrossAxisAlignment::Center)
|
||||
.with_child(
|
||||
warpui::elements::Text::new_inline(
|
||||
galaxyui::elements::Text::new_inline(
|
||||
"Subscribe",
|
||||
appearance.ui_font_family(),
|
||||
14.,
|
||||
)
|
||||
.with_color(fg_color)
|
||||
.with_style(warpui::fonts::Properties {
|
||||
.with_style(galaxyui::fonts::Properties {
|
||||
weight: Weight::Semibold,
|
||||
style: warpui::fonts::Style::Normal,
|
||||
style: galaxyui::fonts::Style::Normal,
|
||||
})
|
||||
.with_selectable(false)
|
||||
.finish(),
|
||||
|
||||
Reference in New Issue
Block a user