From dfcdde14bf35174c15b4bf961c21c5ea82f6a904 Mon Sep 17 00:00:00 2001
From: Daniel Zhang <30360288+DanielHZhang@users.noreply.github.com>
Date: Fri, 28 Jul 2023 23:26:48 -0400
Subject: [PATCH] Add color for xml tag
---
src/theme.tsx | 5 +++--
themes/fullmetal-color-theme.json | 2 ++
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/theme.tsx b/src/theme.tsx
index 67d8f4d..50ea870 100644
--- a/src/theme.tsx
+++ b/src/theme.tsx
@@ -1,7 +1,7 @@
import fs from 'fs';
import path from 'path';
-import type { ColorTheme } from './types';
-import { opacity, specificity } from './utils';
+import type {ColorTheme} from './types';
+import {opacity, specificity} from './utils';
// Unused colors:
// '#fe5c57',
@@ -580,6 +580,7 @@ const theme: ColorTheme = {
'punctuation.definition.metadata', // [link](url) (markdown)
'punctuation.definition.tag.begin', //
(jsx)
+ 'punctuation.definition.tag.xml', // (xml)
'punctuation.definition.typeparameters', // Record (ts)
'punctuation.definition.table.inline', // {} (toml)
'punctuation.section.array.shell', // [] (shell)
diff --git a/themes/fullmetal-color-theme.json b/themes/fullmetal-color-theme.json
index afff56b..e338964 100644
--- a/themes/fullmetal-color-theme.json
+++ b/themes/fullmetal-color-theme.json
@@ -298,6 +298,7 @@
"keyword.operator.definiteassignment",
"keyword.operator.hcl",
"keyword.operator.logical",
+ "keyword.operator.optional.ts",
"keyword.operator.question",
"keyword.operator.relational",
"keyword.operator.ternary",
@@ -478,6 +479,7 @@
"punctuation.definition.metadata",
"punctuation.definition.tag.begin",
"punctuation.definition.tag.end",
+ "punctuation.definition.tag.xml",
"punctuation.definition.typeparameters",
"punctuation.definition.table.inline",
"punctuation.section.array.shell"