kraanzu / dooit

An awesome TUI todo manager
https://pypi.org/project/dooit/
MIT License
2.03k stars 93 forks source link

[BUG] Different colors from what has been configured.? #182

Closed Hamadah2O2 closed 1 month ago

Hamadah2O2 commented 1 month ago

Describe the bug 🐛 I just configured the color, but the color I set is different from what is displayed. It only happens on the st terminal, but it's normal on the Alacritty terminal.

To Reproduce 🐣 Steps to reproduce the behavior:

  1. Using Luke st
  2. run dooit
  3. Looks different from what was configured.

Screenshots 🧐 On st: image

On Alacritty: image

Desktop: 🤖

My Configuration 📝 config.py:

black = "#30304a"
dark_black = "#343450"
white = "#e5e9f0"
grey = "#d8dee9"
red = "#bf616a"
frost_green = "#8fbcbb"
cyan = "#88c0d0"
green = "#a0e169"
yellow = "#ebcb8b"
blue = "#81a1c1"
magenta = "#b48ead"
orange = "#d08770"

BACKGROUND = black 
BAR_BACKGROUND = black 
WORKSPACES_BACKGROUND = black 
TODOS_BACKGROUND = black 
# BORDER_DIM = grey + " 50%" 
# BORDER_LIT = blue 

BORDER_TITLE_DIM = grey, dark_black 

BORDER_TITLE_LIT = white, blue

SEARCH_COLOR = red 
YANK_COLOR = blue 
SAVE_ON_ESCAPE = False 
USE_DATE_FIRST = True 

Is it my terminal or else ?

kraanzu commented 1 month ago

Yes It's your terminal, (a particular setting actually), I tried with vanilla st config and it ran fine

I was not able to determine what caused this issue tho :(

Hamadah2O2 commented 1 month ago

Sad to hear that, i just tried the vanilla st but still not working. Well it seems like I will just change the terminal emulator. just doo it. I don't know why every time there is a great application, there always seems to be some problem happen to me :)

BUT, IF I JUST STARTED THE ST USING ALACRITTY (eg: alacritty -e st) THE ST JUST SHOW THE TRUE COLORS FOR DOOIT, IT SEEMS LIKE SOMETHING IS HAPPENING WHEN ST IS JUST STARTED

.... Yeah, im just tired. just change the terminal an resolve the problem. just doo it. I am fine, Thank you for answering me. this the best todo manager for me btw. 😄

github-actions[bot] commented 1 month ago

Did we solve your problem? Glad we could help!

Consider sponsoring my work through github sponsors :smile: – @kraanzu

kraanzu commented 1 month ago

Super glad to hear that. More nice stuff incomingggg!

Hamadah2O2 commented 1 month ago

I just found the solution. Just add export COLORTERM=truecolor to .zshrc or other shell config, and i am ready todooit 😆