Merge branch 'main' into panels

This commit is contained in:
Antonio Scandurra
2023-05-10 15:23:37 +02:00
16 changed files with 839 additions and 131 deletions
+20 -1
View File
@@ -26,6 +26,12 @@ export default function search(colorScheme: ColorScheme) {
},
}
const includeExcludeEditor = {
...editor,
minWidth: 100,
maxWidth: 250,
};
return {
// TODO: Add an activeMatchBackground on the rust side to differenciate between active and inactive
matchBackground: withOpacity(foreground(layer, "accent"), 0.4),
@@ -64,9 +70,16 @@ export default function search(colorScheme: ColorScheme) {
...editor,
border: border(layer, "negative"),
},
includeExcludeEditor,
invalidIncludeExcludeEditor: {
...includeExcludeEditor,
border: border(layer, "negative"),
},
matchIndex: {
...text(layer, "mono", "variant"),
padding: 6,
padding: {
left: 6,
},
},
optionButtonGroup: {
padding: {
@@ -74,6 +87,12 @@ export default function search(colorScheme: ColorScheme) {
right: 12,
},
},
includeExcludeInputs: {
...text(layer, "mono", "variant"),
padding: {
right: 6,
},
},
resultsStatus: {
...text(layer, "mono", "on"),
size: 18,