refactor: replace qualified path with use
This commit is contained in:
parent
477a658e1b
commit
333d5d890b
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ use iced::{
|
||||||
alignment::{Horizontal, Vertical},
|
alignment::{Horizontal, Vertical},
|
||||||
color, event,
|
color, event,
|
||||||
keyboard::{self, Key, key},
|
keyboard::{self, Key, key},
|
||||||
widget,
|
theme, widget,
|
||||||
};
|
};
|
||||||
|
|
||||||
mod data;
|
mod data;
|
||||||
|
|
@ -261,7 +261,7 @@ fn main() -> Result<(), iced::Error> {
|
||||||
.subscription(State::subscription)
|
.subscription(State::subscription)
|
||||||
.theme(Theme::custom(
|
.theme(Theme::custom(
|
||||||
"custom",
|
"custom",
|
||||||
iced::theme::Palette {
|
theme::Palette {
|
||||||
background: color!(0x080808),
|
background: color!(0x080808),
|
||||||
text: Color::WHITE,
|
text: Color::WHITE,
|
||||||
primary: color!(0xff00ff),
|
primary: color!(0xff00ff),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue