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

Navbar color options #24

Merged
merged 4 commits into from
Jun 22, 2023
Merged

Navbar color options #24

merged 4 commits into from
Jun 22, 2023

Conversation

kalashnikovisme
Copy link
Contributor

@kalashnikovisme kalashnikovisme commented Jun 21, 2023

What's changed basically?

Now we have 2 more options for tramway_navbar helper

  • background:color
  • background:intensity

What's changed for tramway drivers?

Now developers are able to set custom color to Tramway navbar.

Before

tramway_navbar title: 'Purple Magic' # it's red by default

After

tramway_navbar title: 'Purple Magic', background: { color: :red, intensity: 500 } # it's purple by default, but you are able to set custom color

Find more info here

PR will be merge on June. 23

@kalashnikovisme kalashnikovisme merged commit 442ed46 into main Jun 22, 2023
2 checks passed
@kalashnikovisme kalashnikovisme deleted the navbar_color branch June 22, 2023 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants