mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-16 23:08:05 +08:00
Revamp UI styling to remove accent color; improve tab navigation
This commit is contained in:
@@ -11,6 +11,8 @@ use serde::{Deserialize, Serialize};
|
||||
pub struct CheckboxInput {
|
||||
pub checked: bool,
|
||||
|
||||
pub disabled: bool,
|
||||
|
||||
pub icon: String,
|
||||
|
||||
pub tooltip: String,
|
||||
@@ -28,6 +30,7 @@ impl Default for CheckboxInput {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
checked: false,
|
||||
disabled: false,
|
||||
icon: "Checkmark".into(),
|
||||
tooltip: Default::default(),
|
||||
tooltip_shortcut: Default::default(),
|
||||
@@ -215,6 +218,8 @@ pub enum NumberInputIncrementBehavior {
|
||||
pub struct OptionalInput {
|
||||
pub checked: bool,
|
||||
|
||||
pub disabled: bool,
|
||||
|
||||
pub icon: String,
|
||||
|
||||
pub tooltip: String,
|
||||
|
||||
Reference in New Issue
Block a user