Skip to content

Commit cf3e95f

Browse files
committed
modify colors
1 parent cd1f8cd commit cf3e95f

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

_includes/head.liquid

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@
2222
{% endif %}
2323

2424
<!-- Fonts & Icons -->
25-
<!-- <link rel="icon" href="/assets/favicon/favicon.ico" sizes="32x32"> -->
2625
<link rel="icon" href="/assets/favicon/favicon.svg" type="image/svg+xml">
27-
<!-- <link rel="apple-touch-icon" href="/assets/favicon/apple-touch-icon.png"> -->
2826
<link href="/manifest.json" rel="manifest">
2927

3028
<link defer rel="stylesheet" href="{{ '/assets/css/academicons.min.css' | relative_url | bust_file_cache }}">

_includes/metadata.liquid

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@
5151
{% endunless %}
5252
{% endif %}
5353

54+
<!-- Colors -->
55+
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#3700b3">
56+
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#bb86fc">
57+
5458
{% if site.serve_og_meta %}
5559
<!-- OpenGraph -->
5660
<meta property="og:site_name" content="{{ title }}">

_sass/_variables.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ $red-color-dark: #b71c1c !default;
1111
$orange-color: #f29105 !default;
1212
$blue-color: #0076df !default;
1313
$blue-color-dark: #00369f !default;
14-
$cyan-color: #bb86fc !default;
14+
$cyan-color: #bb86fc !default; // Used for dark mode
1515
$light-cyan-color: color.adjust($cyan-color, $lightness: 25%);
1616
$green-color: #00ab37 !default;
1717
$green-color-lime: #b7d12a !default;
1818
$green-color-dark: #009f06 !default;
1919
$green-color-light: #ddffdd !default;
2020
$green-color-bright: #11d68b !default;
21-
$purple-color: #3700b3 !default;
21+
$purple-color: #3700b3 !default; // Used for light mode
2222
$light-purple-color: color.adjust($purple-color, $lightness: 25%);
2323
$pink-color: #f92080 !default;
2424
$pink-color-light: #ffdddd !default;
@@ -35,7 +35,7 @@ $black-color: #121212 !default;
3535
// Theme colors
3636

3737
$code-bg-color-light: rgba($purple-color, 0.05);
38-
$code-bg-color-dark: #2c3237 !default;
38+
$code-bg-color-dark: #141414 !default;
3939

4040
// Font awesome location
4141
$fa-font-path: "../webfonts";

0 commit comments

Comments
 (0)