Skip to content

Commit

Permalink
Add missing code fence labels
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte authored Oct 16, 2024
1 parent 1c6e69c commit 24139ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ let urls = BBEditTheme.all

ThemePark's `Styling` protocol can make use of the SwiftUI environment to adjust for color scheme, contrast, and hover state. You can expose this to your view heirarchy with a modifier:

```
```swift
import SwiftUI
import ThemePark

Expand All @@ -86,7 +86,7 @@ struct ThemedView: View {

Executing queries on a theme:

```
```swift
let styler: any Styling = TextMateTheme.all.randomElement()!
let query = Query(key: .editorBackground, context: .init(colorScheme: .dark))

Expand Down Expand Up @@ -132,4 +132,4 @@ By participating in this project you agree to abide by the [Contributor Code of
[documentation badge]: https://img.shields.io/badge/Documentation-DocC-blue
[matrix]: https://matrix.to/#/%23chimehq%3Amatrix.org
[matrix badge]: https://img.shields.io/matrix/chimehq%3Amatrix.org?label=Matrix
[discord]: https://discord.gg/esFpX6sErJ
[discord]: https://discord.gg/esFpX6sErJ

0 comments on commit 24139ad

Please sign in to comment.