Skip to content
Permalink
Browse files
Update Index with custom Icons
  • Loading branch information
aa9863 committed Jan 15, 2021
1 parent 17fa2ff commit 5320cbe1eb8d7e7a99679e1bccc8190b28f244f5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 17 deletions.
@@ -16,7 +16,6 @@ changeTheme();

function changeTheme(){
lightMode = localStorage.getItem("lightMode");
console.log("CT: Light Mode is ", lightMode);
if (lightMode == "true"){
document.body.setAttribute("data-md-color-scheme", "default");
lightDiv.classList.remove("darkIcon");
@@ -32,16 +31,13 @@ function changeTheme(){
toggleDiv.onclick = function(){
console.log("Current Theme is", lightMode)
if (lightMode == "true"){
console.log("--> Set False");
lightMode = false;
}
else{
lightMode = true;
console.log("--> Set True");
}


localStorage.setItem("lightMode", lightMode);
console.log("Change Theme to", lightMode)
changeTheme();
}
@@ -2,29 +2,35 @@

This is the Index

!!! easytask "Easy Task"
Some Custom Admonitons

An Easy Task

!!! discuss

!!! task "The Task"
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et euismod
nulla. Curabitur feugiat, tortor non consequat finibus, justo purus auctor
massa, nec semper lorem quam in massa.
A question to think about and discuss on the Aula
It will usually come with a ```#tag```

!!! task

!!! hardtask "Hard Task"
A practical task to complete.
I love learning through doing. So we will have lots
of practical activities to complete.

This is a hard Task
There are also different levels of task

!!! discuss "Discuss"
!!! easytask "Easy Task"

Discuss this on Aula
You **should** be able to do this to pass the module

!!! task "Task"

Being able to complete this should give you a decent grade.

!!! hardtask "Hard Task"

**Optional** harder task for those who want to test their skills


!!! hacker "Hacker"

Bleh
- :custom-hacker:


0 comments on commit 5320cbe

Please sign in to comment.