diff --git a/partials/navbar.html b/partials/navbar.html
index 5fac51a..25ab6f4 100644
--- a/partials/navbar.html
+++ b/partials/navbar.html
@@ -67,6 +67,7 @@
+
Color Scheme
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 44cfbc6..51f3a9d 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -23,9 +23,6 @@ importers:
material-icons:
specifier: ^1.13.8
version: 1.13.12
- prismjs:
- specifier: ^1.29.0
- version: 1.29.0
vite-plugin-handlebars:
specifier: ^1.6.0
version: 1.6.0(sass@1.69.0)
@@ -3890,11 +3887,6 @@ packages:
engines: {node: '>=6'}
dev: true
- /prismjs@1.29.0:
- resolution: {integrity: sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==}
- engines: {node: '>=6'}
- dev: false
-
/proc-log@3.0.0:
resolution: {integrity: sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A==}
engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
diff --git a/src/main.ts b/src/main.ts
index 34fdbdd..215f378 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -1,10 +1,8 @@
import { config } from "../config.materialize";
import { M } from "@materializecss/materialize";
import "./style.scss";
-//import Prism from "prismjs";
-//import "prismjs/themes/prism.min.css";
import { argbFromHex, themeFromSourceColor } from "@material/material-color-utilities";
-import { Themes } from "./themes";
+//import { Themes } from "./themes";
import { autocompleteDemoData } from "./data-autocomplete";
import hljs from "highlight.js";
@@ -36,7 +34,7 @@ function is_touch_device() {
globalThis.M = M;
document.addEventListener("DOMContentLoaded", async function () {
- const themes = new Themes(document);
+ //const themes = new Themes(document);
// CSS > Colors
document.querySelectorAll(".dynamic-color .col > div").forEach((el) => {
@@ -165,6 +163,7 @@ document.addEventListener("DOMContentLoaded", async function () {
(document.querySelector("#nav-mobile") as HTMLElement).style.overflow = "auto";
}
+ /*
themes.applyThemeProperties();
const themeSwitch = document.querySelector("#theme-switch");
@@ -193,6 +192,7 @@ document.addEventListener("DOMContentLoaded", async function () {
toggleColorsButton?.addEventListener("change", () => {
themes.setThemePrimaryColor(toggleColorsButton.value);
});
+ */
// Copy Button
const copyBtn = Array.prototype.slice.call(document.querySelectorAll(".copyButton"));
diff --git a/src/style.scss b/src/style.scss
index d9fe4be..8790197 100644
--- a/src/style.scss
+++ b/src/style.scss
@@ -1,19 +1,16 @@
@import "material-icons/iconfont/material-icons.css";
@import "@materializecss/materialize/sass/materialize.scss";
-$border-color: $divider-color;
-$font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
-/***************
- HTML Styles
-***************/
+/*
+$border-color: var(--md-sys-color-outline-variant);
+$font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
body {
- //background-color: #fcfcfc;
- color: $text-color;
+ //color: $text-color;
+ //background-color: var(--md-sys-color-background);
line-height: 1.6;
font-size: 16px;
-webkit-font-smoothing: antialiased;
- background-color: var(--background-color);
}
p.box {
@@ -81,9 +78,7 @@ footer.example {
}
}
-/********************
- Index Page Styles
-********************/
+// Index Page Styles
#logo-container {
margin: 0;
@@ -111,7 +106,6 @@ footer.example {
}
.intro {
- //background-color: color-mix(in srgb, var(--primary-color) 30%, var(--background-color));
padding: 6rem 0;
}
@@ -314,9 +308,7 @@ a.sidenav-trigger.top-nav {
overflow: hidden;
}
-/*******************
- Flat Site Mockup
-*******************/
+// Flat Site Mockup
#site-layout-example-left {
background-color: color("blue-grey", "lighten-2");
@@ -357,12 +349,7 @@ a.sidenav-trigger.top-nav {
}
}
-/**********************
-**********************/
-
-/*****************
- Chrome Browser
-*****************/
+// Chrome Browser
$bottomColor: #e2e2e1;
$topColor: lighten($bottomColor, 2%);
@@ -428,9 +415,6 @@ $height: auto;
clear: both;
}
-/**********************
-**********************/
-
// Color Wheel
.dynamic-color {
.red,
@@ -576,47 +560,9 @@ pre:has(code) {
:not(pre) > code[class*="language-"] {
padding: 0.1em 0.25em;
- border: solid 1px $divider-color;
-}
-
-// Styles code blocks
-/*
-pre[class*="language-"] {
- &:before {
- position: absolute;
- padding: 1px 5px;
- background: var(--background-color-level-16dp-solid);
- top: 0;
- left: 0;
- font-family: $font-stack;
- -webkit-font-smoothing: antialiased;
- color: $font-color-medium;
- content: attr(class);
- font-size: 0.9rem;
- border: solid 1px $divider-color;
- border-top: none;
- border-left: none;
- }
- padding: 25px 12px 7px 12px;
- border: solid 1px $divider-color;
- background: var(--background-color-slight-emphasis);
-}
-*/
-
-.token.operator {
- background: transparent;
+ border: solid 1px var(--md-sys-color-outline-variant);
}
-/*
-pre[class*="language-"],
-code[class*="language-"] {
- line-height: 1.3;
-}
-code[class*="language-"] {
- color: $font-color-main;
-}
-*/
-
// Styles one-liners
:not(pre) > code[class*="language-"] {
background: var(--background-color-slight-emphasis);
@@ -645,8 +591,6 @@ code[class*="language-"] {
cursor: pointer;
}
-/**********************************/
-
@keyframes rotate {
0% {
transform: rotate(0deg);
@@ -668,8 +612,6 @@ code[class*="language-"] {
border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}
-/***************************************/
-
.toc-wrapper {
&.pin-bottom {
margin-top: 84px;
@@ -892,3 +834,5 @@ body.parallax-demo footer {
}
}
}
+
+*/