1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-08-01 20:47:48 +00:00

Set color vals to be colored

This commit is contained in:
RGBCube 2023-12-03 13:14:22 +03:00
parent 89a136ca4a
commit e167c519df
No known key found for this signature in database

View file

@ -17,7 +17,7 @@ $env.config = {
$env.config.color_config = {
binary: white
block: white
bool: {|| if $in { "light_cyan" } else { "light_red" }}
bool: {|| if $in { "light_green" } else { "light_red" } }
cell-path: white
date: purple
duration: white
@ -27,7 +27,6 @@ $env.config.color_config = {
header: green_bold
hints: dark_gray
int: white
leading_trailing_space_bg: { attr: n }
list: white
nothing: white
range: white
@ -35,7 +34,8 @@ $env.config.color_config = {
row_index: green_bold
search_result: { bg: red fg: white }
separator: white
string: white
string: {|| if $in =~ "^(#|0x)[a-fA-F0-9]+$" { ($in | str replace "0x" "#") } else { "white" } }
leading_trailing_space_bg: { attr: n }
shape_and: purple_bold
shape_binary: purple_bold
@ -57,7 +57,6 @@ $env.config.color_config = {
shape_list: cyan_bold
shape_literal: blue
shape_match_pattern: green
shape_matching_brackets: { attr: u }
shape_nothing: light_cyan
shape_operator: yellow
shape_or: purple_bold
@ -67,10 +66,11 @@ $env.config.color_config = {
shape_redirection: purple_bold
shape_signature: green_bold
shape_string: green
shape_string_interpolation: cyan_bold
shape_table: blue_bold
shape_vardecl: purple
shape_variable: purple
shape_matching_brackets: { attr: u }
shape_string_interpolation: cyan_bold
}
$env.config.ls = {
@ -78,15 +78,13 @@ $env.config.ls = {
use_ls_colors: true
}
$env.config.rm = {
always_trash: false
}
$env.config.rm.always_trash = false
$env.config.table = {
header_on_separator: false
index_mode: always
mode: rounded
padding: { left: 1, right: 1 }
padding: { left: 1 right: 1 }
show_empty: true
trim: {
methodology: wrapping
@ -97,13 +95,13 @@ $env.config.table = {
$env.config.explore = {
command_bar_text: { fg: "#C4C9C6" }
highlight: { fg: black, bg: yellow }
highlight: { fg: black bg: yellow }
status: {
error: { fg: white, bg: red }
error: { fg: white bg: red }
warn: {}
info: {}
}
status_bar_background: { fg: "#1D1F21", bg: "#C4C9C6" }
status_bar_background: { fg: "#1D1F21" bg: "#C4C9C6" }
table: {
split_line: { fg: "#404040" }
selected_cell: { bg: light_blue }