Skip to content

Commit

Permalink
Dark Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
GaelKBertrand committed Jan 18, 2024
1 parent db8e6e9 commit 2b072a1
Show file tree
Hide file tree
Showing 7 changed files with 173 additions and 0 deletions.
25 changes: 25 additions & 0 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,31 @@
<script>window.gtranslateSettings = {"default_language":"en","detect_browser_language":true,"languages":["en","fr","de","it","es","hi","ar","zh-CN","ru","af","sw","ur","am","xh"],"wrapper_selector":".gtranslate_wrapper","flag_size":16,"switcher_horizontal_position":"right","switcher_vertical_position":"top","flag_style":"3d","alt_flags":{"en":"usa"},"switcher_text_color":"#f7f7f7","switcher_arrow_color":"#f2f2f2","switcher_border_color":"#161616","switcher_background_color":"#303030","switcher_background_shadow_color":"#474747","switcher_background_hover_color":"#3a3a3a","dropdown_text_color":"#eaeaea","dropdown_hover_color":"#748393","dropdown_background_color":"#474747"}</script>
<script src="https://cdn.gtranslate.net/widgets/latest/dwf.js" defer></script>
<!--Translator-->

<!--Dark Mode-->

<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/darkmode-js.min.js"></script>
<script>
// Options for the Darkmode widget
const options = {
bottom: '64px',
right: 'unset',
left: '32px',
time: '0.5s',
mixColor: '#fff',
backgroundColor: '#fff',
buttonColorDark: '#100f2c',
buttonColorLight: '#fff',
saveInCookies: false,
label: '🌓',
autoMatchOsTheme: true
};

// Initialize Darkmode widget with options
const darkmode = new Darkmode(options);
darkmode.showWidget();
</script>
<!--Dark Mode-->

<section data-bs-version="5.1" class="menu menu2 cid-tYYodSkNi2" once="menu" id="menu2-6">

Expand Down
24 changes: 24 additions & 0 deletions addendum.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,28 @@
<div class="gtranslate_wrapper"></div>
<script>window.gtranslateSettings = {"default_language":"en","detect_browser_language":true,"languages":["en","fr","de","it","es","hi","ar","zh-CN","ru","af","sw","ur","am","xh"],"wrapper_selector":".gtranslate_wrapper","flag_size":16,"switcher_horizontal_position":"right","switcher_vertical_position":"top","flag_style":"3d","alt_flags":{"en":"usa"},"switcher_text_color":"#f7f7f7","switcher_arrow_color":"#f2f2f2","switcher_border_color":"#161616","switcher_background_color":"#303030","switcher_background_shadow_color":"#474747","switcher_background_hover_color":"#3a3a3a","dropdown_text_color":"#eaeaea","dropdown_hover_color":"#748393","dropdown_background_color":"#474747"}</script>
<script src="https://cdn.gtranslate.net/widgets/latest/dwf.js" defer></script>
-->

<!-- Dark mode
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/darkmode-js.min.js"></script>
<script>
// Options for the Darkmode widget
const options = {
bottom: '64px',
right: 'unset',
left: '32px',
time: '0.5s',
mixColor: '#fff',
backgroundColor: '#fff',
buttonColorDark: '#100f2c',
buttonColorLight: '#fff',
saveInCookies: false,
label: '🌓',
autoMatchOsTheme: true
};
// Initialize Darkmode widget with options
const darkmode = new Darkmode(options);
darkmode.showWidget();
</script>
-->
25 changes: 25 additions & 0 deletions contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,31 @@
<script src="https://cdn.gtranslate.net/widgets/latest/dwf.js" defer></script>
<!--Translator-->

<!--Dark Mode-->

<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/darkmode-js.min.js"></script>
<script>
// Options for the Darkmode widget
const options = {
bottom: '64px',
right: 'unset',
left: '32px',
time: '0.5s',
mixColor: '#fff',
backgroundColor: '#fff',
buttonColorDark: '#100f2c',
buttonColorLight: '#fff',
saveInCookies: false,
label: '🌓',
autoMatchOsTheme: true
};

// Initialize Darkmode widget with options
const darkmode = new Darkmode(options);
darkmode.showWidget();
</script>
<!--Dark Mode-->


<section data-bs-version="5.1" class="menu menu2 cid-tYYVrRbq1w" once="menu" id="menu2-2h">

Expand Down
25 changes: 25 additions & 0 deletions freequote.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,31 @@
<script src="https://cdn.gtranslate.net/widgets/latest/dwf.js" defer></script>
<!--Translator-->

<!--Dark Mode-->

