Skip to content

Commit

Permalink
feat: enhancements
Browse files Browse the repository at this point in the history
- update light color scheme
- fix block-ref in block-ref
- fix block-ref font size in headers
  • Loading branch information
pengx17 committed Jul 29, 2021
1 parent a7756f4 commit 56ddf4f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 6 additions & 2 deletions src/_blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

/* block reference */
.block-ref {
font-size: 14px;
font-size: inherit;
padding: 1px 5px 0;
border-radius: 2px;
background: var(--ct-block-reference-background);
Expand All @@ -22,7 +22,7 @@
.block-ref:before {
content: "#";
color: var(--ls-active-primary-color);
font-size: 12px;
font-size: 0.8em;
padding: 0 4px 0 0;
}

Expand All @@ -35,6 +35,10 @@
padding: 0 0.2em;
}

.block-ref .block-ref {
padding: 0 0 0 0.2em;
}

.open-block-ref-link {
opacity: 1;
font-family: Asap;
Expand Down
8 changes: 4 additions & 4 deletions src/_theme_light.scss
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
.white-theme,
html[data-theme="light"] {
--ct-primary-color: #106ba3;
--ct-secondary-color: #0a4163;
--ct-secondary-color: #004174;
--ct-warning-color: #ff7262;
--ct-success-color: #0dcf82;
--ct-highlight-color: #ffc600;

--ls-primary-background-color: #fff;
--ls-secondary-background-color: #f7f6f4;
--ls-tertiary-background-color: #f1eee8;
--ls-quaternary-background-color: #e8e5de;
--ls-secondary-background-color: #f6f6f6;
--ls-tertiary-background-color: #f1f1f1;
--ls-quaternary-background-color: #e4e4e4;

--ls-primary-text-color: rgb(40, 40, 40);
--ls-secondary-text-color: #161e2e;
Expand Down

0 comments on commit 56ddf4f

Please sign in to comment.