feat: fix stuff
This commit is contained in:
parent
c08e4ce9d5
commit
90e139a22f
7 changed files with 26 additions and 17 deletions
|
|
@ -1,5 +1,3 @@
|
|||
import { getTopicColor } from "../../src/utils/colors.js";
|
||||
|
||||
const TERMINAL_PROMPT = "barrett@ruth:~$ ";
|
||||
let typing = false;
|
||||
let clearing = false;
|
||||
|
|
@ -108,7 +106,7 @@ document.addEventListener("DOMContentLoaded", function () {
|
|||
const topicName = topic.dataset.topic;
|
||||
|
||||
topic.addEventListener("mouseenter", () => {
|
||||
const color = getTopicColor(topicName);
|
||||
const color = window.getTopicColor(topicName);
|
||||
topic.style.color = color;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue