nu 0.116.0 tui command theming
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- design
Research direction
Start by reading the Nushell theme configuration and the linked nu-tui theme definition to see how its keys map to $env.config.tui. Add support for the listed theme entries, including surface and backdrop, and handle border_type using the table mode values. Done means the Catppuccin theme supports the TUI styling options described in the issue.
Written by the indexing model from the issue text.
Description
The recent 0.116.0 release of Nushell has introduced the tui command group.
It uses styling separate from the rest of the shell, stored in $env.config.tui instead of $env.config.color_config.
Everything except for border_type is a record with optional keys fg, bg and attr
border_type takes the same values as $env.config.table.mode
More information about colors, attributes & border types can be found here https://www.nushell.sh/book/coloring_and_theming.html
$env.config.tui = {
title_bar
status_bar
border
selected
header
muted
highlight
tab_active
tab_inactive
progress
button
border_focused
border_type
surface
backdrop
}
It'd be great if we could get official support for this.
note: surface & backdrop are not set in $env.config.tui by default, but are used.
see https://github.com/nushell/nushell/blob/09eae32199401cdeb9e229054d7858a77af0becd/crates/nu-tui/src/theme.rs#L211
- Dominant language
- Nushell
- Stars
- 48
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from catppuccin/nushell
-
No alias colorOpen
Difficulty 3/5 1-2 days Newbie friendliness 30/100
catppuccin/nushell#5 · 1 comment ·
-
Dependency DashboardOpen
Difficulty 5/5 Over a week Newbie friendliness 20/100
catppuccin/nushell#4 · 1 comment ·
All issues in catppuccin/nushell
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
commercetools/nimbus#2149 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Use the brand yellow for the Am I a Bot? bannerPossibly taken @Rabia-Ghafoor claimed this today. Opengood first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
layer5io/blowhorn-site#374 · 3 comments ·
-
E-ink theme: selected options are invisible (desktop settings, sidebar nav, mobile pickers)Possibly taken @colherdesopa claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
dongdongbh/Mindwtr#1493 ·
Maintainers usually reply within 1 day
-
Request: hltv.orgOpennew icon permissions in review
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
simple-icons/simple-icons#15119 ·
Maintainers usually reply within 1 day