Replies: 2 comments 1 reply
-
|
|
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Fixed the problem by unassigning white and using #FFFFFF directly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, I've been working on a todo list and its been going well, however I cannot get over this obstacle. I've tried for hours, but can't get the text color to remain white on my todo list (todoList []storage.Task) field inside my model struct. The only time my text is white is when the "uncompletedTaskBg" var is applied. To go further, its not the variable itself, its the color. When I change my hexcode to "#333344" on other vars the text will be white. Why? I want white text over a green background on completed tasks, and
white text over a blue background on uncompleted tasks. Thanks. Here are my styling vars:
And here is my View() func:
Thank you for any help.
Beta Was this translation helpful? Give feedback.
All reactions