Skip to content

add waline comment system support.#371

Open
SX1ang wants to merge 2 commits intoprobberechts:masterfrom
SX1ang:master
Open

add waline comment system support.#371
SX1ang wants to merge 2 commits intoprobberechts:masterfrom
SX1ang:master

Conversation

@SX1ang
Copy link
Copy Markdown

@SX1ang SX1ang commented Oct 10, 2023

Add Waline comment system support.

Preview :
image

but when the theme switches to dark mode, the color of waline doesn't change. The solution is add code as follows to themes\cactus\source\css_partial\comments.styl file:

:root {
  /* 常规颜色 */
  --waline-white: #000 !important;
  --waline-light-grey: #666 !important;
  --waline-dark-grey: #999 !important;

  /* 布局颜色 */
  --waline-color: #888 !important;
  --waline-bgcolor: #1e1e1e !important;
  --waline-bgcolor-light: #272727 !important;
  --waline-border-color: #333 !important;
  --waline-disable-bgcolor: #444 !important;
  --waline-disable-color: #272727 !important;

  /* 特殊颜色 */
  --waline-bq-color: #272727 !important;

  /* 其他颜色 */
  --waline-info-bgcolor: #272727 !important;
  --waline-info-color: #666 !important;
}

Preview:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant