More colors

This commit is contained in:
Gregory Schier
2023-03-02 17:56:53 -08:00
parent f32b984e77
commit aaf95f565f
4 changed files with 52 additions and 6 deletions

View File

@@ -46,8 +46,8 @@ export const myHighlightStyle = HighlightStyle.define([
tag: [t.name, t.tagName, t.angleBracket, t.docString, t.number],
color: 'hsl(var(--color-blue-600))',
},
{ tag: [t.variableName], color: '#31c434' },
{ tag: [t.bool], color: '#e864f6' },
{ tag: [t.variableName], color: 'hsl(var(--color-green-600))' },
{ tag: [t.bool], color: 'hsl(var(--color-pink-600))' },
{ tag: [t.attributeName], color: 'hsl(var(--color-violet-600))' },
{ tag: [t.attributeValue], color: 'hsl(var(--color-orange-600))' },
{ tag: [t.string], color: 'hsl(var(--color-yellow-600))' },

View File

@@ -2,8 +2,8 @@ import { styleTags, tags as t } from '@lezer/highlight';
export const highlight = styleTags({
Protocol: t.comment,
Port: t.attributeName,
Host: t.variableName,
Path: t.bool,
Query: t.string,
// Port: t.attributeName,
// Host: t.variableName,
// Path: t.bool,
// Query: t.string,
});