Initial commit from Astro
This commit is contained in:
171
src/data/blog/predefined-color-schemes.md
Normal file
171
src/data/blog/predefined-color-schemes.md
Normal file
@@ -0,0 +1,171 @@
|
||||
---
|
||||
author: Sat Naing
|
||||
pubDatetime: 2022-09-26T12:13:24Z
|
||||
modDatetime: 2024-01-04T09:09:06Z
|
||||
title: Predefined color schemes
|
||||
slug: predefined-color-schemes
|
||||
featured: false
|
||||
draft: false
|
||||
tags:
|
||||
- color-schemes
|
||||
description:
|
||||
Some of the well-crafted, predefined color schemes for AstroPaper blog
|
||||
theme.
|
||||
---
|
||||
|
||||
I've crafted some predefined color schemes for this AstroPaper blog theme. You can replace these color schemes with the original ones.
|
||||
|
||||
If you don't know how you can configure color schemes, check [this blog post](https://astro-paper.pages.dev/posts/customizing-astropaper-theme-color-schemes/).
|
||||
|
||||
## Table of contents
|
||||
|
||||
## Light color schemes
|
||||
|
||||
Light color scheme has to be defined using the css selector `:root` and `html[data-theme="light"]`.
|
||||
|
||||
### Lobster
|
||||
|
||||

|
||||
|
||||
```css
|
||||
:root,
|
||||
html[data-theme="light"] {
|
||||
--background: #f6eee1;
|
||||
--foreground: #012c56;
|
||||
--accent: #e14a39;
|
||||
--muted: #efd8b0;
|
||||
--border: #dc9891;
|
||||
}
|
||||
```
|
||||
|
||||
### Leaf Blue
|
||||
|
||||

|
||||
|
||||
```css
|
||||
:root,
|
||||
html[data-theme="light"] {
|
||||
--background: #f2f5ec;
|
||||
--foreground: #353538;
|
||||
--accent: #1158d1;
|
||||
--muted: #bbc789;
|
||||
--border: #7cadff;
|
||||
}
|
||||
```
|
||||
|
||||
### Pinky light
|
||||
|
||||

|
||||
|
||||
```css
|
||||
:root,
|
||||
html[data-theme="light"] {
|
||||
--background: #fafcfc;
|
||||
--foreground: #222e36;
|
||||
--accent: #d3006a;
|
||||
--muted: #f1bad4;
|
||||
--border: #e3a9c6;
|
||||
}
|
||||
```
|
||||
|
||||
## Dark color schemes
|
||||
|
||||
Dark color scheme has to be defined as `html[data-theme="dark"]`.
|
||||
|
||||
### AstroPaper 1 original Dark Theme
|
||||
|
||||

|
||||
|
||||
```css
|
||||
html[data-theme="dark"] {
|
||||
--background: #2f3741;
|
||||
--foreground: #e6e6e6;
|
||||
--accent: #1ad9d9;
|
||||
--muted: #596b81;
|
||||
--border: #3b4655;
|
||||
}
|
||||
```
|
||||
|
||||
### Deep Oyster
|
||||
|
||||

|
||||
|
||||
```css
|
||||
html[data-theme="dark"] {
|
||||
--background: #21233d;
|
||||
--foreground: #f4f7f5;
|
||||
--accent: #ff5256;
|
||||
--muted: #4a4e86;
|
||||
--border: #b12f32;
|
||||
}
|
||||
```
|
||||
|
||||
### Pikky dark
|
||||
|
||||

|
||||
|
||||
```css
|
||||
html[data-theme="dark"] {
|
||||
--background: #353640;
|
||||
--foreground: #e9edf1;
|
||||
--accent: #ff78c8;
|
||||
--muted: #715566;
|
||||
--border: #86436b;
|
||||
}
|
||||
```
|
||||
|
||||
### Astro dark (High Contrast)
|
||||
|
||||

|
||||
|
||||
```css
|
||||
html[data-theme="dark"] {
|
||||
--background: #212737;
|
||||
--foreground: #eaedf3;
|
||||
--accent: #ff6b01;
|
||||
--muted: #8a3302;
|
||||
--border: #ab4b08;
|
||||
}
|
||||
```
|
||||
|
||||
### Astro dark (New default dark theme in AstroPaper 2)
|
||||
|
||||

|
||||
|
||||
```css
|
||||
html[data-theme="dark"] {
|
||||
--background: #212737; /* lower contrast background */
|
||||
--foreground: #eaedf3;
|
||||
--accent: #ff6b01;
|
||||
--muted: #8a3302;
|
||||
--border: #ab4b08;
|
||||
}
|
||||
```
|
||||
|
||||
### Astro Deep Purple (New dark theme in AstroPaper 3)
|
||||
|
||||

|
||||
|
||||
```css
|
||||
html[data-theme="dark"] {
|
||||
--background: #212737;
|
||||
--foreground: #eaedf3;
|
||||
--accent: #eb3fd3;
|
||||
--muted: #7d4f7c;
|
||||
--border: #642451;
|
||||
}
|
||||
```
|
||||
|
||||
### AstroPaper v4 Special (New dark theme in AstroPaper 4)
|
||||
|
||||

|
||||
|
||||
```css
|
||||
html[data-theme="dark"] {
|
||||
--background: #000123;
|
||||
--accent: #617bff;
|
||||
--foreground: #eaedf3;
|
||||
--muted: #0c0e4f;
|
||||
--border: #303f8a;
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user