Git Product home page Git Product logo

logseq-flow-nord's Introduction

🧠 Logseq Flow Nord Theme

A minimal theme that focuses on a clean and sleek interface that's soft on the edges.

NordTheme-wallpaper

  • Clean stylish theme that focuses on simplicity rather than flashy
  • Curved edges over jagged edges
  • Reference Panels Style around each match rather than each document
  • Improved block ref styling
  • Six built-in color palettes
  • A large variety of color palettes

Logseq now officially supports accents and introduces its own variation of themes. Logseq Flow Nord Theme doesn't support offical accent colors. Select no accent color (1st color option) for the max compatibility.

image

🚀 Demo

custom_theme.mp4

Caution: Styles may NOT up to date !

Flow Nord Theme style (Demo)

image

Flow Nord Theme Dark mode (Demo)

image

Flow Nord Theme Light mode (Demo)

image

⌨️ Installation

Manually:

  • Clone or Download the latest release
    • If downloaded unpack the ZIP contents to a safe location
  • In logseq enable the developer mode
  • Open the Plugin Manager window ( ... -> Plugins )
  • Click on "Load unpacked plugin"
  • Navigatge to the folder you either cloned or unpacked

Logseq Marketplace:

  • Open the Logseq Marketplace
  • Click on the "Themes" tab
  • Search for Flow Nord Theme
  • Click on the "Install" button.

❓️ Usage

Use built-in color palettes

  1. Click «...» and open the «Themes»
  2. Select Flow Nord Theme-* in theme menu.

Use Custom color palettes

  1. select Flow Nord Theme-custom theme
  2. add the following code in custom.css
@import url("https://cdn.jsdelivr.net/gh/henices/logseq-flow-nord@main/src/palettes/newsprint.css");

Then we get newsprint color palette in both light and dark mode.

See Custom Color Palette section for more details.

📱️Use Flow Nord Theme in Mobile

  1. In mobile Logseq: tap «...» and open the «Settings»
  2. Tap «Edit custom.css»
  3. Insert this code to the top of custom.css
  • Nord (light & dark)
@import url("https://cdn.jsdelivr.net/gh/henices/logseq-flow-nord@main/nord.css");
  • catppuccin latte (light)
@import url("https://cdn.jsdelivr.net/gh/henices/logseq-flow-nord@main/latte.css");
  • Sepia (light)
@import url("https://cdn.jsdelivr.net/gh/henices/logseq-flow-nord@main/sepia.css");
  • Xiaobot (light)
@import url("https://cdn.jsdelivr.net/gh/henices/logseq-flow-nord@main/xiaobot.css");
  • Onedark (dark)
@import url("https://cdn.jsdelivr.net/gh/henices/logseq-flow-nord@main/onedark.css");
  • catppuccin macchiato (dark)
@import url("https://cdn.jsdelivr.net/gh/henices/logseq-flow-nord@main/macchiato.css");
  • Dracula (dark)
@import url("https://cdn.jsdelivr.net/gh/henices/logseq-flow-nord@main/dracula.css");

If you want to use custom color palettes in mobile, add the following code to custom.css, you can set theme to newsprint color palette.

@import url("https://cdn.jsdelivr.net/gh/henices/logseq-flow-nord@main/src/palettes/newsprint.css");
@import url("https://cdn.jsdelivr.net/gh/henices/logseq-flow-nord@main/custom.css");

:root {
  --cl-font-size: 16px;
  --cl-line-height: 1.2;
  --ls-page-title-size: 24px;
}

Get other color palette here: https://github.com/henices/logseq-flow-nord/tree/main/src/palettes

If you ❤️ what I'm doing — consider to support my work

Buy Me A Coffee

🚀 Features

⚙️ Custom Settings

The custom.css file can take the following options to tweak the visuals.

