feat: unify theme system #7
@@ -368,6 +368,8 @@ impl Render for CommandPaletteState {
|
||||
.px_2()
|
||||
.py_1()
|
||||
.min_h(metrics.control_height)
|
||||
.text_size(metrics.text_size)
|
||||
.line_height(relative(1.0))
|
||||
.rounded(radius.sm)
|
||||
.when(highlighted, |row| row.bg(colors.muted))
|
||||
.when(!highlighted, |row| row.hover(|row| row.bg(colors.muted)))
|
||||
|
||||
Reference in New Issue
Block a user