Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

块属性,codemirror的背景色能不能改成var(--ct-secondary-color) #5

Closed
dale502 opened this issue Jul 15, 2021 · 2 comments
Closed
Labels

Comments

@dale502
Copy link

dale502 commented Jul 15, 2021

image
image
把dark官方的这个绿色换掉,或者参数是什么,自己用其他css试了半天也不行,感谢

@dale502
Copy link
Author

dale502 commented Jul 16, 2021

我自己改好了,把整段Harmony-theme-for-Logseq的code mirro贴过来
改了
block-properties-background
table-tr-even-background

/* === Code Calc result position fix === */
.extensions__code-calc {
top: 11px;
padding: 0 0.75em;
}

/* === CodeMirror === */
.CodeMirror {
font-family: 'Fira Code', monospace;
line-height: 1.2;
background: var(--ls-secondary-background-color);
}

.CodeMirror-hscrollbar {
cursor: default;
}

.cm-s-solarized.cm-s-dark, .cm-s-solarized.cm-s-white {
color: var(--ls-primary-text-color);
background-color: var(--ls-primary-background-color);
border: 7px solid var(--ls-secondary-background-color);
text-shadow: none;
}
.CodeMirror-gutters {
background-color: #f7f7f7;
}
.cm-s-solarized.cm-s-dark .CodeMirror-gutters {
background-color: rgba(40, 42, 51, .5);
}

.CodeMirror-linenumber {
color: var(--ls-primary-text-color);
opacity: .5;
text-shadow: none;
}

.cm-s-solarized.cm-s-dark .CodeMirror-linenumber {
color: var(--ls-primary-text-color);
opacity: .5;
text-shadow: none;
}

.extensions__code-lang {
background: var(--ls-secondary-background-color);
}

.cm-s-solarized.cm-s-dark div.CodeMirror-selected {
background: var(--ls-selection-background-color);
}
.cm-s-solarized.cm-s-light div.CodeMirror-selected {
background: var(--ls-selection-background-color);
}

.CodeMirror-selected {
background: var(--ls-secondary-background-color);
}
.CodeMirror-focused .CodeMirror-selected {
background: var(--ls-secondary-background-color);
}