<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/darkmode-js.min.js"></script>
<script>
// Options for the Darkmode widget
const options = {
bottom: '64px',
right: 'unset',
left: '32px',
time: '0.5s',
mixColor: '#fff',
backgroundColor: '#fff',
buttonColorDark: '#100f2c',
buttonColorLight: '#fff',
saveInCookies: false,
label: '🌓',
autoMatchOsTheme: true
};

// Initialize Darkmode widget with options
const darkmode = new Darkmode(options);
darkmode.showWidget();
</script>
<!--Dark Mode-->


<section data-bs-version="5.1" class="menu menu2 cid-tYYW8hgI7S" once="menu" id="menu2-30">

Expand Down
25 changes: 25 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,31 @@
<script>window.gtranslateSettings = {"default_language":"en","detect_browser_language":true,"languages":["en","fr","de","it","es","hi","ar","zh-CN","ru","af","sw","ur","am","xh"],"wrapper_selector":".gtranslate_wrapper","flag_size":16,"switcher_horizontal_position":"right","switcher_vertical_position":"top","flag_style":"3d","alt_flags":{"en":"usa"},"switcher_text_color":"#f7f7f7","switcher_arrow_color":"#f2f2f2","switcher_border_color":"#161616","switcher_background_color":"#303030","switcher_background_shadow_color":"#474747","switcher_background_hover_color":"#3a3a3a","dropdown_text_color":"#eaeaea","dropdown_hover_color":"#748393","dropdown_background_color":"#474747"}</script>
<script src="https://cdn.gtranslate.net/widgets/latest/dwf.js" defer></script>
<!--Translator-->

<!--Dark Mode-->

<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/darkmode-js.min.js"></script>
<script>
// Options for the Darkmode widget
const options = {
bottom: '64px',
right: 'unset',
left: '32px',
time: '0.5s',
mixColor: '#fff',
backgroundColor: '#fff',
buttonColorDark: '#100f2c',
buttonColorLight: '#fff',
saveInCookies: false,
label: '🌓',
autoMatchOsTheme: true
};

// Initialize Darkmode widget with options
const darkmode = new Darkmode(options);
darkmode.showWidget();
</script>
<!--Dark Mode-->

<section data-bs-version="5.1" class="menu menu2 cid-sFCw1qGFAI" once="menu" id="menu2-23">

Expand Down
24 changes: 24 additions & 0 deletions industries.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,30 @@
<script>window.gtranslateSettings = {"default_language":"en","detect_browser_language":true,"languages":["en","fr","de","it","es","hi","ar","zh-CN","ru","af","sw","ur","am","xh"],"wrapper_selector":".gtranslate_wrapper","flag_size":16,"switcher_horizontal_position":"right","switcher_vertical_position":"top","flag_style":"3d","alt_flags":{"en":"usa"},"switcher_text_color":"#f7f7f7","switcher_arrow_color":"#f2f2f2","switcher_border_color":"#161616","switcher_background_color":"#303030","switcher_background_shadow_color":"#474747","switcher_background_hover_color":"#3a3a3a","dropdown_text_color":"#eaeaea","dropdown_hover_color":"#748393","dropdown_background_color":"#474747"}</script>
<script src="https://cdn.gtranslate.net/widgets/latest/dwf.js" defer></script>
<!--Translator-->
<!--Dark Mode-->

<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/darkmode-js.min.js"></script>
<script>
// Options for the Darkmode widget
const options = {
bottom: '64px',
right: 'unset',
left: '32px',
time: '0.5s',
mixColor: '#fff',
backgroundColor: '#fff',
buttonColorDark: '#100f2c',
buttonColorLight: '#fff',
saveInCookies: false,
label: '🌓',
autoMatchOsTheme: true
};

// Initialize Darkmode widget with options
const darkmode = new Darkmode(options);
darkmode.showWidget();
</script>
<!--Dark Mode-->

<section data-bs-version="5.1" class="menu menu2 cid-tYYN21GMcb" once="menu" id="menu2-r">

Expand Down
25 changes: 25 additions & 0 deletions services.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,31 @@
<script src="https://cdn.gtranslate.net/widgets/latest/dwf.js" defer></script>
<!--Translator-->

<!--Dark Mode-->

<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/darkmode-js.min.js"></script>
<script>
// Options for the Darkmode widget
const options = {
bottom: '64px',
right: 'unset',
left: '32px',
time: '0.5s',
mixColor: '#fff',
backgroundColor: '#fff',
buttonColorDark: '#100f2c',
buttonColorLight: '#fff',
saveInCookies: false,
label: '🌓',
autoMatchOsTheme: true
};

// Initialize Darkmode widget with options
const darkmode = new Darkmode(options);
darkmode.showWidget();
</script>
<!--Dark Mode-->


<section data-bs-version="5.1" class="menu menu2 cid-tYYPu39af4" once="menu" id="menu2-19">

Expand Down

0 comments on commit 2b072a1

Please sign in to comment.