question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[tutorial] support night dark mode

See original GitHub issue

Update: Icarus v4.1 night mode support

Github diff: https://github.com/imaegoo/hexo-theme-icarus/commit/ac92cdc5f87671e9ac67f4dbb85eb546b68d9bf4

Full theme pack download: https://github.com/imaegoo/hexo-theme-icarus/archive/night4.zip

Preview

preview

Live Preview

https://www.imaegoo.com/

Attention

This extension is NOT FULLY TESTED, so it may not fully cover the theme styles, if you find something wrong (such as bright things in night mode), please report it in this issue, do not open new issue.

Usage

  1. (FOR ICARUS 4.1) Merge night4 branch from imaegoo/hexo-theme-icarus into your icarus theme folder, or dowmload zip.

(FOR ICARUS 3.0) Merge night3 branch from imaegoo/hexo-theme-icarus into your icarus theme folder, or dowmload zip. (FOR ICARUS 2.0) Merge night branch from imaegoo/hexo-theme-icarus into your icarus theme folder, or dowmload zip.

  1. If you configured an image logo, you should prepare a logo for night mode, then apply them in themes/icarus/_config.yml.
logo:
    light: /images/logo.png
    dark: /images/logo-dark.png

Modify

If you want to customize your theme, you can modify themes/icarus/source/css/night.styl.

Thanks

Universe background from https://github.com/fan-lv/Fan

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:12
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
Anne416wucommented, Mar 9, 2020

屏幕在tablet大小的时候,navbar-menu会变白色,作以下修改即可

.navbar,
+.navbar-menu,
.card
        background-color: rgba(40,44,52,0.5)
        backdrop-filter: none
        -webkit-backdrop-filter: none
0reactions
Maizehsucommented, Aug 16, 2022

@imaegoo

The navbar stays white when the site is viewed on mobile. Just reporting

Anne416wu’s answer above solves the problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to implement Dark (Night) mode in Android app
Create a new Android Project · Create a layout and add a button or switch to toggle On/Off Dark Mode · Now Right...
Read more >
Android DayNight Theme for Night Mode in App - DigitalOcean
In this tutorial, we'll be discussing and using the Android DayNight theme in our application. If you have an app with reading materials...
Read more >
How to enable Amazon Dark Mode website easily for 0$ (FREE)
It will open the mini settings panel. Here you can open the Night Mode tab, and instantly can change the background, text, and...
Read more >
Use Dark Mode on your iPhone and iPad - Apple Support
Go to Settings, then tap Display & Brightness. Select Dark to turn on Dark Mode. To turn Dark Mode on and off in...
Read more >
How to enable dark mode on your phone, laptop, and more
Click “Display,” then toggle “Dark theme” on. Alternatively, you can pull down from the top of the display to reveal the Quick Settings,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found