diff --git a/images/nav-icons/abstract-class-kotlin.svg b/images/nav-icons/abstract-class-kotlin.svg new file mode 100644 index 0000000..a2069b8 --- /dev/null +++ b/images/nav-icons/abstract-class-kotlin.svg @@ -0,0 +1,22 @@ + diff --git a/images/nav-icons/abstract-class.svg b/images/nav-icons/abstract-class.svg new file mode 100644 index 0000000..6018203 --- /dev/null +++ b/images/nav-icons/abstract-class.svg @@ -0,0 +1,20 @@ + + diff --git a/images/nav-icons/annotation-kotlin.svg b/images/nav-icons/annotation-kotlin.svg new file mode 100644 index 0000000..932f1d3 --- /dev/null +++ b/images/nav-icons/annotation-kotlin.svg @@ -0,0 +1,9 @@ + diff --git a/images/nav-icons/annotation.svg b/images/nav-icons/annotation.svg new file mode 100644 index 0000000..b80c54b --- /dev/null +++ b/images/nav-icons/annotation.svg @@ -0,0 +1,7 @@ + + diff --git a/images/nav-icons/class-kotlin.svg b/images/nav-icons/class-kotlin.svg new file mode 100644 index 0000000..46a21f6 --- /dev/null +++ b/images/nav-icons/class-kotlin.svg @@ -0,0 +1,9 @@ + diff --git a/images/nav-icons/class.svg b/images/nav-icons/class.svg new file mode 100644 index 0000000..3f1ad16 --- /dev/null +++ b/images/nav-icons/class.svg @@ -0,0 +1,7 @@ + + diff --git a/images/nav-icons/enum-kotlin.svg b/images/nav-icons/enum-kotlin.svg new file mode 100644 index 0000000..4a85459 --- /dev/null +++ b/images/nav-icons/enum-kotlin.svg @@ -0,0 +1,9 @@ + diff --git a/images/nav-icons/enum.svg b/images/nav-icons/enum.svg new file mode 100644 index 0000000..fa7f247 --- /dev/null +++ b/images/nav-icons/enum.svg @@ -0,0 +1,7 @@ + + diff --git a/images/nav-icons/exception-class.svg b/images/nav-icons/exception-class.svg new file mode 100644 index 0000000..c0b2bde --- /dev/null +++ b/images/nav-icons/exception-class.svg @@ -0,0 +1,7 @@ + + diff --git a/images/nav-icons/field-value.svg b/images/nav-icons/field-value.svg new file mode 100644 index 0000000..20449c9 --- /dev/null +++ b/images/nav-icons/field-value.svg @@ -0,0 +1,6 @@ + diff --git a/images/nav-icons/field-variable.svg b/images/nav-icons/field-variable.svg new file mode 100644 index 0000000..3b07450 --- /dev/null +++ b/images/nav-icons/field-variable.svg @@ -0,0 +1,6 @@ + diff --git a/images/nav-icons/function.svg b/images/nav-icons/function.svg new file mode 100644 index 0000000..f0da64a --- /dev/null +++ b/images/nav-icons/function.svg @@ -0,0 +1,7 @@ + + diff --git a/images/nav-icons/interface-kotlin.svg b/images/nav-icons/interface-kotlin.svg new file mode 100644 index 0000000..bf07a14 --- /dev/null +++ b/images/nav-icons/interface-kotlin.svg @@ -0,0 +1,9 @@ + diff --git a/images/nav-icons/interface.svg b/images/nav-icons/interface.svg new file mode 100644 index 0000000..32063ba --- /dev/null +++ b/images/nav-icons/interface.svg @@ -0,0 +1,7 @@ + + diff --git a/images/nav-icons/object.svg b/images/nav-icons/object.svg new file mode 100644 index 0000000..9f427de --- /dev/null +++ b/images/nav-icons/object.svg @@ -0,0 +1,9 @@ + diff --git a/index.html b/index.html index d79722d..51b4835 100644 --- a/index.html +++ b/index.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +