Skip to content

Commit

Permalink
fix(header): remove light-dark as unsupported by samsung galaxy browser
Browse files Browse the repository at this point in the history
  • Loading branch information
bromiesTM committed Aug 2, 2024
1 parent 09f0c1b commit 67281ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions IONOS/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<style>
.ios-global-nav {
--ion-blue: var(--color-primary, rgba(0, 61, 143, 1));
--ion-color-primary: light-dark(var(--ion-blue), var(--ion-blue));
--ion-color-primary: var(--ion-blue);
--ion-white: var(--color-main-background, #fff);
--ion-color-main-background: light-dark(
var(--ion-white),
var(--ion-white)
);
--ion-color-main-background: var(--ion-white);
display: flex;
align-items: center;
Expand Down
2 changes: 1 addition & 1 deletion core/css/server.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
}

header#ionos-global-nav {
--color-main-background: light-dark(#fff, #fff);
--color-main-background: #fff;

position: sticky;
z-index: 1;
Expand Down

0 comments on commit 67281ce

Please sign in to comment.