mirror of https://github.com/qarmin/czkawka
pull/1102/head
parent
f128dd6a88
commit
230ac9d6c7
@ -0,0 +1,20 @@
|
||||
# NAME_TODO
|
||||
|
||||
NAME_TODO is new Czkawka frontend written in Slint(written mostly in Rust) in opposite to Gtk 4 frontend which uses mostly C code.
|
||||
|
||||
Different
|
||||
|
||||
## Requirements
|
||||
Slint version of app should not have any special runtime requirements - it should work on almost any OpenGL 3 capable device.
|
||||
|
||||
Alternatively, it can be run with software rendering.
|
||||
|
||||
## Compilation
|
||||
Default compilation is done by `cargo build --release`.
|
||||
|
||||
All dependencies should be handled by cargo, except windows where you need to install m.
|
||||
|
||||
The only exception is building skia frontend, that require
|
||||
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
import { StyleMetrics } from "std-widgets.slint";
|
||||
|
||||
export global ColorPalette {
|
||||
// Tabs at left side
|
||||
in-out property<color> tab_selected_color: NativeStyleMetrics.dark-color-scheme ? red : blue;
|
||||
in-out property<color> tab_hovered_color: NativeStyleMetrics.dark-color-scheme ? green : yellow;
|
||||
in-out property<color> tab_selected_color: StyleMetrics.dark-color-scheme ? red : blue;
|
||||
in-out property<color> tab_hovered_color: StyleMetrics.dark-color-scheme ? green : yellow;
|
||||
|
||||
// ListView
|
||||
in-out property<color> list_view_normal_color: StyleMetrics.dark-color-scheme ? #474747 : #dddddd;
|
||||
in-out property<color> list_view_normal_header_color: StyleMetrics.dark-color-scheme ? #292929 : #888888;
|
||||
in-out property<color> list_view_normal_selected_header: StyleMetrics.dark-color-scheme ? #575757 : #cccccc;
|
||||
}
|
Loading…
Reference in New Issue