#Foreground is not really for the color of the text

1 messages · Page 1 of 1 (latest)

midnight spear
#
accent: '#ECC30B'
background: '#FF3A20'
details: darker
foreground: '#FFFFFF'


terminal_colors:
  bright:
    black: '#002b36'
    blue: '#839496'
    cyan: '#93a1a1'
    green: '#586e75'
    magenta: '#6c71c4'
    red: '#cb4b16'
    white: '#fdf6e3'
    yellow: '#657b83'
  normal:
    black: '#073642'
    blue: '#268bd2'
    cyan: '#2aa198'
    green: '#859900'
    magenta: '#d33682'
    red: '#dc322f'
    white: '#eee8d5'
    yellow: '#b58900'

neon quiverBOT
#

Hi @midnight spear. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

In Warp, the foreground color in the theme YAML file is indeed used for the color of the text. The foreground color is used for the main text color in the terminal.

Here's a breakdown of what each field in the YAML file represents:

  • accent: Accent color for UI elements
  • background: Terminal background color
  • details: Whether the theme is lighter or darker
  • foreground: The foreground color (main text color)
  • terminal_colors: Ansi escape colors for different elements in the terminal

Each color is represented in hex and must start with #.

In your provided YAML file, the foreground color is set to #FFFFFF, which is white. This means that the main text color in your terminal will be white.

If you want to change the text color, you can do so by changing the foreground color in your YAML file to your desired color.

Here's the source for this information: Source (https://docs.warp.dev/appearance/custom-themes#create-your-custom-theme-manually)

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

#

Sorry @midnight spear, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:

Perhaps try again in 15mins?

midnight spear
#

it do not work the main text is black

midnight spear
#

i've black test

#

@neon quiver

neon quiverBOT
#

Let me check the knowledge base for you. One moment! :books:

#

Sorry @midnight spear, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:

Perhaps try again in 15mins?

robust harbor
#

Is this what you were expecting? Works fine with the colors you posted... Text shows as white but some are contrasted because of the background...

#

Not all text will show white ... See my output from neofetch with my custom theme...