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

[create-theme]: Mac Like Buttons #744

Closed
1 task
alpeerkaraca opened this issue Nov 10, 2024 · 1 comment
Closed
1 task

[create-theme]: Mac Like Buttons #744

alpeerkaraca opened this issue Nov 10, 2024 · 1 comment
Labels
new-theme Submit a theme to be added to the theme library

Comments

@alpeerkaraca
Copy link

Name

Mac Like Buttons

Description

With this theme, you can make your title bar buttons look like those on macOS.

Homepage

https://github.com/alpeerkaraca/zen-mac-like-buttons

Image

https://raw.githubusercontent.com/alpeerkaraca/zen-mac-like-buttons/refs/heads/main/assets/screenshot.png

Type

  • JSON Color Theme

Theme Styles

.titlebar-buttonbox {
    padding: 9px !important;
  }

  .titlebar-button:hover {
    background-color: var(--button-hover-bgcolor) !important;
  }

  .toolbarbutton-icon:hover {
    color: #fd5754 !important;
  }

  .titlebar-min {
    width: 15px !important;
    height: 15px !important;
    padding: 8px !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
    margin-top: 4px !important;
    border-radius: 50% !important;
    scale: 1.2;
    background-color: #34c648 !important;
    color: transparent !important;
    transition: background-color 0.2s;
  }

  .titlebar-min:hover {
    background-color: #2ba33b !important;
    color: transparent !important;
    transition: background-color 0.2s;
  }

  .titlebar-max,
  .titlebar-restore {
    width: 15px !important;
    height: 15px !important;
    padding: 8px !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
    margin-top: 4px !important;
    border-radius: 50% !important;

    background-color: #febb40 !important;
    color: transparent !important;
    scale: 1.2;
    transition: background-color 0.2s;
  }

  .titlebar-max:hover,
  .titlebar-restore:hover {
    background-color: #d49d35 !important;
    color: transparent !important;
    transition: background-color 0.2s;
  }

  .titlebar-close {
    width: 15px !important;
    height: 15px !important;
    padding: 8px !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
    margin-top: 4px !important;
    border-radius: 50% !important;
    scale: 1.2;

    background-color: #fd5754 !important;
    color: transparent !important;
    transition: background-color 0.2s;
  }

  .titlebar-close:hover {
    background-color: #960906 !important;
    list-style-image: none !important;
    transition: background-color 0.2s;
  }

  @media (-moz-bool-pref: "mac-like-button-position-left.enabled") {

    #nav-bar {
      flex-direction: row-reverse !important;
      padding-right: 36px !important;
    }

    #nav-bar-customization-target {
      order: 1 !important;
    }

    #PanelUI-menu-button {
      order: 2 !important;
    }

    .titlebar-buttonbox {
      flex-direction: row-reverse !important;
    }
  }

Readme

# Mac Like Buttons

With this theme, you can make your title bar buttons look like those on macOS.

Preferences

{
    "mac-like-button-position-left.enabled":"Move the buttons to the left side of the title bar"
}
@alpeerkaraca alpeerkaraca added the new-theme Submit a theme to be added to the theme library label Nov 10, 2024
Copy link
Contributor

Thank you for your contribution! 🎉

Your theme has been successfully submitted. The maintainers will review it and get back to you soon.

Here are some details about your submission:

If you have any questions or need help, feel free to ask in the comments below or in the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-theme Submit a theme to be added to the theme library
Projects
None yet
Development

No branches or pull requests

1 participant