Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "divider" and "divider_color" to order item options #300

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

elchininet
Copy link
Owner

This pull request adds two new options in the order items.

Order Items Properties

Property Type Required Description
divider Boolean no Adds a divider line below the item
divider_color* String no Sets the color of the divider line below the item (it overrides the root divider_color option)

* These options allow JavaScript or Jinja templates.

Screenshot

title: Custom Title
order:
  ...  
  - new_item: true
    item: Integrations
    href: /config/integrations
    icon: 'mdi:puzzle'
    order: 2
    divider: true
  ...

image

@elchininet elchininet added documentation Improvements or additions to documentation feature tests labels Jan 24, 2025
@coveralls
Copy link

Coverage Status

coverage: 100.0%. remained the same
when pulling 40b1eb7 on add_divider_and_divider_color_to_items
into 107cccd on master.

@elchininet elchininet merged commit a8a63ef into master Jan 24, 2025
4 checks passed
@elchininet elchininet deleted the add_divider_and_divider_color_to_items branch January 24, 2025 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation feature tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants