Skip to content

Commit

Permalink
chore: bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
maaslalani committed Feb 1, 2024
1 parent dd237cf commit 9b820a2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
8 changes: 3 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/alecthomas/chroma v0.10.1-0.20220126230913-d491f1b5c1d2
github.com/alecthomas/kong v0.8.2-0.20240122082144-30e84613fe34
github.com/beevik/etree v1.3.0
github.com/charmbracelet/huh v0.3.1-0.20240201144609-324657336e69
github.com/charmbracelet/huh v0.3.1-0.20240201204413-952b8b90b094
github.com/charmbracelet/lipgloss v0.9.2-0.20240131031835-92946d34c234
github.com/charmbracelet/log v0.3.2-0.20240104164151-fd1729ad8eb8
github.com/mattn/go-isatty v0.0.20
Expand All @@ -17,9 +17,9 @@ require (
github.com/atotto/clipboard v0.1.4 // indirect
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
github.com/catppuccin/go v0.2.0 // indirect
github.com/charmbracelet/bubbles v0.17.2-0.20240131162854-364eac96a867 // indirect
github.com/charmbracelet/bubbles v0.18.0 // indirect
github.com/charmbracelet/bubbletea v0.25.0 // indirect
github.com/charmbracelet/x/exp/strings v0.0.0-20240130180102-bafe6fbaee60 // indirect
github.com/charmbracelet/x/exp/strings v0.0.0-20240201190944-d2939856021f // indirect
github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect
github.com/dlclark/regexp2 v1.10.0 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
Expand All @@ -38,5 +38,3 @@ require (
golang.org/x/term v0.16.0 // indirect
golang.org/x/text v0.14.0 // indirect
)

replace github.com/charmbracelet/huh => ../huh
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ github.com/beevik/etree v1.3.0 h1:hQTc+pylzIKDb23yYprodCWWTt+ojFfUZyzU09a/hmU=
github.com/beevik/etree v1.3.0/go.mod h1:aiPf89g/1k3AShMVAzriilpcE4R/Vuor90y83zVZWFc=
github.com/catppuccin/go v0.2.0 h1:ktBeIrIP42b/8FGiScP9sgrWOss3lw0Z5SktRoithGA=
github.com/catppuccin/go v0.2.0/go.mod h1:8IHJuMGaUUjQM82qBrGNBv7LFq6JI3NnQCF6MOlZjpc=
github.com/charmbracelet/bubbles v0.17.2-0.20240131162854-364eac96a867 h1:VgxgtJXJWTA3nTi9dKlM/VpcxoStRz+Iuv4UvOmjdBk=
github.com/charmbracelet/bubbles v0.17.2-0.20240131162854-364eac96a867/go.mod h1:08qhZhtIwzgrtBjAcJnij1t1H0ZRjwHyGsy6AL11PSw=
github.com/charmbracelet/bubbles v0.18.0 h1:PYv1A036luoBGroX6VWjQIE9Syf2Wby2oOl/39KLfy0=
github.com/charmbracelet/bubbles v0.18.0/go.mod h1:08qhZhtIwzgrtBjAcJnij1t1H0ZRjwHyGsy6AL11PSw=
github.com/charmbracelet/bubbletea v0.25.0 h1:bAfwk7jRz7FKFl9RzlIULPkStffg5k6pNt5dywy4TcM=
github.com/charmbracelet/bubbletea v0.25.0/go.mod h1:EN3QDR1T5ZdWmdfDzYcqOCAps45+QIJbLOBxmVNWNNg=
github.com/charmbracelet/huh v0.3.1-0.20240201144609-324657336e69 h1:AwgT1uPhqHP1D2WsEzDuAXGbPZjzsoWRgPyzo1U70F4=
github.com/charmbracelet/huh v0.3.1-0.20240201144609-324657336e69/go.mod h1:ll3nYmrqcRLde+NKubJp0up1t3R274dlXyR8AKBIrDo=
github.com/charmbracelet/huh v0.3.1-0.20240201204413-952b8b90b094 h1:MTgYWTyYmcxtCSgcu8mhFCpPMgV9DlmzwkI1/gDa2vg=
github.com/charmbracelet/huh v0.3.1-0.20240201204413-952b8b90b094/go.mod h1:ll3nYmrqcRLde+NKubJp0up1t3R274dlXyR8AKBIrDo=
github.com/charmbracelet/lipgloss v0.9.2-0.20240131031835-92946d34c234 h1:Zhjp9F7of99zx70doxZQUef4CoLktaVg1Jdi0y+7iVI=
github.com/charmbracelet/lipgloss v0.9.2-0.20240131031835-92946d34c234/go.mod h1:1mPmG4cxScwUQALAAnacHaigiiHB9Pmr+v1VEawJl6I=
github.com/charmbracelet/log v0.3.2-0.20240104164151-fd1729ad8eb8 h1:b0ztGgJo6EgjcyfKRST1TPqzfhfqCEfMUVpv5280fhM=
github.com/charmbracelet/log v0.3.2-0.20240104164151-fd1729ad8eb8/go.mod h1:OR4E1hutLsax3ZKpXbgUqPtTjQfrh1pG3zwHGWuuq8g=
github.com/charmbracelet/x/exp/strings v0.0.0-20240130180102-bafe6fbaee60 h1:/FTPkYsiq7rXip2GU4gn7NvkXqoiN7Rt8nyuL/MGzQ8=
github.com/charmbracelet/x/exp/strings v0.0.0-20240130180102-bafe6fbaee60/go.mod h1:pBhA0ybfXv6hDjQUZ7hk1lVxBiUbupdw5R31yPUViVQ=
github.com/charmbracelet/x/exp/strings v0.0.0-20240201190944-d2939856021f h1:MQihqUEhByg6+zFr0Sgy4vkKgUoM9sj+22MSZUS5Ei0=
github.com/charmbracelet/x/exp/strings v0.0.0-20240201190944-d2939856021f/go.mod h1:pBhA0ybfXv6hDjQUZ7hk1lVxBiUbupdw5R31yPUViVQ=
github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 h1:q2hJAaP1k2wIvVRd/hEHD7lacgqrCPS+k8g1MndzfWY=
github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81/go.mod h1:YynlIjWYF8myEu6sdkwKIvGQq+cOckRm6So2avqoYAk=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
9 changes: 6 additions & 3 deletions style.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
package main

import "github.com/alecthomas/chroma"
import (
"github.com/alecthomas/chroma"
"github.com/alecthomas/chroma/styles"
)

var charmStyle = chroma.MustNewStyle("charm", chroma.StyleEntries{
var charmStyle = styles.Register(chroma.MustNewStyle("charm", chroma.StyleEntries{
chroma.Text: "#C4C4C4",
chroma.Error: "#F1F1F1 bg:#F05B5B",
chroma.Comment: "#676767",
Expand All @@ -29,4 +32,4 @@ var charmStyle = chroma.MustNewStyle("charm", chroma.StyleEntries{
chroma.GenericStrong: "bold",
chroma.GenericSubheading: "#777777",
chroma.Background: "bg:#222222",
})
}))

0 comments on commit 9b820a2

Please sign in to comment.