mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-08 03:31:59 +02:00
4266634752
- improves deprecation warning styles a bit so they caught the readers eye faster and are easier to read - warns if the user uses `builds.target` in conjunction with other options which are ignored in that case - improved env output - improved no configuration found warning some of the changes: <img width="1263" alt="CleanShot 2023-07-24 at 21 38 41@2x" src="https://github.com/goreleaser/goreleaser/assets/245435/40465853-7177-44d6-b07b-61b67590669a"> --------- Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
19 lines
549 B
Go
19 lines
549 B
Go
package logext
|
|
|
|
import "github.com/charmbracelet/lipgloss"
|
|
|
|
// Keyword should be used to highlight code.
|
|
var Keyword = lipgloss.NewStyle().
|
|
Padding(0, 1).
|
|
Foreground(lipgloss.AdaptiveColor{Light: "#FF4672", Dark: "#ED567A"}).
|
|
Background(lipgloss.AdaptiveColor{Light: "#DDDADA", Dark: "#242424"}).
|
|
Render
|
|
|
|
var (
|
|
// URL is used to style URLs.
|
|
URL = lipgloss.NewStyle().Foreground(lipgloss.Color("3")).Render
|
|
|
|
// Warning is used to style warnings for the user.
|
|
Warning = lipgloss.NewStyle().Foreground(lipgloss.Color("11")).Bold(true).Render
|
|
)
|