:root {
  --cl-page-width: 900px;
  --cl-page-max-width: 100%;
  --cl-checkbox-background: hsl(var(--cl-accent), 0);
  --cl-checkbox-border: 1.7px;
  --cl-checkbox-radius: 2px;
  --cl-checkbox-opacity: 1;
  --cl-marker-color: var(--cl-primary);
  --cl-marker-pre-size: 0px;
  --cl-marker-size: 16px;
  --cl-mark-decoration: none;
  --cl-mark-background-color: var(--cl-primary), 0.0;
  --cl-mark-color: hsl(var(--cl-primary));
  --cl-tag-border: 10px;
  --cl-tag-color: var(--cl-text-color), 0.85;
  --cl-tag-background-color: var(--cl-text-color), 0.1;
  --cl-children-left-border: transparent;
  --cl-children-border-color: hsl(var(--cl-text-color), 0.15);
  --cl-selected-background-color: var(--cl-primary), 0.1;
  --cl-selected-color: var(--cl-primary), 1;
  --cl-font-family: "Euclid Circular A";
  --cl-font-size: 16px;
  --cl-font-weight: 400;
  --cl-font-family-code: "Fira Code";
  --cl-header-font: "Roboto Slab";
  --cl-title-font: "Roboto Slab";
}
  • --cl-font-family : set font famliy
  • --cl-font-size : set font size
  • --cl-font-weight : set font weight
  • --cl-font-family-code : set code font famliy
:root {
    --cl-font-family: "Source Han Sans SC VF", sans-serif;
    /*--cl-font-family: "PingFang SC", sans-serif;*/

    --cl-font-family-code: "Fira Code"; /* code font */
    --cl-font-size: 1.2rem;
    --cl-font-weight: 500;
}

🎨️ Custom Color Palette

palettes provides a large variety of color palettes, select your favorite one.

  1. copy the css code and paste to the custom.css
  2. select Flow Nord Theme-custom theme, enjoy :)

The following color options will only affect custom theme:

`--ct-primariy-color` (required)
`--ct-secondary-color` (required)
`--ct-accent-color` (required)
`--ct-text-color` (required)

`--ct-bg-color-h` (optional)
`--ct-bg-color-s` (optional)
`--ct-bg-color-l` (optional)
`--ct-bg-color` (optional)
`--ct-title-text-color` (optional)
`--ct-code-text-color` (optional)
`--ct-external-link-color` (optional)

Example custom.css:

.dark-theme,
html[data-theme='dark'] {
    --ct-bg-color-h: 210;
    --ct-bg-color-s: 16%;
    --ct-bg-color-l: 17%;
    --ct-bg-color: 210, 16%, 27%;
    --ct-text-color: 213, 22%, 92%;
    --ct-primariy-color: 186, 47%, 58%;
    --ct-secondary-color: 186, 63%, 36%;
    --ct-accent-color: 140, 39%, 77%;
}

.white-theme,
html[data-theme='light'] {
    --ct-bg-color-h: 0;
    --ct-bg-color-s: 0%;
    --ct-bg-color-l: 100%;
    --ct-bg-color: 0, 0%, 90%;
    --ct-text-color: 210, 16%, 33%;
    --ct-primariy-color: 186, 63%, 36%;
    --ct-secondary-color: 186, 47%, 58%;
    --ct-accent-color: 140, 33%, 42%;
}
custom_theme.mp4

📄️ Custom PDF Settings

Valid color options you can specify are --cl-pdf-light-background, --cl-pdf-dark-background, or --ls-icon-color.

.dark-theme, .light-theme {
    --cl-pdf-light-background: transparent;
    --cl-pdf-dark-background: transparent;
    --ls-icon-color: #8abbbb;
}

If you find that the text in a PDF is unclear, setting the background to "transparent" can improve the display. This may also resolve issues with displaying PDFs in Logseq's default theme under certain conditions.

pdf-background.mp4

Parallel blocks

This pure css parallel blocks solution is base on elgatopanzon's great work. You can now put any blocks side by side in a column view, simply by adding the tags #parallel-2 to the 2 blocks, or #parallel-3 to the 3 blocks. Additionally, the tags #parallel-small and #parallel-big work to have 2 blocks side by side with one taking more space than the other, similar to having a sidebar.

image

Story

The logseq-Flow theme was originally developed by a GitHub user named nmartin84. However, for some reason, @nmartin84 left the community. As a result, the Logseq-Flow repository was deleted from GitHub, and the Logseq-Flow theme is now in an unmaintained state.

As a backend engineer who uses Logseq on a daily basis, the Logseq-Flow theme is my favorite theme. Despite its unmaintained state, I see this as an opportunity for new beginnings in its development.

Bad3r, just wanted to let you know about the amazing NordTheme. When combined with the 'logseq flow theme', it creates the beautiful 'Flow Nord Theme'.

Recommend Logseq Plugins

