mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-29 12:38:02 +00:00
Remove border from assistant message header
Also: Increase right margin on token count to space it from the scrollbar. Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
This commit is contained in:
parent
83fc7b9b7c
commit
7efcd60608
1 changed files with 2 additions and 3 deletions
|
@ -11,7 +11,6 @@ export default function assistant(colorScheme: ColorScheme) {
|
||||||
padding: { left: 12 },
|
padding: { left: 12 },
|
||||||
},
|
},
|
||||||
messageHeader: {
|
messageHeader: {
|
||||||
border: border(layer, "default", { bottom: true, top: true }),
|
|
||||||
margin: { bottom: 6, top: 6 },
|
margin: { bottom: 6, top: 6 },
|
||||||
background: editor(colorScheme).background,
|
background: editor(colorScheme).background,
|
||||||
},
|
},
|
||||||
|
@ -238,14 +237,14 @@ export default function assistant(colorScheme: ColorScheme) {
|
||||||
}),
|
}),
|
||||||
remainingTokens: {
|
remainingTokens: {
|
||||||
background: background(layer, "on"),
|
background: background(layer, "on"),
|
||||||
margin: { top: 12, right: 12 },
|
margin: { top: 12, right: 24 },
|
||||||
padding: 4,
|
padding: 4,
|
||||||
cornerRadius: 4,
|
cornerRadius: 4,
|
||||||
...text(layer, "sans", "positive", { size: "xs" }),
|
...text(layer, "sans", "positive", { size: "xs" }),
|
||||||
},
|
},
|
||||||
noRemainingTokens: {
|
noRemainingTokens: {
|
||||||
background: background(layer, "on"),
|
background: background(layer, "on"),
|
||||||
margin: { top: 12, right: 12 },
|
margin: { top: 12, right: 24 },
|
||||||
padding: 4,
|
padding: 4,
|
||||||
cornerRadius: 4,
|
cornerRadius: 4,
|
||||||
...text(layer, "sans", "negative", { size: "xs" }),
|
...text(layer, "sans", "negative", { size: "xs" }),
|
||||||
|
|
Loading…
Reference in a new issue