-
Notifications
You must be signed in to change notification settings - Fork 320
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update dart-sass to 1.81.0, enhance makefile performance (#169)
* fix: update dart-sass to 1.81.0, enhance makefile performance use @use instead of @import update dart-sass to 1.81.0 modify the makefile to enable more efficient concurrent builds * fix: update ci yaml, add symbolic link from sass to dart-sass * fix: rm dev-build on push to dev/**
- Loading branch information
Showing
21 changed files
with
65 additions
and
52 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,4 +1 @@ | ||
$os: "linux"; | ||
$theme: "dark"; | ||
|
||
@import "../../scss/include.scss"; | ||
@use "../../scss/include.scss" with ($os: "linux", $theme: "dark"); |
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,4 +1 @@ | ||
$os: "linux"; | ||
$theme: "light"; | ||
|
||
@import "../../scss/include.scss"; | ||
@use "../../scss/include.scss" with ($os: "linux", $theme: "light"); |
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,4 +1 @@ | ||
$os: "macos"; | ||
$theme: "dark"; | ||
|
||
@import "../../scss/include.scss"; | ||
@use "../../scss/include.scss" with ($os: "macos", $theme: "dark"); |
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,4 +1 @@ | ||
$os: "macos"; | ||
$theme: "light"; | ||
|
||
@import "../../scss/include.scss"; | ||
@use "../../scss/include.scss" with ($os: "macos", $theme: "light"); |
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,4 +1 @@ | ||
$os: "windows"; | ||
$theme: "dark"; | ||
|
||
@import "../../scss/include.scss"; | ||
@use "../../scss/include.scss" with ($os: "windows", $theme: "dark"); |
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,4 +1 @@ | ||
$os: "windows"; | ||
$theme: "light"; | ||
|
||
@import "../../scss/include.scss"; | ||
@use "../../scss/include.scss" with ($os: "windows", $theme: "light"); |
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,3 +1,6 @@ | ||
$os: "" !default; | ||
$theme: "" !default; | ||
|
||
/* 一个>的引言仅为两字符缩进,使用>>的引言为传统引言样式,具有左竖线、左缩进 */ | ||
|
||
blockquote { | ||
|
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
$os: "" !default; | ||
$theme: "" !default; | ||
|
||
@if $theme == "dark" { | ||
/* 可能的代码高亮样式 | ||
.cm-s-inner { | ||
|
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,3 +1,6 @@ | ||
$os: "" !default; | ||
$theme: "" !default; | ||
|
||
/* 参考文献(脚注)块 */ | ||
.footnotes { | ||
font-size: 0.95em; | ||
|
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,3 +1,6 @@ | ||
$os: "" !default; | ||
$theme: "" !default; | ||
|
||
#write { | ||
// 标题属性 | ||
h1, | ||
|
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,14 +1,17 @@ | ||
@import "./settings.scss"; | ||
$os: "" !default; | ||
$theme: "" !default; | ||
|
||
@import "./text.scss"; | ||
@import "./typora.scss"; | ||
@use "./settings.scss" with ($os: $os, $theme: $theme); | ||
|
||
@import "./heading.scss"; | ||
@import "./footnote.scss"; | ||
@import "./list.scss"; | ||
@import "./table.scss"; | ||
@import "./blockquote.scss"; | ||
@import "./code.scss"; | ||
@import "./toc.scss"; | ||
@use "./text.scss" with ($os: $os, $theme: $theme); | ||
@use "./typora.scss" with ($os: $os, $theme: $theme); | ||
|
||
@import "./dark.scss"; | ||
@use "./heading.scss" with ($os: $os, $theme: $theme); | ||
@use "./footnote.scss" with ($os: $os, $theme: $theme); | ||
@use "./list.scss" with ($os: $os, $theme: $theme); | ||
@use "./table.scss" with ($os: $os, $theme: $theme); | ||
@use "./blockquote.scss" with ($os: $os, $theme: $theme); | ||
@use "./code.scss" with ($os: $os, $theme: $theme); | ||
@use "./toc.scss" with ($os: $os, $theme: $theme); | ||
|
||
@use "./dark.scss" with ($os: $os, $theme: $theme); |
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,3 +1,6 @@ | ||
$os: "" !default; | ||
$theme: "" !default; | ||
|
||
/* 无序列表 */ | ||
#write ul { | ||
list-style: disc; | ||
|
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,3 +1,6 @@ | ||
$os: "" !default; | ||
$theme: "" !default; | ||
|
||
:root { | ||
$ui-font: null; | ||
$heading-Chinese-font: null; | ||
|
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,3 +1,6 @@ | ||
$os: "" !default; | ||
$theme: "" !default; | ||
|
||
#write { | ||
// 三线表 | ||
table { | ||
|
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,3 +1,6 @@ | ||
$os: "" !default; | ||
$theme: "" !default; | ||
|
||
body { | ||
padding: 0 !important; | ||
margin: 0 !important; | ||
|
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,3 +1,6 @@ | ||
$os: "" !default; | ||
$theme: "" !default; | ||
|
||
/* 目录 */ | ||
.md-toc { | ||
font-size: var(--toc-font-size); | ||
|
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,3 +1,6 @@ | ||
$os: "" !default; | ||
$theme: "" !default; | ||
|
||
@media screen { | ||
#write { | ||
padding: var(--set-margin); | ||
|