mirror of
https://github.com/dergigi/boris.git
synced 2025-12-20 08:04:30 +01:00
fix: reduce brightness and add colored border to highlight count indicator
- Set background color to 75% opacity (bf hex) to reduce brightness - Add border color matching the highlight group color - Makes the indicator less overwhelming while maintaining visibility
This commit is contained in:
@@ -87,7 +87,8 @@ const ReaderHeader: React.FC<ReaderHeaderProps> = ({
|
||||
<div
|
||||
className="highlight-indicator"
|
||||
style={highlightIndicatorColor ? {
|
||||
backgroundColor: highlightIndicatorColor,
|
||||
backgroundColor: `${highlightIndicatorColor}bf`,
|
||||
borderColor: highlightIndicatorColor,
|
||||
color: '#000'
|
||||
} : undefined}
|
||||
>
|
||||
@@ -130,7 +131,8 @@ const ReaderHeader: React.FC<ReaderHeaderProps> = ({
|
||||
<div
|
||||
className="highlight-indicator"
|
||||
style={highlightIndicatorColor ? {
|
||||
backgroundColor: highlightIndicatorColor,
|
||||
backgroundColor: `${highlightIndicatorColor}bf`,
|
||||
borderColor: highlightIndicatorColor,
|
||||
color: '#000'
|
||||
} : undefined}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user