Skip to content

allow for customization of widgetΒ #8

@ghost

Description

hello. I really love this crucial project that raises awareness and I want to support it by placing it on various websites I contribute to, admin, and which allow for it. πŸ™ 🌍 ✊

I think in order to make the widget fit in well on as many sites as possible it would need to allow for customizing the CSS styling. Some other configurations which I think would encourage / allow for more sites to incorporate it, could be something like these config vars on init:

options: {
  deadline: true,
  lifeline: false,
  layout: 'cycle',
  clock: false,
  ticker: false
}
  • deadline (default true) - shows section with countdown
  • lifeline (default: true) - shows section with countup
  • layout (default: 'stacked') - shows as it currently does, value cycle swaps one into the other thus using less vertical space
  • clock - (default: true) - shows clock on the left
  • ticker - (default: true) - shows text ticker at bottom

Is this something you are up for doing or likely to merge in if contributed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions