Skip to content

Commit

Permalink
Add color for xml tag
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielHZhang committed Jul 29, 2023
1 parent 930554f commit dfcdde1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/theme.tsx
Original file line number Diff line number Diff line change
@@ -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',
Expand Down Expand Up @@ -580,6 +580,7 @@ const theme: ColorTheme = {
'punctuation.definition.metadata', // [link](url) (markdown)
'punctuation.definition.tag.begin', // <div (jsx)
'punctuation.definition.tag.end', // div> (jsx)
'punctuation.definition.tag.xml', // <el> (xml)
'punctuation.definition.typeparameters', // Record<string, any> (ts)
'punctuation.definition.table.inline', // {} (toml)
'punctuation.section.array.shell', // [] (shell)
Expand Down
2 changes: 2 additions & 0 deletions themes/fullmetal-color-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit dfcdde1

Please sign in to comment.