mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-08-08 01:42:58 +02:00
Added status and date field classes
This commit is contained in:
@@ -30,7 +30,7 @@ export const DateField: React.FunctionComponent<IDateFieldProps> = ({
|
||||
}
|
||||
|
||||
return (
|
||||
<span className={`${className || ''} text-xs ${getColors(`text-vulcan-100 dark:text-whisper-900`, `text-[var(--vscode-editor-foreground)]`)}`}>
|
||||
<span className={`date__field ${className || ''} text-xs ${getColors(`text-vulcan-100 dark:text-whisper-900`, `text-[var(--vscode-editor-foreground)]`)}`}>
|
||||
{dateValue}
|
||||
</span>
|
||||
);
|
||||
|
||||
@@ -42,7 +42,7 @@ export const Status: React.FunctionComponent<IStatusProps> = ({
|
||||
|
||||
return (
|
||||
<span
|
||||
className={`
|
||||
className={`draft__status
|
||||
inline-block px-2 py-1 leading-none rounded-sm font-semibold uppercase tracking-wide text-xs
|
||||
${getColors(`text-whisper-200 dark:text-vulcan-500`, ``)}
|
||||
${draftValue ?
|
||||
|
||||
Reference in New Issue
Block a user