Skip to content

Override AdaptiveColor, Force Dark/Light mode #90

Answered by muesli
bensadeh asked this question in Q&A
Discussion options

You must be logged in to vote

You can call lipgloss.SetHasDarkBackground(true) to override the color check:

https://github.com/charmbracelet/lipgloss/blob/master/color.go#L84

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by bashbunni
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #89 on June 25, 2022 16:37.