From d161aa98a03895e733f9ceee27142b01c2c90d9e Mon Sep 17 00:00:00 2001
From: Elio Struyf
Date: Tue, 26 Apr 2022 12:05:08 +0200
Subject: [PATCH] Updates for button colors
---
assets/media/styles.css | 5 +++++
.../components/ContentType/ContentTypeValidator.tsx | 4 ++--
src/panelWebView/styles.css | 2 +-
3 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/assets/media/styles.css b/assets/media/styles.css
index b349f165..acd7388f 100644
--- a/assets/media/styles.css
+++ b/assets/media/styles.css
@@ -355,6 +355,11 @@
color: var(--vscode-button-secondaryForeground);
}
+.ext_link_block a:hover,
+.ext_link_block button:hover {
+ background-color: var(--vscode-button-secondaryHoverBackground);
+}
+
.table__cell {
overflow: hidden;
}
diff --git a/src/panelWebView/components/ContentType/ContentTypeValidator.tsx b/src/panelWebView/components/ContentType/ContentTypeValidator.tsx
index b50c758a..f084a9bf 100644
--- a/src/panelWebView/components/ContentType/ContentTypeValidator.tsx
+++ b/src/panelWebView/components/ContentType/ContentTypeValidator.tsx
@@ -58,10 +58,10 @@ export const ContentTypeValidator: React.FunctionComponentWe noticed field differences between the content type and the front matter data.
- Would you like to generate or update the content type for this page?
+ Would you like to create, update, or set the content type for this content?
- Generate content type
+ Create content type
Add missing fields
diff --git a/src/panelWebView/styles.css b/src/panelWebView/styles.css
index 29383c63..ba088adc 100644
--- a/src/panelWebView/styles.css
+++ b/src/panelWebView/styles.css
@@ -277,7 +277,7 @@ vscode-divider {
}
.inline_hint {
- color: var(--vscode-editorInlayHint-foreground);
+ color: var(--vscode-sideBar-foreground);
}
/* File field */