mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-06-28 22:11:35 +02:00
#505 - Small theming fixes
This commit is contained in:
@@ -17,7 +17,7 @@ export const DataFormControls: React.FunctionComponent<IDataFormControlsProps> =
|
||||
const { getColors } = useThemeColors();
|
||||
|
||||
return (
|
||||
<div className={`text-right border-t ${getColors(`border-gray-200 dark:border-vulcan-300`, `border-[var(--frontmatter-border)]`)}`}>
|
||||
<div className={`text-right ${getColors(`border-gray-200 dark:border-vulcan-300`, `border-[var(--frontmatter-border)]`)}`}>
|
||||
<SubmitField value={model ? `Update` : `Add`} />
|
||||
|
||||
<Button
|
||||
|
||||
@@ -10,7 +10,7 @@ export const Container = SortableContainer(
|
||||
|
||||
return (
|
||||
<ul
|
||||
className={`-mx-4 divide-y border-t border-b ${getColors(`divide-gray-200 dark:divide-vulcan-300 border-gray-200 dark:border-vulcan-300`, `divide-[var(--frontmatter-list-border)] border-[var(--frontmatter-list-border)]`)
|
||||
className={`-mx-4 divide-y border-t border-b ${getColors(`divide-gray-200 dark:divide-vulcan-300 border-gray-200 dark:border-vulcan-300`, `divide-[var(--frontmatter-border)] border-[var(--frontmatter-border)]`)
|
||||
}`}
|
||||
>
|
||||
{children}
|
||||
|
||||
@@ -34,7 +34,7 @@ export const NavigationBar: React.FunctionComponent<INavigationBarProps> = ({
|
||||
)
|
||||
}`}
|
||||
>
|
||||
<div>{children}</div>
|
||||
{children}
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
||||
@@ -374,6 +374,7 @@
|
||||
input[type='submit'] {
|
||||
color: var(--vscode-button-foreground);
|
||||
background-color: var(--vscode-button-background);
|
||||
@apply rounded;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--vscode-button-hoverBackground);
|
||||
|
||||
Reference in New Issue
Block a user