Skip to content

Commit

Permalink
Made corrections to CodeArtSyntaxView hierarchy
Browse files Browse the repository at this point in the history
  • Loading branch information
iamnijat committed Feb 28, 2023
1 parent 107ae1d commit ea0b278
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Sources/CodeArtSyntax/CodeArtSyntaxView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public struct CodeArtSyntaxView: View {
}


private struct CodeLinesView: View {
private struct CodeLinesView: View {

let number: String
let syntaxTheme: SyntaxTheme
Expand Down
3 changes: 1 addition & 2 deletions Sources/CodeArtSyntax/Utils/SyntaxTheme.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import UIKit

public struct SyntaxTheme {

let linesCountColor: UIColor
let backgroundColor: UIColor
let baseColor: UIColor
Expand All @@ -13,8 +14,6 @@ public struct SyntaxTheme {
let classStyle: TextStyle
let constantStyle: TextStyle



public static func vsCodeDark() -> SyntaxTheme {
return SyntaxTheme(
linesCountColor: UIColor(hexString: "#ffffff", alpha: 0.7),
Expand Down

0 comments on commit ea0b278

Please sign in to comment.