Skip to content

Commit

Permalink
bump version: v0.1.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 25, 2023
1 parent bd505d1 commit 5c0d197
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 24 deletions.
56 changes: 33 additions & 23 deletions chrome/userContent.css
Original file line number Diff line number Diff line change
Expand Up @@ -126,19 +126,13 @@ button, input:is([type="button"], [type="submit"]) {
}
}
@-moz-document url("about:newtab"), url("about:home") {
* {
--newtab-background-color-secondary: #fff !important;
--newtab-background-color: #fff !important;
--newtab-text-primary-color: #373737 !important;
.search-wrapper .search-handoff-button {
border: solid 1px var(--newtab-border-color) !important;
}
.tile, .search-wrapper .search-handoff-button, .ds-card,
.card-outer, .card :not(.card-context), .icon-wrapper, .top-site-outer, #newtab-search-text {
border-radius: var(--photon-primary-border-radius) !important;
}
.search-wrapper .search-handoff-button {
background-color: white !important;
border: solid 1px #c4c4c5 !important;
}
.customize-menu :not(.switch *), .icon.icon-settings {
border-radius: var(--photon-secondary-border-radius) !important;
}
Expand All @@ -159,16 +153,12 @@ button, input:is([type="button"], [type="submit"]) {
transition: outline var(--photon-speed-1) ease !important;
}
.top-site-outer:hover .tile {
outline: 5px solid #d7d7db !important;
}
.tile, .icon-wrapper .top-site-icon {
background-color: rgb(251, 251, 254) !important;
outline: 5px solid var(--newtab-border-color) !important;
}
.top-site-outer .default-icon {
width: 75% !important;
height: 75% !important;
background-size: 100% !important;
background-color: rgb(251, 251, 254) !important;
}
.top-site-outer .tile .icon-wrapper {
width: 100% !important;
Expand Down Expand Up @@ -207,9 +197,6 @@ button, input:is([type="button"], [type="submit"]) {
background-image: url(./resources/icons/glyph-highlights-16.svg) !important;
background-size: 16px !important;
}
body {
background-color: #f9f9fa !important;
}
.top-site-outer .search-topsite {
background-image: url(./resources/icons/find-in-page.svg) !important;
-moz-context-properties: fill !important;
Expand All @@ -234,7 +221,28 @@ button, input:is([type="button"], [type="submit"]) {
margin-inline-end: 10px;
background-size: 2px !important;
}
@media (prefers-color-scheme: dark) {
:root:is(:not([lwt-newtab], [lwt-newtab-brighttext]), [style="--newtab-background-color: rgb(249, 249, 251);"][style*="--newtab-text-primary-color: rgba(21, 20, 26, 1);"][style*="--in-content-zap-gradient: linear-gradient(90deg, #9059FF 0%, #FF4AA2 52.08%, #FFBD4F 100%);"]) {
* {
--newtab-background-color-secondary: #fff !important;
--newtab-background-color: #fff !important;
--newtab-text-primary-color: #373737 !important;
}
body {
background-color: #f9f9fa !important;
}
.search-wrapper .search-handoff-button {
background-color: white !important;
border: solid 1px #c4c4c5 !important;
}
.top-site-outer:hover .tile {
outline: 5px solid #d7d7db !important;
}
.tile, .icon-wrapper .top-site-icon,
.top-site-outer .default-icon {
background-color: rgb(251, 251, 254) !important;
}
}
:root:is(:not([style*="color"])[lwt-newtab-brighttext], [style*="--newtab-text-primary-color: rgba(251, 251, 254, 1);"][style*="--newtab-background-color: rgb(43, 42, 51);"][style*="--newtab-background-color-secondary: rgba(66, 65, 77, 1);"][style*="--in-content-zap-gradient: linear-gradient(90deg, #9059FF 0%, #FF4AA2 52.08%, #FFBD4F 100%);"][style*="--lwt-sidebar-background-color: rgb(56, 56, 61);"][style*="--lwt-sidebar-text-color: rgba(249, 249, 250, 1);"]) {
* {
--newtab-background-color-secondary: #38383d !important;
--newtab-background-color: #2a2a2e !important;
Expand All @@ -254,7 +262,7 @@ button, input:is([type="button"], [type="submit"]) {
.top-site-outer:hover .tile {
outline: 5px solid #4a4a4f !important;
}
.top-site-outer .tile, .top-site-outer .rich-icon, :root .top-site-icon:not(.search-topsite) {
.top-site-outer .tile, .top-site-outer .rich-icon, & .top-site-icon:not(.search-topsite) {
background-color: #38383d !important;
}
}
Expand Down Expand Up @@ -448,7 +456,7 @@ button, input:is([type="button"], [type="submit"]) {

@media (prefers-color-scheme: dark) {
* {
--in-content-page-background: #2a2a2e !important;
--in-content-page-background: #fff !important;
--in-content-accent-color: #0060df !important;
--checkbox-checked-bgcolor: #0060df !important;
--in-content-button-background: rgba(249, 249, 250, 0.1) !important;
Expand Down Expand Up @@ -486,7 +494,12 @@ button, input:is([type="button"], [type="submit"]) {

/* firefox view */
@-moz-document url-prefix("about:firefoxview") {
@media (prefers-color-scheme: dark) {
:root:is(:not([lwt-newtab], [lwt-newtab-brighttext]), [style="--newtab-background-color: rgb(249, 249, 251);"][style*="--newtab-text-primary-color: rgba(21, 20, 26, 1);"][style*="--in-content-zap-gradient: linear-gradient(90deg, #9059FF 0%, #FF4AA2 52.08%, #FFBD4F 100%);"]) {
* {
--fxview-contrast-border: color-mix(in srgb, currentColor 9%, transparent);
}
}
:root:is(:not([style*="color"])[lwt-newtab-brighttext], [style*="--newtab-text-primary-color: rgba(251, 251, 254, 1);"][style*="--newtab-background-color: rgb(43, 42, 51);"][style*="--newtab-background-color-secondary: rgba(66, 65, 77, 1);"][style*="--in-content-zap-gradient: linear-gradient(90deg, #9059FF 0%, #FF4AA2 52.08%, #FFBD4F 100%);"][style*="--lwt-sidebar-background-color: rgb(56, 56, 61);"][style*="--lwt-sidebar-text-color: rgba(249, 249, 250, 1);"]) {
* {
--fxview-background-color: #2a2a2e !important;
--newtab-background-color-secondary: rgba(249, 249, 250, 0.1) !important;
Expand All @@ -495,9 +508,6 @@ button, input:is([type="button"], [type="submit"]) {
--in-content-accent-color: #74c0ff !important;
}
}
* {
--fxview-contrast-border: color-mix(in srgb, currentColor 9%, transparent);
}
.card-container {
border-radius: var(--photon-primary-border-radius) !important;
}
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "zap's cool photon theme",
"short_name": "ZCPT",
"homepage_url": "https://github.com/zapSNH/zapsCoolPhotonTheme",
"version": "0.1.9.2",
"version": "0.1.9.3",
"author": "zapsnh",
"description": "a cool photon theme. webextension version based off of paxmod.",

Expand Down
9 changes: 9 additions & 0 deletions updates.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@
"strict_min_version": "121.0a1"
}
}
},
{
"version": "0.1.9.3",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.1.9.3/zapsCoolPhotonTheme.xpi",
"applications": {
"gecko": {
"strict_min_version": "121.0a1"
}
}
}
]
}
Expand Down

0 comments on commit 5c0d197

Please sign in to comment.