dark-theme,
html[data-theme=dark] {
--ls-block-properties-background-color: #323A42;
--ls-table-tr-even-background-color: #323A42;
--ls-selection-background-color: var(--ls-quaternary-background-color);

github-actions bot pushed a commit that referenced this issue Jul 16, 2021
## [1.8.3](v1.8.2...v1.8.3) (2021-07-16)

### Bug Fixes

* [#5](#5) update codemirror and page/block properties background color ([67c27b9](67c27b9))
@github-actions
Copy link

🎉 This issue has been resolved in version 1.8.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

github-actions bot pushed a commit to qbosen/logseq-dev-theme that referenced this issue Oct 8, 2021
# 1.0.0 (2021-10-08)

### Bug Fixes

* [pengx17#5](https://github.com/qbosen/logseq-dev-theme/issues/5) update codemirror and page/block properties background color ([67c27b9](67c27b9))
* adapt new query header styles ([3d6d3a6](3d6d3a6))
* add a bottom-border to right sidebar items ([e22f96c](e22f96c))
* add missing file ([c956c91](c956c91))
* add transition to threading ([1c77cad](1c77cad))
* adjust colors ([85db87d](85db87d))
* adjust in progress marker background ([c97a4dd](c97a4dd))
* adjust priority tooltip ([5fc4ad0](5fc4ad0))
* adjust some positions ([a3ac1cb](a3ac1cb))
* adjust table even row bg color ([b8ed200](b8ed200))
* adjust the title height to prepare for new electron header on Mac ([7bc09b0](7bc09b0))
* adjust threading curve ([c5123e4](c5123e4))
* adjustt title font weight ([2b73c17](2b73c17))
* backdrop-filter compatibility fix ([c3e199b](c3e199b))
* bg ([bf5930d](bf5930d))
* block hovering selector fix ([9313735](9313735))
* block threading for headings ([3347856](3347856))
* block-ref popover ([b6b9d5b](b6b9d5b))
* block/page properties should not be inline ([20de65c](20de65c))
* bullet closed color ([2fb24ef](2fb24ef))
* bullet threading offset ([8934fc2](8934fc2))
* change bullet active color var ([c087025](c087025))
* cleanup ([ea57234](ea57234))
* code cleanup ([49e9cbd](49e9cbd))
* compatibility issue on safari ([78ca790](78ca790))
* disable threading transition ([c10c930](c10c930))
* do not draw parent level border when it has no child ([3e2c976](3e2c976))
* do not use serif fonts ([ccfca6b](ccfca6b))
* dropdown background ([c7895f3](c7895f3))
* embed hover offset ([49cc573](49cc573))
* fix emoji display on windows ([0b3665d](0b3665d))
* fix title for namespace preview ([3668343](3668343))
* fix version ([55f52ac](55f52ac))
* fix wrong selector ([b6a8424](b6a8424))
* heading position when not showing threading ([f9932de](f9932de))
* hide add button for page preview ([df2bbc5](df2bbc5))
* hovering block indicator position ([3827c95](3827c95))
* **image:** adjust dark theme filter ([eb87572](eb87572))
* **image:** adjust dark theme filter ([fb8123b](fb8123b))
* lower the shadow a bit for embedded ([8d709c4](8d709c4))
* make body headings a bit thinner ([5a05e4c](5a05e4c))
* make line-height a little bit larger ([e1f5254](e1f5254))
* make main view a bit more compact for mobile screens ([0992aeb](0992aeb))
* make tags a bit taller ([ac046c2](ac046c2))
* marker color in dark mode ([be774e1](be774e1))
* minor positioning issues ([0283f90](0283f90))
* popup not be able to scroll after 0.3.3 ([476a5e3](476a5e3))
* prepare for new mac header ([282d648](282d648))
* **preview:** title color for namespace ([cf2c381](cf2c381))
* remove box shadow of popovers ([acd9858](acd9858))
* remove content max-width ([b1ad85a](b1ad85a))
* remove custom-query background ([37fac20](37fac20))
* remove default block-content cursor ([02628c0](02628c0))
* remove figma cursor ([ec4e58c](ec4e58c))
* remove query border ([04dc74c](04dc74c))
* remove search box focus ring ([df746aa](df746aa))
* remove unused style ([af57d25](af57d25))
* repo name is too short ([b73a2f4](b73a2f4))
* revert ([faf3b4a](faf3b4a))
* revert back mark style ([e0086ca](e0086ca))
* revert turning inline into inline-block ([1c5e3ec](1c5e3ec))
* right bar header link opacity ([60207fd](60207fd))
* search input outline color ([7a78d58](7a78d58))
* should use inline instead of inline-block ([82a671f](82a671f))
* side panel margin & color-level border ([777537e](777537e))
* sidebar border colors ([46be98e](46be98e))
* skip ink for mark ([4781f71](4781f71))
* some adjustments ([850dafb](850dafb))
* some enhancemens ([84ea33f](84ea33f))
* styling issue when block-ref has scheduled property ([f05489e](f05489e))
* thicker tag border ([34f2930](34f2930))
* threading offset ([0f26b82](0f26b82))
* threading offset issue with Zoom issue ([7632cb9](7632cb9))
* threading should not have pointer events ([496818a](496818a))
* **threading:** fix threading for block views ([0a7f3ef](0a7f3ef))
* **threading:** fix threading offset ([da7675f](da7675f))
* tooltip padding ([e7efd7f](e7efd7f))
* tweak font family ([4fb1ce7](4fb1ce7))
* update custom.css manually ([5e6f0d6](5e6f0d6))
* update external link color ([494e855](494e855))
* update font path ([34ef6da](34ef6da))
* update for new custom query block style ([eab936d](eab936d))
* update line-heights for new fonts ([d9c3a8c](d9c3a8c))
* update some details ([f971483](f971483))
* use a lighter font weight for titles ([05bc98e](05bc98e))
* use a little bar to show hovering block ([77fd2a2](77fd2a2))
* use default cursor in the header for Mac OS desktop version ([9b105b2](9b105b2))
* use first-child instead ([a86eec4](a86eec4))
* use highlight color for mark ([fa2855e](fa2855e))
* workflow ([9debb70](9debb70))
* workflow 2 ([12f857d](12f857d))

### Features

* adapt right sidebar heading issue for 0.2.6 ([86a17c7](86a17c7))
* adapt threading for new logseq version ([cbd0fce](cbd0fce))
* adapt youtube video size automatically ([30d2f4d](30d2f4d))
* add custom css ([224964c](224964c))
* add dots to background ([ebb5972](ebb5972))
* add hovering block underline ([4e1824e](4e1824e))
* add preview header styles ([f4ae319](f4ae319))
* adjust block highlight position ([7c67286](7c67286))
* adjust mark style ([a88d4f8](a88d4f8))
* adjust primary color for dark ([a427281](a427281))
* adopt Figma's cursor ([5c45247](5c45247))
* **block:** add detaild tracing for editing block ([e59450d](e59450d))
* emoji range ([6bb7823](6bb7823))
* enhancements ([56ddf4f](56ddf4f))
* extract bullet_threading css ([c245957](c245957))
* head height issue ([7225454](7225454))
* header & mobile styles ([df04e03](df04e03))
* **progress:** add progress styles ([7a9eace](7a9eace))
* removed dotted background and adapt for new graph in 0.2.3 ([d08ba1e](d08ba1e))
* renew selection color ([7ca4f39](7ca4f39))
* some more adjustments ([b489c9e](b489c9e))
* support multiline block parent ([22aad52](22aad52))
* update some colors ([323dfc7](323dfc7))
* use Noto fonts globally ([45c84b7](45c84b7))
* use source sans instead of noto for default fonts ([46463c8](46463c8))
github-actions bot pushed a commit to Bad3r/NordSeq-theme that referenced this issue Dec 9, 2022
# 1.0.0 (2022-12-09)

### Bug Fixes

* [pengx17#24](https://github.com/Bad3r/NordSeq-theme/issues/24) not be able to scroll horizontally ([b093433](b093433))
* [pengx17#5](https://github.com/Bad3r/NordSeq-theme/issues/5) update codemirror and page/block properties background color ([67c27b9](67c27b9))
* #main-container min height ([4623f47](4623f47))
* a workaround for draw offset ([1a10135](1a10135))
* adapt for Logseq 0.4.3 ([f434c51](f434c51))
* adapt for new block toggle styles ([1427d05](1427d05))
* adapt new query header styles ([3d6d3a6](3d6d3a6))
* add a bottom-border to right sidebar items ([e22f96c](e22f96c))
* add link row style ([a4c5ede](a4c5ede))
* add margin to embed to fix focus/hovering clipping issue ([84215c8](84215c8))
* add missing file ([c956c91](c956c91))
* add transition to threading ([1c77cad](1c77cad))
* adjust code block margin ([bce6ea1](bce6ea1))
* adjust colors ([85db87d](85db87d))
* adjust for new nightly version ([702afaa](702afaa))
* adjust in progress marker background ([c97a4dd](c97a4dd))
* adjust priority marker positioning ([1b22af3](1b22af3))
* adjust priority tooltip ([5fc4ad0](5fc4ad0))
* adjust some positions ([a3ac1cb](a3ac1cb))
* adjust table even row bg color ([b8ed200](b8ed200))
* adjust the title height to prepare for new electron header on Mac ([7bc09b0](7bc09b0))
* adjust threading curve ([c5123e4](c5123e4))
* adjustt title font weight ([2b73c17](2b73c17))
* backdrop-filter compatibility fix ([c3e199b](c3e199b))
* bg ([bf5930d](bf5930d))
* block content sometimes overflow ([61ee122](61ee122))
* block hovering selector fix ([9313735](9313735))
* block ref preview header opacity ([e3e6894](e3e6894))
* block threading for headings ([3347856](3347856))
* block toggle rounded border ([60b3783](60b3783))
* block-ref issue in logseq ([6d9b49f](6d9b49f))
* block-ref popover ([b6b9d5b](b6b9d5b))
* block/page properties should not be inline ([20de65c](20de65c))
* build is missing no_bullet_threading.css ([5b4a2b1](5b4a2b1))
* bullet closed color ([2fb24ef](2fb24ef))
* bullet offset ([6c2f83c](6c2f83c))
* bullet positioning ([fd8ad71](fd8ad71))
* bullet threading issue on small screens ([100557b](100557b))
* bullet threading offset ([8934fc2](8934fc2))
* bullets collapse control should not be covered by thread ([d9d6395](d9d6395))
* calc & lang indicator styles ([6d78f4b](6d78f4b))
* change bullet active color var ([c087025](c087025))
* cleanup ([ea57234](ea57234))
* code cleanup ([49e9cbd](49e9cbd))
* compatibility fix for light/white theme refactor upstream ([14d3194](14d3194))
* compatibility issue on safari ([78ca790](78ca790))
* compatibility issue with other themes ([978ddf7](978ddf7))
* date picker text color in dark mode ([5e3ec8f](5e3ec8f))
* dates in date picker is not visible ([6cede63](6cede63)), closes [pengx17#50](https://github.com/Bad3r/NordSeq-theme/issues/50)
* default active threading color ([2aa32d1](2aa32d1))
* disable threading transition ([c10c930](c10c930))
* do not draw parent level border when it has no child ([3e2c976](3e2c976))
* do not use serif fonts ([ccfca6b](ccfca6b))
* dropdown background ([c7895f3](c7895f3))
* edit layout shift issue ([8926098](8926098))
* embed hover offset ([49cc573](49cc573))
* enlarge page content padding ([936f9b6](936f9b6))
* first journal item height ([7d40029](7d40029))
* fix emoji display on windows ([0b3665d](0b3665d))
* fix previous not properly ([a12e47e](a12e47e))
* fix scrollbar issue ([2d48f01](2d48f01))
* fix title for namespace preview ([3668343](3668343))
* fix version ([55f52ac](55f52ac))
* fix wrong selector ([b6a8424](b6a8424))
* for nightly release ([d35209d](d35209d))
* h2 blink issue ([f098307](f098307))
* header paddings ([c61d414](c61d414))
* heading & block ref changes ([abc31e3](abc31e3))
* heading position when not showing threading ([f9932de](f9932de))
* heading styles minor changes ([1fa7fd7](1fa7fd7))
* hide add button for page preview ([df2bbc5](df2bbc5))
* hovering block indicator position ([3827c95](3827c95))
* **image:** adjust dark theme filter ([eb87572](eb87572))
* **image:** adjust dark theme filter ([fb8123b](fb8123b))
* incorrect color theme ([91f8b37](91f8b37))
* italic fonts ([67105a3](67105a3))
* journal load issue ([20498fd](20498fd))
* left sidebar fonts ([ebfbf94](ebfbf94))
* left sidebar styles ([bcf387e](bcf387e))
* lower block toggle bar ([5245dbe](5245dbe))
* lower the shadow a bit for embedded ([8d709c4](8d709c4))
* make block control a little bit nicer ([350885f](350885f))
* make body headings a bit thinner ([5a05e4c](5a05e4c))
* make line-height a little bit larger ([e1f5254](e1f5254))
* make main view a bit more compact for mobile screens ([0992aeb](0992aeb))
* make tags a bit taller ([ac046c2](ac046c2))
* marker color in dark mode ([be774e1](be774e1))
* marker styles ([48773f5](48773f5))
* minor positioning issues ([0283f90](0283f90))
* multi-line blocks issue ([e5a53d4](e5a53d4))
* multiline threading sometimes got covered ([4c8067c](4c8067c))
* padding for page content ([50fc6b9](50fc6b9))
* popup not be able to scroll after 0.3.3 ([476a5e3](476a5e3))
* prepare for new mac header ([282d648](282d648))
* prepare for standalone plugin ([ae0a327](ae0a327))
* **preview:** title color for namespace ([cf2c381](cf2c381))
* query border is not shown ([b5b61e4](b5b61e4))
* query header display issue ([871c3dc](871c3dc))
* query header display issue ([1244cdf](1244cdf))
* remove backdrop-filter for headers ([45788a6](45788a6))
* remove block overflow fix ([8218a2f](8218a2f))
* remove box shadow of popovers ([acd9858](acd9858))
* remove content max-width ([b1ad85a](b1ad85a))
* remove custom-query background ([37fac20](37fac20))
* remove default block-content cursor ([02628c0](02628c0))
* remove figma cursor ([ec4e58c](ec4e58c))
* remove large padding ([326d306](326d306))
* remove query border ([04dc74c](04dc74c))
* remove search box focus ring ([df746aa](df746aa))
* remove sticky journal title ([48c6727](48c6727))
* remove the margin of code ([d388875](d388875))
* remove unused style ([af57d25](af57d25))
* repo name is too short ([b73a2f4](b73a2f4))
* revert ([faf3b4a](faf3b4a))
* revert back mark style ([e0086ca](e0086ca))
* revert checkbox size ([fef3704](fef3704))
* revert turning inline into inline-block ([1c5e3ec](1c5e3ec))
* right bar header link opacity ([60207fd](60207fd))
* scrolling issue in 0.4.6 ([ca0934d](ca0934d))
* search input outline color ([7a78d58](7a78d58))
* should use inline instead of inline-block ([82a671f](82a671f))
* side panel margin & color-level border ([777537e](777537e))
* sidebar border colors ([46be98e](46be98e))
* skip ink for mark ([4781f71](4781f71))
* smaller code mirror font-size ([ce5925e](ce5925e))
* solid left border in doc mod ([c94113b](c94113b))
* some adjustments ([850dafb](850dafb))
* some color fixes ([2b99bad](2b99bad))
* some enhancemens ([84ea33f](84ea33f))
* some style issues ([0b4d669](0b4d669))
* strong elements should inherit their color ([a7a3778](a7a3778))
* style issues ([620ea7c](620ea7c)), closes [pengx17#79](https://github.com/Bad3r/NordSeq-theme/issues/79)
* styling issue when block-ref has scheduled property ([f05489e](f05489e))
* texts & todo color in highlighted blocks ([df9fc4d](df9fc4d)), closes [pengx17#38](https://github.com/Bad3r/NordSeq-theme/issues/38)
* thicker tag border ([34f2930](34f2930))
* threading in the first block of the embedded ([986e791](986e791))
* threading offset ([0f26b82](0f26b82))
* threading offset issue with Zoom issue ([7632cb9](7632cb9))
* threading should not have pointer events ([496818a](496818a))
* threading styles regression for 0.4.6 ([a997d7e](a997d7e))
* **threading:** fix threading for block views ([0a7f3ef](0a7f3ef))
* **threading:** fix threading offset ([da7675f](da7675f))
* tooltip padding ([e7efd7f](e7efd7f))
* tweak font family ([4fb1ce7](4fb1ce7))
* update colors ([291a4ac](291a4ac))
* update custom.css manually ([5e6f0d6](5e6f0d6))
* update dark mode selection color ([0d9b59b](0d9b59b))
* update external link color ([494e855](494e855))
* update font path ([34ef6da](34ef6da))
* update for new custom query block style ([eab936d](eab936d))
* update line-heights for new fonts ([d9c3a8c](d9c3a8c))
* update some details ([f971483](f971483))
* use a lighter font weight for titles ([05bc98e](05bc98e))
* use a little bar to show hovering block ([77fd2a2](77fd2a2))
* use default cursor in the header for Mac OS desktop version ([9b105b2](9b105b2))
* use first-child instead ([a86eec4](a86eec4))
* use highlight color for mark ([fa2855e](fa2855e))
* when left-sidebar is on, the user should still see right side controls ([71fc089](71fc089))
* workflow ([9debb70](9debb70))
* workflow 2 ([12f857d](12f857d))

### Features

* adapt mobile styles ([440961c](440961c))
* adapt right sidebar heading issue for 0.2.6 ([86a17c7](86a17c7))
* adapt threading for new logseq version ([cbd0fce](cbd0fce))
* adapt youtube video size automatically ([30d2f4d](30d2f4d))
* add dots to background ([ebb5972](ebb5972))
* add hovering block underline ([4e1824e](4e1824e))
* add no bullet threading dev theme ([6b71900](6b71900))
* add preview header styles ([f4ae319](f4ae319))
* adjust block highlight position ([7c67286](7c67286))
* adjust mark style ([a88d4f8](a88d4f8))
* adjust primary color for dark ([a427281](a427281))
* adopt Figma's cursor ([5c45247](5c45247))
* allow users to overwrite the threading color in plugin ([218a1d8](218a1d8))
* **block:** add detaild tracing for editing block ([e59450d](e59450d))
* emoji range ([6bb7823](6bb7823))
* enhancements ([56ddf4f](56ddf4f))
* extract bullet_threading css ([c245957](c245957))
* head height issue ([7225454](7225454))
* header & mobile styles ([df04e03](df04e03))
* **progress:** add progress styles ([7a9eace](7a9eace))
* removed dotted background and adapt for new graph in 0.2.3 ([d08ba1e](d08ba1e))
* renew selection color ([7ca4f39](7ca4f39))
* some more adjustments ([b489c9e](b489c9e))
* sticky journal titles ([82a7343](82a7343))
* support multiline block parent ([22aad52](22aad52))
* update block-ref style ([6c177a3](6c177a3))
* update some colors ([323dfc7](323dfc7))
* use Noto fonts globally ([45c84b7](45c84b7))
* use source sans instead of noto for default fonts ([46463c8](46463c8))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant