Skip to content

Commit

Permalink
Bumping issa
Browse files Browse the repository at this point in the history
  • Loading branch information
boggydigital committed Jan 9, 2025
1 parent c1b4ecc commit 0897100
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/boggydigital/compton v0.2.32
github.com/boggydigital/coost v0.3.9
github.com/boggydigital/dolo v0.2.19
github.com/boggydigital/issa v0.1.21
github.com/boggydigital/issa v0.1.22
github.com/boggydigital/kevlar v0.5.19
github.com/boggydigital/kevlar_dolo v0.1.7
github.com/boggydigital/middleware v0.1.16
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ github.com/boggydigital/dolo v0.2.19 h1:/lWxHGI26xVtacOjWwnVwB4Iwg5x0+ou6xYjHbqT
github.com/boggydigital/dolo v0.2.19/go.mod h1:iFo1k9TpMP2aLy03ZLr2kB5sj6yRxpuC/wx5p2jpAMQ=
github.com/boggydigital/issa v0.1.21 h1:HUg7ZjUoZbv2Upc+WCBQXdiF/HyNlnf0qIWSo/hz9h8=
github.com/boggydigital/issa v0.1.21/go.mod h1:Za10zkG7QvOGC7dDRjvzVr6GWDQm4f7FwO8/fH8usZY=
github.com/boggydigital/issa v0.1.22 h1:yfD/X5EeaPyI44XTobwjafMSzeKnuB7cxWsXY3XewO4=
github.com/boggydigital/issa v0.1.22/go.mod h1:Za10zkG7QvOGC7dDRjvzVr6GWDQm4f7FwO8/fH8usZY=
github.com/boggydigital/kevlar v0.5.19 h1:NPNxTSLReQyYDzYlxX+Vb9XbOy2BIgh3W+i28Oh2PKY=
github.com/boggydigital/kevlar v0.5.19/go.mod h1:hoHfBGc8xq2afcKcbPG5699SJDQ9TjiNeWJ7kwA6XF0=
github.com/boggydigital/kevlar_dolo v0.1.7 h1:9HmNcSTrZDu1PZOw5OyCDQewQsh0Iq9hmOJ7Ib+Lw0I=
Expand Down
3 changes: 2 additions & 1 deletion rest/compton_fragments/set_tint.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ package compton_fragments
import (
"github.com/arelate/vangogh_local_data"
"github.com/boggydigital/compton"
"github.com/boggydigital/issa"
"github.com/boggydigital/kevlar"
)

func SetTint(id string, p compton.Element, rdx kevlar.ReadableRedux) {
if repColor, ok := rdx.GetLastVal(vangogh_local_data.RepImageColorProperty, id); ok {
if repColor, ok := rdx.GetLastVal(vangogh_local_data.RepImageColorProperty, id); ok && repColor != issa.NeutralRepColor {
p.SetAttribute("style", "background-color:color-mix(in display-p3,"+repColor+" var(--cma),var(--c-background))")
}
}

0 comments on commit 0897100

Please sign in to comment.