Skip to content

Commit

Permalink
Set light theme as default theme
Browse files Browse the repository at this point in the history
  • Loading branch information
kranack committed Oct 12, 2024
1 parent 6a1d3c4 commit 2044f6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html lang="fr">
<html lang="fr" data-theme="light">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand All @@ -8,7 +8,7 @@

<script type="module" src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.js"></script>
<script async src="https://analytics.calesse.fr/script.js" data-website-id="53b97f47-5153-44ae-aa98-5034b2fba62a"></script>
<!--<script async src="https://analytics.calesse.fr/script.js" data-website-id="53b97f47-5153-44ae-aa98-5034b2fba62a"></script>-->
</head>
<body class="has-navbar-fixed-top">
<div id="root"></div>
Expand Down
2 changes: 1 addition & 1 deletion src/sections/GithubSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import { useEffect, useState } from "react";

function GithubSection({ username }) {
const [dataTheme, setDataTheme] = useState(null);
const [dataTheme, setDataTheme] = useState('light');

const onChange = (mutationList) => {
for (const mutation of mutationList) {
Expand Down

0 comments on commit 2044f6b

Please sign in to comment.