Minor style tweaks

This commit is contained in:
Gregory Schier
2023-03-02 16:16:41 -08:00
parent 016adbcb30
commit a7488b389d
21 changed files with 11 additions and 9 deletions

View File

@@ -21,8 +21,8 @@
}
.cm-editor .placeholder-widget {
@apply text-xs text-white bg-blue-400 py-[1px] px-1 mx-[1px] rounded border border-gray-50 cursor-pointer;
text-shadow: 0 0 0.2em black;
@apply text-xs text-white bg-blue-400 py-[1px] px-1 mx-[1px] rounded cursor-default hover:bg-blue-500;
text-shadow: 0 0 1px rgba(0, 0, 0, 0.9);
}
.cm-editor .cm-scroller {

View File

@@ -44,13 +44,13 @@ export const myHighlightStyle = HighlightStyle.define([
},
{
tag: [t.name, t.tagName, t.angleBracket, t.docString, t.number],
color: 'hsl(var(--color-blue-500))',
color: 'hsl(var(--color-blue-600))',
},
{ tag: [t.variableName], color: '#31c434' },
{ tag: [t.bool], color: '#e864f6' },
{ tag: [t.attributeName], color: 'hsl(var(--color-violet-500))' },
{ tag: [t.attributeValue], color: 'hsl(var(--color-orange-500))' },
{ tag: [t.string], color: 'hsl(var(--color-yellow-500))' },
{ 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))' },
{ tag: [t.keyword, t.meta, t.operator], color: '#45e8a4' },
]);