aboutsummaryrefslogtreecommitdiff
path: root/Sources/phbar/Config.swift
diff options
context:
space:
mode:
authorTommaso Negri <me@tommasongr.com>2026-08-08 13:07:10 +0200
committerTommaso Negri <me@tommasongr.com>2026-08-08 13:07:10 +0200
commit8d1e111f074d961a7ca2d33c7242814058380e3f (patch)
treec4a6a9a887dfa46eee267e5eed6762a29f39f5bf /Sources/phbar/Config.swift
parent618799ee703cc4addc7e50550ccf87b4b4cc7780 (diff)
downloadbar-8d1e111f074d961a7ca2d33c7242814058380e3f.tar.gz
bar-8d1e111f074d961a7ca2d33c7242814058380e3f.zip
allow multiple highlight levels
Diffstat (limited to 'Sources/phbar/Config.swift')
-rw-r--r--Sources/phbar/Config.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/Sources/phbar/Config.swift b/Sources/phbar/Config.swift
index 746aa7e..6244578 100644
--- a/Sources/phbar/Config.swift
+++ b/Sources/phbar/Config.swift
@@ -23,8 +23,8 @@ enum Config {
/// The color used for the bar background.
static let background: Color = .hex("#010408").opacity(0.825)
- /// The color used to highlight a cell inside a block (see ``Cell``).
- static let highlight: Color = .hex("#0f304a")
+ /// The colors used to highlight a cell at different levels (see ``Cell``).
+ static let highlights: [Color] = [.hex("#0f304a"), .hex("#1f689d")]
/// The blocks that make up the bar, listed in display order.
///