WIP
This commit is contained in:
@@ -11,15 +11,15 @@ export default function contextMenu(colorScheme: ColorScheme) {
|
|||||||
let layer = elevation.bottom;
|
let layer = elevation.bottom;
|
||||||
return {
|
return {
|
||||||
background: background(layer),
|
background: background(layer),
|
||||||
cornerRadius: 6,
|
cornerRadius: 10,
|
||||||
padding: 6,
|
padding: 4,
|
||||||
shadow: elevation.shadow,
|
shadow: elevation.shadow,
|
||||||
border: border(layer),
|
border: border(layer),
|
||||||
keystrokeMargin: 30,
|
keystrokeMargin: 30,
|
||||||
item: {
|
item: {
|
||||||
iconSpacing: 8,
|
iconSpacing: 8,
|
||||||
iconWidth: 14,
|
iconWidth: 14,
|
||||||
padding: { left: 4, right: 4, top: 2, bottom: 2 },
|
padding: { left: 6, right: 6, top: 2, bottom: 2 },
|
||||||
cornerRadius: 6,
|
cornerRadius: 6,
|
||||||
label: text(layer, "sans", { size: "sm" }),
|
label: text(layer, "sans", { size: "sm" }),
|
||||||
keystroke: {
|
keystroke: {
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ export default function statusBar(colorScheme: ColorScheme) {
|
|||||||
iconSpacing: 2,
|
iconSpacing: 2,
|
||||||
summarySpacing: 6,
|
summarySpacing: 6,
|
||||||
text: text(layer, "sans", { size: "sm" }),
|
text: text(layer, "sans", { size: "sm" }),
|
||||||
iconColorOk: foreground(layer, "positive"),
|
iconColorOk: foreground(layer, "variant"),
|
||||||
iconColorWarning: foreground(layer, "warning"),
|
iconColorWarning: foreground(layer, "warning"),
|
||||||
iconColorError: foreground(layer, "negative"),
|
iconColorError: foreground(layer, "negative"),
|
||||||
containerOk: {
|
containerOk: {
|
||||||
|
|||||||
@@ -34,4 +34,4 @@ const ramps = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const dark = createColorScheme(`${name}-dark`, false, ramps);
|
export const dark = createColorScheme(`${name}-dark`, false, ramps);
|
||||||
export const light = createColorScheme(`${name}-light`, true, ramps);
|
export const light = createColorScheme(`${name}-light`, true, ramps);
|
||||||
Reference in New Issue
Block a user