added tuicss

This commit is contained in:
randogoth 2026-05-16 11:34:31 +03:00
parent ff83815c4a
commit cea809d26d
35 changed files with 3048 additions and 67 deletions

View file

@ -1,15 +1,11 @@
function pickColors() {
const backgrounds = [
const highlights = [
"#000000", // Black
"#0000AA", // Blue
];
const highlights = [
"#00AA00", // Green
"#00AAAA", // Cyan
"#AA00AA", // Magenta
"#AA5500", // Brown
"#AAAA00", // Yellow
"#AA0000", // Red
"#555555", // Dark Gray
"#5555FF", // Bright Blue
@ -26,10 +22,15 @@ function pickColors() {
};
}
const { background, highlight } = pickColors();
const { background } = pickColors();
document.querySelector('.home').style.backgroundColor = background;
document.querySelector('#blog-title').firstElementChild.style.backgroundColor = highlight;
const blogTitle = document.querySelector('#blog-title').firstElementChild;
blogTitle.style.color = "#FFFF55"; // Bright Yellow
// setInterval(() => {
// blogTitle.style.color = pickColors().highlight;
// }, 120);
let scrollHeight = Math.max(
document.body.scrollHeight, document.documentElement.scrollHeight,