Skip to content

Commit

Permalink
finally dark mode issues fixed and darkmode button gone antardhyan
Browse files Browse the repository at this point in the history
  • Loading branch information
pineapples5972 committed Feb 11, 2025
1 parent 2d6e506 commit 78c217f
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 12 deletions.
2 changes: 1 addition & 1 deletion public/index.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/index.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions public/prescript.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/tags/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/tags/introduction.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion quartz.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const config: QuartzConfig = {
defaultMode: 'dark',
colors: {
lightMode: {
light: "#0c0d18ed",
light: "#121212ed",
lightgray: "#5b2041",
gray: "#cb3087",
darkgray: "#d4d4d4",
Expand Down
4 changes: 2 additions & 2 deletions quartz.layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const defaultContentPageLayout: PageLayout = {
],
left: [
Component.PageTitle(),
//Component.Darkmode(),
Component.Darkmode(),
Component.MobileOnly(Component.Spacer()),
Component.MobileOnly(ExtraComponent.OverlayExplorer(
{filterFn: (node) => (node.name !== "tags" && node.name !== "License")},
Expand All @@ -54,7 +54,7 @@ export const defaultListPageLayout: PageLayout = {
beforeBody: [Component.Breadcrumbs(), Component.ArticleTitle(), Component.ContentMeta()],
left: [
Component.PageTitle(),
//Component.Darkmode(),
Component.Darkmode(),
Component.MobileOnly(Component.Spacer()),
Component.MobileOnly(ExtraComponent.OverlayExplorer(
{filterFn: (node) => (node.name !== "tags" && node.name !== "License")},
Expand Down
16 changes: 12 additions & 4 deletions quartz/.quartz-cache/transpiled-build.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion quartz/.quartz-cache/transpiled-build.mjs.map

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions quartz/styles/custom.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
@use "./base.scss";

// put your custom CSS here!
html {
background-color: var(--light);
}


body {
background: url(images/hrim.png) no-repeat fixed;
background-size: cover;
Expand Down Expand Up @@ -122,3 +127,7 @@ body {
align-items: center;
justify-content: center;
}

.darkmode {
display: none;
}

0 comments on commit 78c217f

Please sign in to comment.