Skip to content

Commit

Permalink
Switch to light mode by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelclapham committed Mar 29, 2024
1 parent 21f3fd6 commit 9fef8fb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
7 changes: 0 additions & 7 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
body {
--ion-color-primary: #107c76;
--ion-background-color: rgb(39, 39, 39);
--ion-text-color: white;
--ion-text-color-rgb: 255, 255, 255;
}

.modal-wrapper {
Expand All @@ -12,8 +9,6 @@ body {
.App {
text-align: center;
height: 100vh;
background-color: #282c34;
color: white;
}

.app-title-container {
Expand Down Expand Up @@ -65,8 +60,6 @@ body {
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
border-bottom: 1px solid white;
}

.App-link {
Expand Down
2 changes: 1 addition & 1 deletion src/feature/home/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const HomePage: React.FC<HomePageProps> = ({
</IonButton>
</div>
<IntroSlides
style={{ height: "50%", maxWidth: "600px" }}
style={{ maxWidth: "600px" }}
></IntroSlides>
<IonModal isOpen={scanModalOpen} onDidDismiss={closeScannerModal}>
<ScanClientModal
Expand Down
3 changes: 3 additions & 0 deletions src/feature/intro-slides/slides.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
.introSlider {
margin-bottom: 20px;
background-color: #222222;
border-radius: 16px;
color: white;
}

.slideDescription {
Expand Down
5 changes: 4 additions & 1 deletion src/feature/session/SessionPage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import { ServerTypes } from "../../ServerTypes";
import { IonButton, IonPage } from "@ionic/react";
import { IonButton, IonPage, IonToolbar } from "@ionic/react";
import { WSClient } from "../../WSClient";
import { SessionMessage } from "./SessionMessage";
import { SessionActionsList } from "../session-actions/SessionActionsList";
Expand Down Expand Up @@ -35,6 +35,9 @@ export class SessionPage extends React.Component<
render() {
return (
<IonPage>
<IonToolbar>
Session
</IonToolbar>
<IonButton onClick={this.props.onLeaveSession}>Leave Session</IonButton>
<h1>Session Page</h1>
<p>{this.props.sessionId}</p>
Expand Down

0 comments on commit 9fef8fb

Please sign in to comment.