Sfoglia il codice sorgente

Spearhead: Update dark mode colors

Ben Dwyer 4 anni fa
parent
commit
df7544b17d

+ 6 - 1
spearhead/assets/sass/_posts-and-pages.scss

@@ -49,6 +49,7 @@
 	}
 	}
 
 
 	.entry-content {
 	.entry-content {
+		color: var(--sticky-posts--color-text);
 		font-size: var(--sticky-posts--entry-content-font-size);
 		font-size: var(--sticky-posts--entry-content-font-size);
 		> * {
 		> * {
 			color: var(--global--color-foreground-light);
 			color: var(--global--color-foreground-light);
@@ -90,4 +91,8 @@
 			margin-left: 1rem;
 			margin-left: 1rem;
 		}
 		}
 	}
 	}
-}
+}
+
+.single {
+	color: var(--global--color-foreground-light);
+}

+ 5 - 0
spearhead/style-rtl.css

@@ -83,6 +83,7 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 }
 }
 
 
 .post.sticky .entry-content {
 .post.sticky .entry-content {
+	color: var(--sticky-posts--color-text);
 	font-size: var(--sticky-posts--entry-content-font-size);
 	font-size: var(--sticky-posts--entry-content-font-size);
 }
 }
 
 
@@ -122,6 +123,10 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 	margin-right: 1rem;
 	margin-right: 1rem;
 }
 }
 
 
+.single {
+	color: var(--global--color-foreground-light);
+}
+
 .has-link-color a, a {
 .has-link-color a, a {
 	border-bottom: 1px solid transparent;
 	border-bottom: 1px solid transparent;
 	transition: all 0.1s ease;
 	transition: all 0.1s ease;

+ 5 - 0
spearhead/style.css

@@ -83,6 +83,7 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 }
 }
 
 
 .post.sticky .entry-content {
 .post.sticky .entry-content {
+	color: var(--sticky-posts--color-text);
 	font-size: var(--sticky-posts--entry-content-font-size);
 	font-size: var(--sticky-posts--entry-content-font-size);
 }
 }
 
 
@@ -122,6 +123,10 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 	margin-left: 1rem;
 	margin-left: 1rem;
 }
 }
 
 
+.single {
+	color: var(--global--color-foreground-light);
+}
+
 .has-link-color a, a {
 .has-link-color a, a {
 	border-bottom: 1px solid transparent;
 	border-bottom: 1px solid transparent;
 	transition: all 0.1s ease;
 	transition: all 0.1s ease;

File diff suppressed because it is too large
+ 0 - 0
spearhead/style.css.map


+ 6 - 4
spearhead/variables.css

@@ -83,6 +83,7 @@
 	--list--font-family: var(--global--font-secondary);
 	--list--font-family: var(--global--font-secondary);
 
 
 	/* Sticky Posts */
 	/* Sticky Posts */
+	--sticky-posts--color-text: var(--global--color-foreground);
 	--sticky-posts--color-background: #F9F9F9;
 	--sticky-posts--color-background: #F9F9F9;
 	--sticky-posts--entry-title-font-size: 24px;
 	--sticky-posts--entry-title-font-size: 24px;
 	--sticky-posts--entry-content-font-size: 20px;
 	--sticky-posts--entry-content-font-size: 20px;
@@ -97,17 +98,18 @@
 
 
 @media ( prefers-color-scheme: dark ) {
 @media ( prefers-color-scheme: dark ) {
 	:root {
 	:root {
-		--global--color-primary: #f00048;
+		--global--color-primary: #ff6a81;
 		--global--color-primary-hover: #ffffff;
 		--global--color-primary-hover: #ffffff;
-		--global--color-secondary: #c0c0c0;
+		--global--color-secondary: #b2b2b2;
 		--global--color-secondary-hover: #cccccc;
 		--global--color-secondary-hover: #cccccc;
 		--global--color-foreground: #b2b2b2;
 		--global--color-foreground: #b2b2b2;
 		--global--color-foreground-light: #ffffff;
 		--global--color-foreground-light: #ffffff;
-		--global--color-background: #080b11;
+		--global--color-background: #1e1f21;
 		--global--color-text-selection: #000000;
 		--global--color-text-selection: #000000;
 		--primary-nav--color-background: var(--global--color-foreground-light);
 		--primary-nav--color-background: var(--global--color-foreground-light);
-		--sticky-posts--color-background: #1E1F21;
 		--button--padding-vertical: 24px;
 		--button--padding-vertical: 24px;
 		--button--padding-horizontal: 32px;
 		--button--padding-horizontal: 32px;
+		--sticky-posts--color-background: #2d3139;
+		--sticky-posts--color-text: var(--global--color-foreground-light);
 	}
 	}
 }
 }

Some files were not shown because too many files changed in this diff