Skip to content

Commit

Permalink
Use kebab-case for classes
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperengstrom committed Nov 14, 2024
1 parent 124e63e commit d812283
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions lxl-web/src/lib/styles/lxlquery.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@
color: green;
}

.lxlq.qualifierkey {
.lxlq.qualifier-key {
color: green;
}

.lxlq.qualifiervalue {
.lxlq.qualifier-value {
color: green;
}

.lxlq.equaloperator,
.lxlq.compareoperator {
.lxlq.equal-operator,
.lxlq.compare-operator {
color: darkolivegreen;
}

.lxlq.booleanoperator {
.lxlq.boolean-operator {
color: #935493;
}

.lxlq.booleanquery {
.lxlq.boolean-query {
color: purple;
}

Expand Down
12 changes: 6 additions & 6 deletions lxl-web/src/lib/utils/LxlQueryHighlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import { tagHighlighter } from '@lezer/highlight';

const highlighter = tagHighlighter([
{ tag: t.Qualifier, class: 'qualifier' },
{ tag: t.QualifierKey, class: 'qualifierkey' },
{ tag: t.QualifierValue, class: 'qualifiervalue' },
{ tag: t.EqualOperator, class: 'equaloperator' },
{ tag: t.CompareOperator, class: 'compareoperator' },
{ tag: t.BooleanOperator, class: 'booleanoperator' },
{ tag: t.BooleanQuery, class: 'booleanquery' },
{ tag: t.QualifierKey, class: 'qualifier-key' },
{ tag: t.QualifierValue, class: 'qualifier-value' },
{ tag: t.EqualOperator, class: 'equal-operator' },
{ tag: t.CompareOperator, class: 'compare-operator' },
{ tag: t.BooleanOperator, class: 'boolean-operator' },
{ tag: t.BooleanQuery, class: 'boolean-query' },
{ tag: t.Wildcard, class: 'wildcard' }
], {
all: 'lxlq',
Expand Down

0 comments on commit d812283

Please sign in to comment.