theme-store icon indicating copy to clipboard operation
theme-store copied to clipboard

[create-theme]: Better Search Badges

Open sasoder opened this issue 1 year ago • 1 comments

Name

Better Search Badges

Description

Better looking search engine badges in Zen

Homepage

https://github.com/sasoder/zen-browser-better-search-badges

Image

https://raw.githubusercontent.com/sasoder/zen-browser-better-search-badges/refs/heads/main/images/chatgpt-badge.png

Type

  • [ ] JSON Color Theme

Theme Styles

#urlbar-search-mode-indicator {
  padding: var(--mod-searchbadge-paddingvertical)
    var(--mod-searchbadge-paddinghorizontal) !important;
  border-radius: 9999px !important;
  background: var(--mod-searchbadge-backgroundcolor) !important;
  color: var(--mod-searchbadge-fontcolor) !important;
  font-weight: 500;
  box-shadow: var(--mod-searchbadge-shadowstyle)
    var(--mod-searchbadge-shadowcolor);
  font-size: var(--mod-searchbadge-fontsize);
}

#urlbar-search-mode-indicator-close.close-button {
  display: none;
}

#urlbar-search-mode-indicator-title {
  padding: 0 !important;
}

Readme

# Better Search Badges

Improves the URL bar search engine badge styles with customizable padding, colors and shadow.

Preferences

[
  {
    "property": "mod.searchbadge.fontsize",
    "label": "Search badge font size (e.g. 13px)",
    "type": "string",
    "defaultValue": "13px"
  },
  {
    "property": "mod.searchbadge.paddingvertical",
    "label": "Search badge vertical padding (e.g. 4.5px)",
    "type": "string",
    "defaultValue": "4.5px"
  },
  {
    "property": "mod.searchbadge.paddinghorizontal",
    "label": "Search badge horizontal padding (e.g. 10px)",
    "type": "string",
    "defaultValue": "10px"
  },
  {
    "property": "mod.searchbadge.backgroundcolor",
    "label": "Search badge background color",
    "type": "string",
    "defaultValue": "#64ab9c"
  },
  {
    "property": "mod.searchbadge.fontcolor",
    "label": "Search badge font color",
    "type": "string",
    "defaultValue": "#ffffff"
  },
  {
    "property": "mod.searchbadge.shadowcolor",
    "label": "Search badge shadow color",
    "type": "string",
    "defaultValue": "#64ab9c4e"
  },
  {
    "property": "mod.searchbadge.shadowstyle",
    "label": "Search badge shadow style (e.g. 0 0 12px)",
    "type": "string",
    "defaultValue": "0 0 12px"
  }
]

sasoder avatar Oct 09 '25 05:10 sasoder

Thank you for your contribution! :tada:

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.

github-actions[bot] avatar Oct 09 '25 05:10 github-actions[bot]