diff --git a/manifest/background.js b/manifest/background.js index a889ce2b..f44ae484 100644 --- a/manifest/background.js +++ b/manifest/background.js @@ -1,6 +1,6 @@ /* eslint-disable no-use-before-define */ /* eslint-disable no-undef */ -if (typeof browser === "undefined") { +if (typeof browser === 'undefined') { var browser = chrome; } diff --git a/src/components/Elements/AddModal/AddModal.jsx b/src/components/Elements/AddModal/AddModal.jsx index 26b23403..c86ab7c5 100644 --- a/src/components/Elements/AddModal/AddModal.jsx +++ b/src/components/Elements/AddModal/AddModal.jsx @@ -77,4 +77,4 @@ function AddModal({ urlError, iconError, addLink, closeModal, edit, editData, ed } const MemoizedAddModal = memo(AddModal); -export { MemoizedAddModal as default, MemoizedAddModal as AddModal} \ No newline at end of file +export { MemoizedAddModal as default, MemoizedAddModal as AddModal }; diff --git a/src/components/Elements/AddModal/index.jsx b/src/components/Elements/AddModal/index.jsx index 9d77026e..1a5ba255 100644 --- a/src/components/Elements/AddModal/index.jsx +++ b/src/components/Elements/AddModal/index.jsx @@ -1 +1 @@ -export * from './AddModal'; \ No newline at end of file +export * from './AddModal'; diff --git a/src/components/Elements/MainModal/scss/index.scss b/src/components/Elements/MainModal/scss/index.scss index b5b9e6b9..f4ab83e5 100644 --- a/src/components/Elements/MainModal/scss/index.scss +++ b/src/components/Elements/MainModal/scss/index.scss @@ -259,11 +259,13 @@ h5 { flex-flow: row; align-items: center; gap: 25px; + svg { - @include themed() { + @include themed { background-image: t($slightGradient); box-shadow: t($boxShadow); } + padding: 15px; border-radius: 100%; } diff --git a/src/components/Elements/MainModal/scss/marketplace/modules/_buttons.scss b/src/components/Elements/MainModal/scss/marketplace/modules/_buttons.scss index 433f40dc..cdf06d34 100644 --- a/src/components/Elements/MainModal/scss/marketplace/modules/_buttons.scss +++ b/src/components/Elements/MainModal/scss/marketplace/modules/_buttons.scss @@ -4,6 +4,7 @@ .btn-settings { @include modal-button(standard); + display: inline; margin-top: 0; float: none !important; @@ -12,6 +13,7 @@ .btn-navigation { @include modal-button(standard); + padding: 0 15px; @include themed { @@ -58,15 +60,11 @@ } .btn-collection { - display: flex; - align-items: center; - gap: 15px; padding: 1px 12px; backdrop-filter: blur(16px) saturate(180%); background-color: rgb(255 255 255 / 10%); border: 1px solid rgb(209 213 219 / 30%); color: #fff; - border-radius: 12px; height: 40px; font-size: 1rem; @@ -85,21 +83,21 @@ } &:active { - @include themed() { + @include themed { background: t($modal-sidebarActive); box-shadow: 0 0 0 1px t($color); } } &:focus { - @include themed() { + @include themed { background: t($modal-sidebarActive); box-shadow: 0 0 0 1px t($color); } } &:disabled { - @include themed() { + @include themed { background: t($modal-sidebarActive); cursor: not-allowed; } diff --git a/src/components/Elements/MainModal/scss/marketplace/modules/_item.scss b/src/components/Elements/MainModal/scss/marketplace/modules/_item.scss index 8568b385..301e3c84 100644 --- a/src/components/Elements/MainModal/scss/marketplace/modules/_item.scss +++ b/src/components/Elements/MainModal/scss/marketplace/modules/_item.scss @@ -22,6 +22,7 @@ p.description { .item { flex: 1 0 40% !important; } + .infoItem { display: flex; flex-flow: row; @@ -30,10 +31,11 @@ p.description { flex: 1 0 44%; svg { - @include themed() { + @include themed { background-image: t($slightGradient); } - -webkit-background-clip: text; + + background-clip: text; -webkit-text-fill-color: transparent; font-size: 20px; border-radius: 100%; @@ -47,6 +49,7 @@ p.description { .header { text-transform: uppercase; + @include themed { color: t($subColor); } @@ -66,7 +69,6 @@ p.description { } } - .showMoreItems { display: flex; flex-flow: column; @@ -79,4 +81,4 @@ p.description { display: flex; flex-flow: column; gap: 15px; -} \ No newline at end of file +} diff --git a/src/components/Elements/MainModal/scss/modules/_modalTabContent.scss b/src/components/Elements/MainModal/scss/modules/_modalTabContent.scss index 61a730a2..d60baa72 100644 --- a/src/components/Elements/MainModal/scss/modules/_modalTabContent.scss +++ b/src/components/Elements/MainModal/scss/modules/_modalTabContent.scss @@ -5,7 +5,7 @@ /* button { @include modal-button(standard); - }*/ + } */ @include themed { padding: 1rem 3rem 3rem; @@ -148,6 +148,7 @@ table { gap: 25px; padding: 25px; justify-content: space-between; + @include themed { background: t($modal-sidebar); border-radius: t($borderRadius); @@ -162,10 +163,11 @@ table { } .icon { - @include themed() { + @include themed { background-image: t($slightGradient); box-shadow: t($boxShadow); } + padding: 15px; border-radius: 100%; font-size: 25px; diff --git a/src/components/Elements/MainModal/scss/settings/_main.scss b/src/components/Elements/MainModal/scss/settings/_main.scss index e56dc9cb..d8c8e34a 100644 --- a/src/components/Elements/MainModal/scss/settings/_main.scss +++ b/src/components/Elements/MainModal/scss/settings/_main.scss @@ -51,7 +51,6 @@ input { /* date picker */ &[type='date'] { width: 260px; - display: flex; flex-flow: column; @include themed { diff --git a/src/components/Elements/ShareModal/sharemodal.scss b/src/components/Elements/ShareModal/sharemodal.scss index 0ff88b7b..084a383d 100644 --- a/src/components/Elements/ShareModal/sharemodal.scss +++ b/src/components/Elements/ShareModal/sharemodal.scss @@ -86,7 +86,6 @@ border: none; outline: none; } - } .shareHeader { @@ -94,12 +93,14 @@ flex-flow: row; justify-content: space-between; align-items: center; + .close { padding: 15px; place-items: center; display: grid; cursor: pointer; transition: 0.3s; + @include themed { border-radius: t($borderRadius); } diff --git a/src/features/background/api/gradient/setRgba.js b/src/features/background/api/gradient/setRgba.js index 38f1899b..386783e4 100644 --- a/src/features/background/api/gradient/setRgba.js +++ b/src/features/background/api/gradient/setRgba.js @@ -5,7 +5,7 @@ */ export function isValidRGBValue(value) { return typeof value === 'number' && Number.isNaN(value) === false && value >= 0 && value <= 255; -}; +} /** * "If the red, green, and blue values are valid, return an object with the red, green, and blue diff --git a/src/features/background/components/PhotoInformation.jsx b/src/features/background/components/PhotoInformation.jsx index f9e2bc83..e49d6075 100644 --- a/src/features/background/components/PhotoInformation.jsx +++ b/src/features/background/components/PhotoInformation.jsx @@ -63,7 +63,9 @@ function PhotoInformation({ info, url, api }) { const [other, setOther] = useState(false); const [shareModal, openShareModal] = useState(false); const [excludeModal, openExcludeModal] = useState(false); - const [favouriteTooltipText, setFavouriteTooltipText] = useState(variables.getMessage('widgets.quote.favourite')); + const [favouriteTooltipText, setFavouriteTooltipText] = useState( + variables.getMessage('widgets.quote.favourite'), + ); if (info.hidden === true || !info.credit) { return null; @@ -207,11 +209,7 @@ function PhotoInformation({ info, url, api }) { openShareModal(true)} /> )} - + {gradientInputs} {!gradientHasMoreThanOneColour && ( <> -