Improve the appearance of project panel filename editor
* Always layout single-line editors with a fixed height * Preserve directory chevron when editing folder names * Allow theming the filename editor Co-authored-by: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
co-authored by
Antonio Scandurra
parent
333b4aaf4e
commit
8fdc5c9be3
@@ -331,7 +331,8 @@
|
||||
"context": "ProjectPanel",
|
||||
"bindings": {
|
||||
"left": "project_panel::CollapseSelectedEntry",
|
||||
"right": "project_panel::ExpandSelectedEntry"
|
||||
"right": "project_panel::ExpandSelectedEntry",
|
||||
"f2": "project_panel::Rename"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -972,6 +972,18 @@
|
||||
"size": 14
|
||||
}
|
||||
}
|
||||
},
|
||||
"filename_editor": {
|
||||
"background": "#26232a5c",
|
||||
"text": {
|
||||
"family": "Zed Mono",
|
||||
"color": "#e2dfe7",
|
||||
"size": 14
|
||||
},
|
||||
"selection": {
|
||||
"cursor": "#576ddb",
|
||||
"selection": "#576ddb3d"
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_panel": {
|
||||
|
||||
@@ -972,6 +972,18 @@
|
||||
"size": 14
|
||||
}
|
||||
}
|
||||
},
|
||||
"filename_editor": {
|
||||
"background": "#e2dfe72e",
|
||||
"text": {
|
||||
"family": "Zed Mono",
|
||||
"color": "#26232a",
|
||||
"size": 14
|
||||
},
|
||||
"selection": {
|
||||
"cursor": "#576ddb",
|
||||
"selection": "#576ddb3d"
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_panel": {
|
||||
|
||||
@@ -972,6 +972,18 @@
|
||||
"size": 14
|
||||
}
|
||||
}
|
||||
},
|
||||
"filename_editor": {
|
||||
"background": "#ffffff1f",
|
||||
"text": {
|
||||
"family": "Zed Mono",
|
||||
"color": "#f1f1f1",
|
||||
"size": 14
|
||||
},
|
||||
"selection": {
|
||||
"cursor": "#2472f2",
|
||||
"selection": "#2472f23d"
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_panel": {
|
||||
|
||||
@@ -972,6 +972,18 @@
|
||||
"size": 14
|
||||
}
|
||||
}
|
||||
},
|
||||
"filename_editor": {
|
||||
"background": "#0000000f",
|
||||
"text": {
|
||||
"family": "Zed Mono",
|
||||
"color": "#2b2b2b",
|
||||
"size": 14
|
||||
},
|
||||
"selection": {
|
||||
"cursor": "#2472f2",
|
||||
"selection": "#2472f23d"
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_panel": {
|
||||
|
||||
@@ -972,6 +972,18 @@
|
||||
"size": 14
|
||||
}
|
||||
}
|
||||
},
|
||||
"filename_editor": {
|
||||
"background": "#0736425c",
|
||||
"text": {
|
||||
"family": "Zed Mono",
|
||||
"color": "#eee8d5",
|
||||
"size": 14
|
||||
},
|
||||
"selection": {
|
||||
"cursor": "#268bd2",
|
||||
"selection": "#268bd23d"
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_panel": {
|
||||
|
||||
@@ -972,6 +972,18 @@
|
||||
"size": 14
|
||||
}
|
||||
}
|
||||
},
|
||||
"filename_editor": {
|
||||
"background": "#eee8d52e",
|
||||
"text": {
|
||||
"family": "Zed Mono",
|
||||
"color": "#073642",
|
||||
"size": 14
|
||||
},
|
||||
"selection": {
|
||||
"cursor": "#268bd2",
|
||||
"selection": "#268bd23d"
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_panel": {
|
||||
|
||||
@@ -972,6 +972,18 @@
|
||||
"size": 14
|
||||
}
|
||||
}
|
||||
},
|
||||
"filename_editor": {
|
||||
"background": "#2932565c",
|
||||
"text": {
|
||||
"family": "Zed Mono",
|
||||
"color": "#dfe2f1",
|
||||
"size": 14
|
||||
},
|
||||
"selection": {
|
||||
"cursor": "#3d8fd1",
|
||||
"selection": "#3d8fd13d"
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_panel": {
|
||||
|
||||
@@ -972,6 +972,18 @@
|
||||
"size": 14
|
||||
}
|
||||
}
|
||||
},
|
||||
"filename_editor": {
|
||||
"background": "#dfe2f12e",
|
||||
"text": {
|
||||
"family": "Zed Mono",
|
||||
"color": "#293256",
|
||||
"size": 14
|
||||
},
|
||||
"selection": {
|
||||
"cursor": "#3d8fd1",
|
||||
"selection": "#3d8fd13d"
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_panel": {
|
||||
|
||||
Reference in New Issue
Block a user