Update to use cosmic::theme::Theme
This commit is contained in:
parent
5cca5dd058
commit
ecf61a93b1
3 changed files with 24 additions and 18 deletions
|
|
@ -1,15 +1,14 @@
|
|||
// SPDX-License-Identifier: MIT OR Apache-2.0
|
||||
|
||||
use cosmic::{
|
||||
Element,
|
||||
iced::{
|
||||
self,
|
||||
Color,
|
||||
Alignment,
|
||||
Application,
|
||||
Command,
|
||||
Element,
|
||||
Length,
|
||||
Theme,
|
||||
widget::{
|
||||
column,
|
||||
horizontal_space,
|
||||
|
|
@ -18,6 +17,7 @@ use cosmic::{
|
|||
},
|
||||
},
|
||||
settings,
|
||||
theme::Theme,
|
||||
widget::{
|
||||
button,
|
||||
toggler,
|
||||
|
|
|
|||
|
|
@ -1,11 +1,14 @@
|
|||
// SPDX-License-Identifier: MIT OR Apache-2.0
|
||||
|
||||
use cosmic::iced_native::{
|
||||
{Color, Element, Length, Point, Rectangle, Size, Theme},
|
||||
image,
|
||||
layout::{self, Layout},
|
||||
renderer,
|
||||
widget::{self, tree, Widget},
|
||||
use cosmic::{
|
||||
iced_native::{
|
||||
{Color, Element, Length, Point, Rectangle, Size},
|
||||
image,
|
||||
layout::{self, Layout},
|
||||
renderer,
|
||||
widget::{self, tree, Widget},
|
||||
},
|
||||
theme::Theme,
|
||||
};
|
||||
use cosmic_text::{
|
||||
Attrs,
|
||||
|
|
|
|||
|
|
@ -1,15 +1,18 @@
|
|||
// SPDX-License-Identifier: MIT OR Apache-2.0
|
||||
|
||||
use cosmic::iced_native::{
|
||||
{Color, Element, Length, Point, Rectangle, Shell, Size, Theme},
|
||||
clipboard::Clipboard,
|
||||
event::{Event, Status},
|
||||
image,
|
||||
keyboard::{Event as KeyEvent, KeyCode},
|
||||
layout::{self, Layout},
|
||||
mouse::{self, Button, Event as MouseEvent, ScrollDelta},
|
||||
renderer,
|
||||
widget::{self, tree, Widget},
|
||||
use cosmic::{
|
||||
iced_native::{
|
||||
{Color, Element, Length, Point, Rectangle, Shell, Size},
|
||||
clipboard::Clipboard,
|
||||
event::{Event, Status},
|
||||
image,
|
||||
keyboard::{Event as KeyEvent, KeyCode},
|
||||
layout::{self, Layout},
|
||||
mouse::{self, Button, Event as MouseEvent, ScrollDelta},
|
||||
renderer,
|
||||
widget::{self, tree, Widget},
|
||||
},
|
||||
theme::Theme,
|
||||
};
|
||||
use cosmic_text::{
|
||||
Action,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue