WIP Allow applying domains to theme ramps

Co-Authored-By: Kay Simmons <3323631+Kethku@users.noreply.github.com>
This commit is contained in:
Nate Butler
2022-09-26 17:41:59 -04:00
co-authored by Kay Simmons
parent 506c28d2b6
commit 01570504ad
6 changed files with 152 additions and 147 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ export default function picker(colorScheme: ColorScheme) {
},
cornerRadius: 8,
text: text(layer, "sans"),
highlightText: text(layer, "sans", { weight: "bold" }),
highlightText: text(layer, "sans", "info", "active", { weight: "bold" }),
active: {
background: background(layer, "active"),
text: text(layer, "sans", "active"),
@@ -32,7 +32,7 @@ export default function picker(colorScheme: ColorScheme) {
},
border: border(layer),
empty: {
text: text(layer, "sans"),
text: text(layer, "sans", "variant"),
padding: {
bottom: 4,
left: 12,
+2 -2
View File
@@ -17,11 +17,11 @@ export default function projectPanel(colorScheme: ColorScheme) {
background: background(layer, "on", "hovered"),
},
active: {
background: background(layer, "info", "active"),
background: background(layer, "active"),
text: text(layer, "mono", "active", { size: "sm" }),
},
activeHover: {
background: background(layer, "info", "hovered"),
background: background(layer, "active"),
text: text(layer, "mono", "active", { size: "sm" }),
},
},
+6 -6
View File
@@ -24,9 +24,9 @@ export default function statusBar(colorScheme: ColorScheme) {
right: 6,
},
border: border(layer, { top: true, overlay: true }),
cursorPosition: text(layer, "sans"),
autoUpdateProgressMessage: text(layer, "sans"),
autoUpdateDoneMessage: text(layer, "sans"),
cursorPosition: text(layer, "sans", "variant"),
autoUpdateProgressMessage: text(layer, "sans", "variant"),
autoUpdateDoneMessage: text(layer, "sans", "variant"),
lspStatus: {
...diagnosticStatusContainer,
iconSpacing: 4,
@@ -45,11 +45,11 @@ export default function statusBar(colorScheme: ColorScheme) {
hover: text(layer, "sans", "hovered"),
},
feedback: {
...text(layer, "sans"),
hover: text(layer, "sans"),
...text(layer, "sans", "variant"),
hover: text(layer, "sans", "variant", "hovered"),
},
diagnosticSummary: {
height: 16,
height: 20,
iconWidth: 16,
iconSpacing: 2,
summarySpacing: 6,
+6 -6
View File
@@ -50,7 +50,7 @@ export default function workspace(colorScheme: ColorScheme) {
titlebar: {
avatarWidth: 18,
avatarMargin: 8,
height: 33,
height: 33, // 32px + 1px for overlaid border
background: background(layer),
padding: {
left: 80,
@@ -72,7 +72,8 @@ export default function workspace(colorScheme: ColorScheme) {
},
border: border(layer, { bottom: true, overlay: true }),
signInPrompt: {
background: background(layer, "on"),
...text(layer, "sans", { size: "xs" }),
background: background(layer),
border: border(layer, "on"),
cornerRadius: 6,
margin: {
@@ -84,11 +85,10 @@ export default function workspace(colorScheme: ColorScheme) {
left: 7,
right: 7,
},
...text(layer, "sans", { size: "xs" }),
hover: {
...text(layer, "sans", "on", "hovered", { size: "xs" }),
background: background(layer, "on", "hovered"),
border: border(layer, "on", "hovered"),
...text(layer, "sans", "hovered", { size: "xs" }),
background: background(layer, "hovered"),
border: border(layer, "hovered"),
},
},
offlineIcon: {