Skip to content

Commit

Permalink
Removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanratcliffe committed Nov 12, 2024
1 parent ee91c67 commit 8ccb7a7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 21 deletions.
5 changes: 0 additions & 5 deletions cmd/changes_submit_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ type TfData struct {
Values map[string]any
}

type plannedChangeGroups struct {
supported map[string][]*sdp.MappedItemDiff
unsupported map[string][]*sdp.MappedItemDiff
}

func changeTitle(arg string) string {
if arg != "" {
// easy, return the user's choice
Expand Down
10 changes: 0 additions & 10 deletions cmd/logging.go
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
package cmd

import (
"os"

"github.com/mattn/go-isatty"
"github.com/ttacon/chalk"
)

var tty bool

func init() {
// Detect if we're in a TTY or not
tty = isatty.IsTerminal(os.Stdout.Fd())
}

var (
// Styles
Underline = TextStyle{chalk.Underline}
Expand Down
6 changes: 0 additions & 6 deletions cmd/theme.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,12 +303,6 @@ func MarkdownStyle() ansi.StyleConfig {
}
}

var titleStyle = lipgloss.NewStyle().Foreground(ColorPalette.BgMain).Bold(true)
var textStyle = lipgloss.NewStyle().Foreground(ColorPalette.LabelBase)
var addedLineStyle = lipgloss.NewStyle().Foreground(ColorPalette.LabelControl).Background(ColorPalette.BgSuccess)
var deletedLineStyle = lipgloss.NewStyle().Background(ColorPalette.BgDanger).Foreground(ColorPalette.LabelControl)
var containerStyle = lipgloss.NewStyle().PaddingLeft(2).PaddingTop(2)

func styleH1() lipgloss.Style {
return lipgloss.NewStyle().
Foreground(lipgloss.Color("#ffffff")).
Expand Down

0 comments on commit 8ccb7a7

Please sign in to comment.