Skip to content

Commit

Permalink
Minor tweaks pt2
Browse files Browse the repository at this point in the history
  • Loading branch information
eonist committed Jan 20, 2025
1 parent 9ffd171 commit 8066d07
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ extension HighLightViewModifier {
RoundedRectangle(cornerRadius: cornerRadius) // A view that highlights a `TagBarItem` with a rounded corner background
.foregroundColor( // The background color of the highlight view.
Color(
// fixme: use consts?
light: .gray.opacity(0.2), // The background color for light mode with 20% opacity.
dark: .white.opacity(0.14) // The background color for dark mode with 14% opacity.
)
Expand Down
2 changes: 1 addition & 1 deletion Sources/TagBarLib/util/TagBarStyle/TagBarStyle.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SwiftUI

// ⚠️️ not in use yet
public struct TagBarStyle {
public var selectedBackgroundColor: Color
public var unselectedBackgroundColor: Color
Expand Down
1 change: 0 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![Swift Version](https://img.shields.io/badge/Swift-5.9-F05138.svg?logo=swift&logoColor=white)](https://swift.org)


# TagBarLib

> Horizontal TagBar for iOS
Expand Down

0 comments on commit 8066d07

Please sign in to comment.