Skip to content

Commit 849f225

Browse files
A-Lamiamehalter
authored andcommitted
feat(telescope): optimize colors
1 parent 2d3ed4f commit 849f225

File tree

1 file changed

+22
-12
lines changed

1 file changed

+22
-12
lines changed

lua/astrotheme/groups/plugins/telescope.lua

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,37 @@ local function callback()
33
----------------
44
--- Title
55
----------------
6-
TelescopeResultsTitle = { link = "FloatTitle" },
7-
TelescopePromptTitle = { link = "FloatTitle" },
8-
TelescopePreviewTitle = { link = "FloatTitle" },
6+
TelescopeTitle = { link = "FloatTitle" },
7+
TelescopeResultsTitle = { link = "TelescopeTitle" },
8+
TelescopePromptTitle = { link = "TelescopeTitle" },
9+
TelescopePreviewTitle = { link = "TelescopeTitle" },
10+
11+
----------------
12+
--- Normal
13+
----------------
14+
TelescopeNormal = { link = "NormalFloat" },
15+
TelescopePreviewNormal = { link = "TelescopeNormal" },
16+
TelescopePromptNormal = { link = "TelescopeNormal" },
17+
TelescopeResultsNormal = { link = "TelescopeNormal" },
918

1019
----------------
1120
--- Border
1221
----------------
13-
TelescopeResultsBorder = { link = "FloatBorder" },
14-
TelescopePromptBorder = { link = "FloatBorder" },
15-
TelescopePreviewBorder = { link = "FloatBorder" },
22+
TelescopeBorder = { link = "FloatBorder" },
23+
TelescopeResultsBorder = { link = "TelescopeBorder" },
24+
TelescopePromptBorder = { link = "TelescopeBorder" },
25+
TelescopePreviewBorder = { link = "TelescopeBorder" },
1626

27+
----------------
28+
--- Other
29+
----------------
30+
TelescopePromptPrefix = { fg = C.ui.accent },
1731
TelescopeSelectionCaret = { fg = C.ui.red },
1832
TelescopeMatching = { fg = C.ui.text_match },
19-
TelescopeSelection = { bg = C.ui.current_line },
33+
-- TelescopeSelection = { bg = C.ui.current_line },
34+
TelescopeSelection = { fg = C.ui.base, bg = C.ui.accent, bold = true },
2035
TelescopeMultiSelection = { fg = C.syntax.blue },
2136
TelescopeMultiIcon = { fg = C.ui.blue },
22-
23-
TelescopeNormal = { link = "NormalFloat" },
24-
TelescopePreviewNormal = { link = "NormalFloat" },
25-
TelescopePromptNormal = { link = "NormalFloat" },
26-
TelescopeResultsNormal = { link = "NormalFloat" },
2737
}
2838
end
2939

0 commit comments

Comments
 (0)