Skip to content

Commit

Permalink
Committing version 2.0
Browse files Browse the repository at this point in the history
### New Diamonds 💎

- Removed all the old `Cluster Free` code (please move to `live preview` mode)
- Added support for `live preview` mode [#44]
  - Supporting all the features that is there fore for live preview

### Fixes

- Problem with code block should no longer exist with `live preview` [#52]
- Images now align to left, fixed issue with image having no spaces between list items [#50][#34]
- Fixed issue with strange block that hides top of the page in edit mode with `live preview` [#47]
- Fixed bullet point not visible in view mode [#45]
- Fixed bullet lists in edit mode not compatible with different fonts [#32]
  • Loading branch information
GUOBYQ_AMPG authored and GUOBYQ_AMPG committed Oct 9, 2022
1 parent 8aec1e3 commit eb2798d
Show file tree
Hide file tree
Showing 4 changed files with 149 additions and 336 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# CHANGELOG

## Version 2.0 (Oct 9, 2022)

As I have being busy and stopped maintaining this repo for almost 2 years. I am so surprised that a lot of you had still being using and supporting this theme.

I had updated the theme to 2.0 to support the latest `live preview` mode, so that all those Obsidianite lovers can use the theme and be happy again!

Thanks for all your support for these 2 years! Love you all! :heart:

> Note: I will look into those old issue tickets and fix those long waited bugs during the weekend each week, hope you all continue to support the theme! Thanks!
### New Diamonds 💎

- Removed all the old `Cluster Free` code (please move to `live preview` mode)
- Added support for `live preview` mode [#44]
- Supporting all the features that is there fore for live preview

### Fixes

- Problem with code block should no longer exist with `live preview` [#52]
- Images now align to left, fixed issue with image having no spaces between list items [#50][#34]
- Fixed issue with strange block that hides top of the page in edit mode with `live preview` [#47]
- Fixed bullet point not visible in view mode [#45]
- Fixed bullet lists in edit mode not compatible with different fonts [#32]

## Version 1.1.4 (Dec 27, 2020)

### New Diamonds 💎
Expand Down
120 changes: 2 additions & 118 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<div align="center">

v1.x | Designed & Coded with 💎 by Benny Guo <br>
v2.x | Designed & Coded with 💎 by Benny Guo <br>
Obsidian.md custom theme, it's dark and simple but yet still stays sparkles!

<p align="center">
Expand All @@ -17,123 +17,7 @@ Obsidian.md custom theme, it's dark and simple but yet still stays sparkles!

</div>

<img src="./images/demo1.png">

<details>

## More Screen Shots

<img src="./images/demo1.png">
<img src="./images/demo2.png">
<img src="./images/demo3.png">
<img src="./images/demo4.png">

## Customizable Settings

```css
/******************************************
** ██████╗██╗ ██╗███████╗████████╗ ██████╗ ███╗ ███╗██╗███████╗███████╗
** ██╔════╝██║ ██║██╔════╝╚══██╔══╝██╔═══██╗████╗ ████║██║╚══███╔╝██╔════╝
** ██║ ██║ ██║███████╗ ██║ ██║ ██║██╔████╔██║██║ ███╔╝ █████╗
** ██║ ██║ ██║╚════██║ ██║ ██║ ██║██║╚██╔╝██║██║ ███╔╝ ██╔══╝
** ╚██████╗╚██████╔╝███████║ ██║ ╚██████╔╝██║ ╚═╝ ██║██║███████╗███████╗
** ╚═════╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝╚══════╝╚══════╝
** —— You can customized the theme using the variables below
******************************************/

:root {
/***************************************/
/* FONTS RELATED */
/***************************************/

/** Font Customization **/
--default-font: 'Rubik', 'Glow Sans SC', 'Inter', -apple-system, BlinkMacSystemFont,
'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
sans-serif;

/** Main text font weight **/
--body-font-weight: 450;

/** Font family for hash-tags **/
--tag-font-family: 'OperatorMonoSSmLig-Book', 'Glow Sans SC', '华文细黑',
'STXihei', 'PingFang TC', '微软雅黑体', 'Microsoft YaHei New', '微软雅黑',
'Microsoft Yahei', '宋体', 'SimSun', 'Helvetica Neue', 'Helvetica', Arial,
sans-serif !important;
}

/**-------------------**
| CUSTOMIZED TAG COLOURS
**--------------------**/

/* For preview mode */
a.tag[href*='#todo'],
a.tag[href*='#待完成'] {
background-color: #be2e5e;
color: #fff;
}
/* For Editor Mode */
.cm-s-obsidian .CodeMirror-line span.cm-tag-todo:not(.cm-formatting-hashtag) {
color: #ee6a96;
}

a.tag[href*='#working-draft'],
a.tag[href*='#进行中'] {
background-color: #4d3ca6;
color: #fff;
}

.cm-s-obsidian
.CodeMirror-line
span.cm-tag-working-draft:not(.cm-formatting-hashtag) {
color: #a897ff;
}

a.tag[href*='#notes'],
a.tag[href*='#笔记'] {
background-color: #17b978;
color: #fff;
}

.cm-s-obsidian .CodeMirror-line span.cm-tag-notes:not(.cm-formatting-hashtag) {
color: #45e0a2;
}

a.tag[href*='#knowledge'],
a.tag[href*='#知识'] {
background-color: #005792;
color: #fff;
}

.cm-s-obsidian
.CodeMirror-line
span.cm-tag-knowledge:not(.cm-formatting-hashtag) {
color: #6cbdf3;
}

a.tag[href*='#article'],
a.tag[href*='#文章'] {
background-color: #f95959;
color: #fff;
}

.cm-s-obsidian
.CodeMirror-line
span.cm-tag-article:not(.cm-formatting-hashtag) {
color: #ff7a7a;
}

a.tag[href*='#ideas'],
a.tag[href*='#想法'] {
background-color: #ffc93c;
color: #000;
}

.cm-s-obsidian .CodeMirror-line span.cm-tag-ideas:not(.cm-formatting-hashtag) {
color: #ffdc82;
}
```

</details>
<img src="./images/demo1.png"><br />

## Donation

Expand Down
Binary file modified images/demo1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit eb2798d

Please sign in to comment.