Skip to content

Allow customization of some colors #48

Closed
@acidghost

Description

Describe the solution you'd like

Ability to change some colors as defined in

const (
defaultBackgroundColor = "#282828"
activeTaskListColor = "#fe8019"
inactiveTaskListColor = "#928374"
taskEntryColor = "#8ec07c"
taskLogEntryColor = "#fabd2f"
taskLogListColor = "#b8bb26"
trackingColor = "#fabd2f"
activeTaskColor = "#8ec07c"
activeTaskBeginTimeColor = "#d3869b"
formFieldNameColor = "#8ec07c"
formHelpColor = "#928374"
formContextColor = "#fabd2f"
toolNameColor = "#fe8019"
recordsHeaderColor = "#d85d5d"
recordsFooterColor = "#ef8f62"
recordsBorderColor = "#665c54"
initialHelpMsgColor = "#a58390"
recordsDateRangeColor = "#fabd2f"
recordsHelpColor = "#928374"
helpMsgColor = "#83a598"
tLDetailsViewTitleColor = "#d3869b"
helpViewTitleColor = "#83a598"
helpHeaderColor = "#83a598"
helpSectionColor = "#bdae93"
warningColor = "#fb4934"
fallbackTaskColor = "#ada7ff"
)

This could be implemented in three levels:

  • CLI flags: easy to implement, less usability (e.g. users may alias hours='hours --colors...')
  • env variables: can be used as default values (if present) for CLI flags; users set them in their shell configs
  • full fledged configuration file: let's not go there, yet 😉

Is your feature request related to a problem? Please describe.

I'm a terminal freak and I want hours to be best looking.
This may also be an accessibility feature for people with vision deficiencies.

Describe alternatives you've considered

No alternatives, AFAIK.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions