Skip to content

Commit a249b33

Browse files
committed
docs: fix Example README color descriptions to match actual implementation
1 parent 601e475 commit a249b33

File tree

1 file changed

+21
-16
lines changed

1 file changed

+21
-16
lines changed

Example/README.md

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -71,22 +71,27 @@ This is a standalone console application that demonstrates all the features of t
7171

7272
Open `Program.cs` in Visual Studio with the Serilog Syntax extension installed to see:
7373

74-
### Message Template Highlighting
75-
- **Purple braces** `{` `}` around properties
76-
- **Blue** property names
77-
- **Dark goldenrod** destructuring `@` and stringification `$` operators
78-
- **Teal** format specifiers
79-
- **Red** alignment specifiers
80-
- **Dark violet** positional indices
81-
82-
### Expression Syntax Highlighting
83-
- **Orange** for expression operators (`and`, `or`, `not`, `like`, `in`)
84-
- **Blue** for expression functions (`StartsWith()`, `Contains()`, etc.)
85-
- **Green** for string literals in expressions
86-
- **Purple** for numeric literals
87-
- **Dark cyan** for expression directives (`{#if}`, `{#each}`, `{#end}`)
88-
- **Dark blue** for built-in properties (`@t`, `@m`, `@l`)
89-
- **Teal** for property paths in expressions
74+
### Message Template Highlighting (Dark Theme)
75+
- **Light blue** `{` `}` braces around properties (`#98CFDF`)
76+
- **Blue** property names (`#569CD6`)
77+
- **Orange/coral** destructuring `@` operator (`#FF8C64`)
78+
- **Red/orange** stringification `$` operator (`#FF6464`)
79+
- **Green** format specifiers like `:yyyy-MM-dd` (`#8CCB80`)
80+
- **Light red** alignment specifiers like `,10` (`#F87171`)
81+
- **Light blue** positional indices `{0}`, `{1}` (`#AAE3FF`)
82+
83+
### Expression Syntax Highlighting (Dark Theme)
84+
- **Light red** for expression operators (`and`, `or`, `not`, `like`, `in`) (`#FF7B72`)
85+
- **Purple** for expression functions (`StartsWith()`, `Contains()`, etc.) (`#C896FF`)
86+
- **Light purple** for built-in properties (`@t`, `@m`, `@l`) (`#DCB4FF`)
87+
- **Pink** for expression directives (`{#if}`, `{#each}`, `{#end}`) (`#F078B4`)
88+
- **Cyan** for string literals in expressions (`#64C8C8`)
89+
- **Light green** for numeric literals (`#B5CEA8`)
90+
- **Blue** for expression keywords (`null`, `true`, `false`) (`#569CD6`)
91+
- **Light cyan** for identifiers/property names in expressions (`#9CDCFE`)
92+
93+
### Light Theme Colors
94+
Colors automatically adapt for light themes with WCAG AA compliant contrast ratios - darker variants of the same color families for optimal readability on light backgrounds.
9095

9196
### Interactive Features
9297
- **Brace matching** when cursor is on `{` or `}`

0 commit comments

Comments
 (0)