Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
6dc8426
page and vue import
escherwd Jul 27, 2023
b3ae299
Merge pull request #10 from open-function-computers-llc/dark-mode-fea…
lapubell Jul 27, 2023
86cb541
beginning fields
escherwd Jul 28, 2023
bde618e
enable options
escherwd Jul 29, 2023
bf0722a
options pages and menu locations
escherwd Jul 31, 2023
ac2141d
custom post type modal
escherwd Aug 1, 2023
c78bc24
custom post type beginning functionality
escherwd Aug 2, 2023
5a4d6ed
implemented torchlight
gabriel-johnson Aug 7, 2023
f23ed36
Merge pull request #11 from open-function-computers-llc/torchlight
lapubell Aug 8, 2023
d70b364
labels editing options
escherwd Aug 8, 2023
84530dc
reorder inputs
escherwd Aug 8, 2023
be46eff
Fixed not index.html bug
gabriel-johnson Aug 8, 2023
ce9df9d
Merge pull request #12 from open-function-computers-llc/torchlight
lapubell Aug 8, 2023
5e45513
vue now bundled, initial config generation
escherwd Aug 9, 2023
0a79a7e
dark mode support/reset button
escherwd Sep 8, 2023
e7bceb7
fields generator first implementation
escherwd Sep 14, 2023
1b05886
config file uploading support
escherwd Sep 26, 2023
07f35e0
file uploads for fields generator
escherwd Oct 2, 2023
b62dfe5
Merge branch 'main' into config-generator
escherwd Oct 2, 2023
80d91a7
re-add highlight.js for generator
escherwd Oct 2, 2023
89766ce
Revert "file uploads for fields generator"
escherwd Oct 2, 2023
193aad4
implemented torchlight
gabriel-johnson Aug 7, 2023
faf5372
Merge branch 'main' into config-generator
escherwd Oct 3, 2023
b20db04
fix code theme
escherwd Oct 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ resources
TODO
.vscode/settings.json
.DS_Store
yarn.lock
.gitignore
cache
.env
Empty file added .hugo_build.lock
Empty file.
6 changes: 5 additions & 1 deletion assets/js/bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
import 'bootstrap/dist/js/bootstrap.bundle.min.js'
import * as bootstrap from 'bootstrap/dist/js/bootstrap.bundle.min.js'
// import 'bootstrap/dist/js/bootstrap.min.js'

// export default Modal;
window.bootstrap = bootstrap;
export default bootstrap;
6 changes: 5 additions & 1 deletion assets/js/darkmode.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@ const isDarkMode = window.matchMedia && window.matchMedia('(prefers-color-scheme
document.getElementById('mode').addEventListener('click', () => {

document.body.classList.toggle('dark');
localStorage.setItem('theme', document.body.classList.contains('dark') ? 'dark' : 'light');
let newTheme = document.body.classList.contains('dark') ? 'dark' : 'light';
localStorage.setItem('theme', newTheme);

document.body.setAttribute('data-bs-theme',newTheme);

});

if (localStorage.getItem('theme') === 'dark') {

document.body.classList.add('dark');
document.body.setAttribute('data-bs-theme','dark');

}

Expand Down
Loading