forked from pengx17/logseq-dev-theme
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
15,432 additions
and
3,182 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
mark { | ||
text-decoration-color: #ffc600; | ||
} | ||
mark .yellow { | ||
text-decoration-color: #fff3a3; | ||
} | ||
mark .pink { | ||
text-decoration-color: #f2b3cf; | ||
} | ||
mark .blue { | ||
text-decoration-color: #b5d3ff; | ||
} | ||
mark .green { | ||
text-decoration-color: #bbfabb; | ||
} | ||
mark .red { | ||
text-decoration-color: #ff5582; | ||
} | ||
mark .grey { | ||
text-decoration-color: #cacfd9; | ||
} | ||
mark .gray { | ||
text-decoration-color: #cacfd9; | ||
} | ||
mark .orange { | ||
text-decoration-color: #ffb86c; | ||
} | ||
mark .purple { | ||
text-decoration-color: #d2b3ff; | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,38 @@ | ||
{ | ||
"name": "logseq-dev-theme", | ||
"author": "pengx17", | ||
"version": "1.21.3", | ||
"description": "A custom theme for dev", | ||
"logseq": { | ||
"themes": [ | ||
{ | ||
"name": "Dev theme", | ||
"url": "./custom.css", | ||
"description": "A custom theme for dev" | ||
}, | ||
{ | ||
"name": "Dev theme - bullet threading only", | ||
"url": "./bullet_threading.css", | ||
"description": "Bullet threading (already included in Dev Theme)" | ||
} | ||
], | ||
"id": "pengx17_dev_theme", | ||
"icon": "./logo.png" | ||
}, | ||
"scripts": { | ||
"build:main": "yarn sass src/main.scss custom.css --no-source-map", | ||
"build:bt": "yarn sass src/bullet_threading.scss bullet_threading.css --no-source-map", | ||
"build": "yarn build:main && yarn build:bt" | ||
}, | ||
"devDependencies": { | ||
"@semantic-release/changelog": "^5.0.1", | ||
"@semantic-release/git": "^9.0.0", | ||
"@semantic-release/npm": "^7.1.3", | ||
"sass": "^1.35.1" | ||
}, | ||
"dependencies": { | ||
"@semantic-release/exec": "^6.0.1" | ||
} | ||
} | ||
"name": "logseq-dev-theme", | ||
"author": "qbosen", | ||
"version": "0.0.1", | ||
"description": "A custom theme for dev", | ||
"logseq": { | ||
"themes": [{ | ||
"name": "Dev theme", | ||
"url": "./custom.css", | ||
"description": "A custom theme for dev" | ||
}, | ||
{ | ||
"name": "Dev theme - bullet threading only", | ||
"url": "./bullet_threading.css", | ||
"description": "Bullet threading (already included in Dev Theme)" | ||
} | ||
], | ||
"id": "qbosen_dev_theme", | ||
"icon": "./logo.png" | ||
}, | ||
"scripts": { | ||
"build:main": "yarn sass src/main.scss custom.css --no-source-map", | ||
"build:zt": "yarn sass src/zettelkasten.scss zettelkasten.css --no-source-map", | ||
"build:hl": "yarn sass src/highlights.scss highlights.css --no-source-map", | ||
"build:sb": "yarn sass src/sidebar.scss sidebar.css --no-source-map", | ||
"build:bt": "yarn sass src/bullet_threading.scss bullet_threading.css --no-source-map", | ||
"build": "yarn build:main && yarn build:bt && yarn build:zt && yarn build:hl && yarn build:sb" | ||
}, | ||
"devDependencies": { | ||
"@semantic-release/changelog": "^6.0.0", | ||
"@semantic-release/git": "^10.0.0", | ||
"@semantic-release/npm": "^8.0.0", | ||
"sass": "^1.35.1" | ||
}, | ||
"dependencies": { | ||
"@semantic-release/exec": "^6.0.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
@charset "UTF-8"; | ||
/* 多列侧边栏 */ | ||
/* https://discord.com/channels/725182569297215569/752845138148982877/885123354359631942 */ | ||
:root { | ||
--masonry-startWidth: 450px; | ||
/* DEFAULT: 550px; Use "unset" to prevent loading in grid like format */ | ||
--masonry-minWidth: 60px; | ||
--masonry-maxWidth: 600px; | ||
--masonry-startHeight: 434px; | ||
/* DEFAULT: 243px; Use "unset" to prevent loading in grid like format */ | ||
--masonry-minHeight: 56px; | ||
} | ||
|
||
.cp__right-sidebar-inner.flex.flex-col.h-full { | ||
overflow: auto; | ||
background-color: #000; | ||
} | ||
|
||
.sidebar-item-list { | ||
background-color: #0d0d0d; | ||
height: 91vh !important; | ||
overflow: unset; | ||
display: flex; | ||
flex-direction: column; | ||
flex-wrap: wrap; | ||
align-content: flex-start; | ||
padding-bottom: 0; | ||
} | ||
|
||
.cp__right-sidebar .sidebar-item { | ||
display: inline-block; | ||
align-self: flex-start; | ||
overflow-y: auto; | ||
width: var(--masonry-startWidth); | ||
min-width: var(--masonry-minWidth); | ||
max-width: var(--masonry-maxWidth); | ||
margin-right: 8px; | ||
} | ||
|
||
/* ==== tables wrap === */ | ||
.table-auto { | ||
table-layout: fixed; | ||
width: 90%; | ||
} | ||
|
||
.table-auto td.whitespace-nowrap { | ||
overflow: hidden; | ||
white-space: nowrap; | ||
text-overflow: ellipsis; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
mark { | ||
text-decoration-color: #ffc600; | ||
.yellow { | ||
text-decoration-color: #fff3a3; | ||
} | ||
.pink { | ||
text-decoration-color: #f2b3cf; | ||
} | ||
.blue { | ||
text-decoration-color: #b5d3ff; | ||
} | ||
.green { | ||
text-decoration-color: #bbfabb; | ||
} | ||
.red { | ||
text-decoration-color: #ff5582; | ||
} | ||
.grey { | ||
text-decoration-color: #cacfd9; | ||
} | ||
.gray { | ||
text-decoration-color: #cacfd9; | ||
} | ||
.orange { | ||
text-decoration-color: #ffb86c; | ||
} | ||
.purple { | ||
text-decoration-color: #d2b3ff; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
/* 多列侧边栏 */ | ||
|
||
|
||
/* https://discord.com/channels/725182569297215569/752845138148982877/885123354359631942 */ | ||
|
||
:root { | ||
--masonry-startWidth: 450px; | ||
/* DEFAULT: 550px; Use "unset" to prevent loading in grid like format */ | ||
--masonry-minWidth: 60px; | ||
--masonry-maxWidth: 600px; | ||
--masonry-startHeight: 434px; | ||
/* DEFAULT: 243px; Use "unset" to prevent loading in grid like format */ | ||
--masonry-minHeight: 56px; | ||
} | ||
|
||
.cp__right-sidebar-inner.flex.flex-col.h-full { | ||
overflow: auto; | ||
background-color: #000; | ||
} | ||
|
||
.sidebar-item-list { | ||
background-color: #0d0d0d; | ||
height: 91vh !important; | ||
overflow: unset; | ||
display: flex; | ||
flex-direction: column; | ||
flex-wrap: wrap; | ||
align-content: flex-start; | ||
padding-bottom: 0; | ||
} | ||
|
||
.cp__right-sidebar .sidebar-item { | ||
display: inline-block; | ||
align-self: flex-start; | ||
overflow-y: auto; | ||
width: var(--masonry-startWidth); | ||
min-width: var(--masonry-minWidth); | ||
max-width: var(--masonry-maxWidth); | ||
margin-right: 8px; | ||
} | ||
|
||
|
||
/* ==== tables wrap === */ | ||
|
||
.table-auto { | ||
table-layout: fixed; | ||
width: 90%; | ||
} | ||
|
||
.table-auto td.whitespace-nowrap { | ||
overflow: hidden; | ||
white-space: nowrap; | ||
text-overflow: ellipsis; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
.zettel-box { | ||
background: #FFFFFF; | ||
background-size: 100%; | ||
color: #000000; | ||
padding: 2px 5px 2px 5px; | ||
font-size: 13px; | ||
line-height: 1em; | ||
font-weight: 500; | ||
border-radius: 5px 5px 5px 5px; | ||
border-style: solid; | ||
border-width: thin; | ||
position: relative; | ||
box-shadow: 0px 1px 3px -1px #000000, 0px -1px 5px #DFDFDF; | ||
} | ||
|
||
a.tag[data-ref="fleeting notes"] { | ||
@extend .zettel-box; | ||
border-color: #f21da140; | ||
} | ||
|
||
a.tag[data-ref="literature notes"] { | ||
@extend .zettel-box; | ||
border-color: #215F0040; | ||
} | ||
|
||
a.tag[data-ref="permanent notes"] { | ||
@extend .zettel-box; | ||
background-image: linear-gradient(90deg, #1DA1F2, #1DA1F2); | ||
border-radius: 3px 0 0 3px; | ||
} | ||
|
||
a.tag[data-ref="relevant notes"] { | ||
@extend .zettel-box; | ||
color: #1DA1F2; | ||
border-color: #FFFFFF; | ||
} | ||
|
||
a.tag[data-ref="reference notes"] { | ||
@extend .zettel-box; | ||
border-color: #f26e1d40; | ||
} | ||
|
||
|
||
/* 自定义 */ | ||
|
||
a.tag[data-ref="question"] { | ||
@extend .zettel-box; | ||
border-color: #FFB6C1 !important; | ||
background: #FFB6C1 !important; | ||
color: #000 !important; | ||
&::before { | ||
content: "❓ "; | ||
display: inline-block; | ||
} | ||
} | ||
|
||
a.tag[data-ref="answer"] { | ||
@extend .zettel-box; | ||
border-color: #90EE90 !important; | ||
background: #90EE90 !important; | ||
color: #000 !important; | ||
&:before { | ||
content: "🙋 "; | ||
display: inline-block; | ||
} | ||
} |
Oops, something went wrong.