Skip to content

Commit dd46b9b

Browse files
committed
light/dark toggle
1 parent 540caf0 commit dd46b9b

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

src/pages/index.tsx

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
import React, { useState, useEffect } from 'react';
22
import Layout from '@theme/Layout';
3-
import {
4-
Box,
5-
Button,
6-
Container,
7-
Grid,
8-
Stack,
9-
Tab,
10-
Tabs,
11-
Typography,
12-
Switch
13-
} from '@mui/material';
3+
import { Box, Button, Container, Grid, Stack, Tab, Tabs, Typography, Switch } from '@mui/material';
144
import { TabContext, TabPanel } from '@mui/lab';
155
import { LightMode, DarkMode } from '@mui/icons-material'; // <-- Icons
166
import bgImage from '../../static/img/hero-secondary-background.webp';
@@ -55,7 +45,7 @@ export const Home = () => {
5545
botUrlPath: 'nova',
5646
showNewChat: true,
5747
parentElementId: 'inline-berry-chatbot-container',
58-
// If you want to start in dark mode by default, uncomment:
48+
// If we want to start in dark mode by default, uncomment:
5949
// colorMode: 'dark',
6050
});
6151
};
@@ -150,7 +140,7 @@ export const Home = () => {
150140
borderColor: '#808080',
151141
borderRadius: '5px',
152142
textTransform: 'lowercase',
153-
fontSize: '12px',
143+
fontSize: '13px',
154144
fontWeight: '300',
155145
padding: '4px 6px',
156146
minWidth: 'auto',

0 commit comments

Comments
 (0)