Thanks

logseq-flow-nord's People

Contributors

henices avatar mbaker3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

mbaker3 ytok3a

logseq-flow-nord's Issues

Safe to update to 0.10.4?

I saw that the new nightly build breaks some existing themes. Is it safe to update to 0.10.4 if I use the Flow Nord theme?

theme on mobile

How to generate a min.css for this theme which supports nord light and nord dark theme?

I can then generate it and use it in custom.css of logseq. With this, the theme can work on mobile as well. Below is the example css of the other nord theme. Copy pasting this in custom.css, loads the theme on mobile.

@import url("https://cdn.jsdelivr.net/gh/bad3r/logseq-nord-theme@latest/custom.min.css");

Thanks for the awesome theme.

Mouse cursor doesn't change to input mode while using column function

您好,我非常喜欢您做的主题!现在也在使用它。但在使用时发现了在使用多列时光标会不显示的问题。
不开启多列时,无论鼠标离小圆点多远,只要当前行存在,鼠标指针就会变为输入的指针。但是开启多列后,有时鼠标指针不发生变化。
我在使用预设的模板,鼠标指针不变化会为输入带来一些困难。希望您可以优化它。
再次感谢您制作的主题!超赞!

Hello, I really like the theme you've created! I'm currently using it as well. However, while using it, I've encountered an issue with the cursor not showing when using multiple columns.
When not using multiple columns, regardless of how far the mouse is from the bullet point, as long as the current line exists, the mouse cursor changes to the input pointer. But when using multiple columns, sometimes the mouse cursor doesn't change.
I'm using the template function, and the cursor issue brings some difficulties to the input. I hope you can optimize it.
Thanks again for the theme you've made! It's fantastic!

API issue using loqseq on 2 different computers

Hello,

I'm using loqseq on two different computers: work and personal. When I try to download the flow nord theme, which I really like, on my 2nd computer (work) I get an error message and the theme doesn't really work for me.

I get this response:
82B4:1D7B6C:D80247:DA1D4F:659BD5BF.","documentation_url":"https://docs.github.com/rest/overview/rate-limits-for-the-rest-api\"}"]

There seems to be an API issue, using the theme on two different computers.

Is there something I can do to fix this?

All the best,
J.

Bring back Tana-styled bullet blocks

Hi!

Thank you for picking up the Flow theme and continuing this great work.

One featured I used extensively with the original Flow theme was the Tana-styled bullet blocks, however it seems your port does not support this feature.

Would it be possible to support it ?

Thank you

Gruvbox Light uses invalid background color

Gruvbox light theme uses invalid background color, but Dark variant is correct:

Gruvbox light:

image

Gruvbox dark:

image

CSS file was generated using gen_custom_css.sh script.

Note that src/palettes/gruvbox.css file contained typos and old variables names, so I had to modify it a bit:

.dark-theme,
html[data-theme='dark'] {
    --background-color-h: 0;
    --background-color-s: 0%;
    --background-color-l: 16%;
    --cl-background: 0,0%,26%;
    --cl-text-color: 38, 41%, 71%;
    --cl-primary: 24, 76%, 61%;
    --cl-accent: 167, 23%, 59%;
    --cl-secondary: 70, 36%, 55%;
}

.white-theme,
html[data-theme='light'] {
    --background-color-h: 46;
    --background-color-s: 33%;
    --background-color-l: 84%;
    --cl-background: 46,33%,74%;
    --cl-text-color: 36,14%,22%;
    --cl-primary: 0,49%,52%;
    --cl-secondary: 191,28%,37%;
    --cl-accent: 70,45%,33%;
}

Misalignment in admonitions when using the ones provided by Admonition Panels plugin

Hi I'm using Logseq Flow Nord theme with admonitions provided by the Admonition Panels plugin (https://github.com/nmartin84/admonition-panels)

The visual rendering of such admonitions is somehow broken (see the misalignment between upper and lower part of the admonition)

image

No problems when using the regular admonitions provided by Logseq itself

#+BEGIN_TIP
Tutorial Videos: [Tutorial Videos | Cypress Documentation](https://docs.cypress.io/examples/examples/tutorials)
#+END_TIP

results in

image

My environment:

  • Logseq 0.9.8
  • Admonition Panels plugin 0.1.1
  • Logseq Flow Nord 0.1.2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.