
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
Terminal color schemes from iTerm2-Color-Schemes packaged as Go structs. Includes 450+ themes like Dracula, Nord, Gruvbox, Monokai, etc.
Themes are generated at build time and compiled into your binary, so there's no runtime parsing overhead. Colors are provided as hex strings that work directly with Lipgloss and most TUI libraries.
go get go.withmatt.com/themes
theme, err := themes.GetTheme("Dracula")
if err != nil {
log.Fatal(err)
}
fmt.Println(theme.Foreground) // #f8f8f2
fmt.Println(theme.Background) // #282a36
With Lipgloss:
theme, _ := themes.GetTheme("Nord")
style := lipgloss.NewStyle().
Foreground(lipgloss.Color(theme.Foreground)).
Background(lipgloss.Color(theme.Background))
fmt.Println(style.Render("Hello, Nord!"))
List all themes:
for _, name := range themes.ListThemes() {
fmt.Println(name)
}
// Get a theme by name (case-insensitive)
func GetTheme(name string) (*Theme, error)
// List all theme names
func ListThemes() []string
// Get all themes as a map
func GetAllThemes() map[string]*Theme
The Theme struct contains Foreground, Background, Cursor, and all 16 ANSI colors (Black, Red, Green, Yellow, Blue, Magenta, Cyan, White, and their Bright* variants). All colors are lowercase hex strings like #282a36.
To regenerate themes from the latest upstream:
go generate ./...
This clones iTerm2-Color-Schemes, parses the JSON files, and generates generated_themes.go.
MIT License. Color schemes are from iTerm2-Color-Schemes by @mbadolato, also MIT licensed.
FAQs
Unknown package
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.