Skip to content

Commit

Permalink
Merge pull request #736 from zen-browser/create-theme-735
Browse files Browse the repository at this point in the history
Add theme: Tab Numbers
  • Loading branch information
mr-cheff authored Nov 19, 2024
2 parents 5f90aab + 4602327 commit 7d47e64
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 0 deletions.
20 changes: 20 additions & 0 deletions themes/22c9ec3b-7c62-46ae-991f-c8fff5046829/chrome.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

tabs {
counter-reset: tab-counter;
}

/* Automatically increment tab numbers for each .tab-content inside a tab */
tab .tab-content::before {
counter-increment: tab-counter;
content: counter(tab-counter) "";

position: absolute;
top: 5px;
right: 1px;
padding: 0px 4px;
border-radius: 7px;

opacity: 0.7;
font-weight: bold;
font-size: 80%;
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions themes/22c9ec3b-7c62-46ae-991f-c8fff5046829/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

# Tab Numbers

Shows the Number corresponding to each Tab. This can help you navigate between Tabs faster by pressing Cmd + Number of the Tab.
14 changes: 14 additions & 0 deletions themes/22c9ec3b-7c62-46ae-991f-c8fff5046829/theme.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"id": "22c9ec3b-7c62-46ae-991f-c8fff5046829",
"name": "Tab Numbers",
"description": "Shows the Number corresponding to each Tab.",
"homepage": "https://github.com/philmard/tab-numbers",
"style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/22c9ec3b-7c62-46ae-991f-c8fff5046829/chrome.css",
"readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/22c9ec3b-7c62-46ae-991f-c8fff5046829/readme.md",
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/22c9ec3b-7c62-46ae-991f-c8fff5046829/image.png",
"author": "philmard",
"version": "1.0.0",
"tags": [],
"createdAt": "2024-11-09",
"updatedAt": "2024-11-09"
}

0 comments on commit 7d47e64

Please sign in to comment.