diff --git a/qml/ClideEditor.qml b/qml/ClideEditor.qml index bde3318..fc89e6e 100644 --- a/qml/ClideEditor.qml +++ b/qml/ClideEditor.qml @@ -63,7 +63,7 @@ SplitView { Label { id: numbers - color: "white" + color: RustColors.linenumber font: textArea.font height: parent.height horizontalAlignment: Text.AlignLeft diff --git a/qml/ClideTreeView.qml b/qml/ClideTreeView.qml index eeb05aa..4f62089 100644 --- a/qml/ClideTreeView.qml +++ b/qml/ClideTreeView.qml @@ -6,13 +6,13 @@ import clide.module 1.0 Rectangle { id: root + color: RustColors.explorer_background signal fileClicked(string filePath) - color: RustColors.explorer_background - TreeView { id: fileSystemTreeView + anchors.margins: 15 // rootIndex: FileSystem.rootIndex property int lastIndex: -1 diff --git a/src/colors.rs b/src/colors.rs index cc10722..815630e 100644 --- a/src/colors.rs +++ b/src/colors.rs @@ -73,7 +73,7 @@ impl Default for RustColorsImpl { scrollbar: QColor::try_from("#4b4f51").unwrap(), scrollbar_active: QColor::try_from("#4b4f51").unwrap(), scrollbar_gutter: QColor::try_from("#3b3b3b").unwrap(), - linenumber: QColor::try_from("#FFF").unwrap(), + linenumber: QColor::try_from("#94989b").unwrap(), active: QColor::try_from("#a9acb0").unwrap(), inactive: QColor::try_from("#FFF").unwrap(), editor_background: QColor::try_from("#2b2b2b").unwrap(), @@ -85,7 +85,7 @@ impl Default for RustColorsImpl { explorer_text: QColor::try_from("#3b3b3b").unwrap(), explorer_text_selected: QColor::try_from("#8b8b8b").unwrap(), explorer_background: QColor::try_from("#676c70").unwrap(), - explorer_folder: QColor::try_from("#FFF").unwrap(), + explorer_folder: QColor::try_from("#54585b").unwrap(), explorer_folder_open: QColor::try_from("#FFF").unwrap(), } }