-
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.
feat: Supports theme synchronization between webview and vscode. (#135)
* 修复文档排版问题,支持多参数下scrollbar横向滚动 * fix 修复SDK示例操作排版问题 * feat: 支持webview随vscode主题变化 * feat: 优化webview随vscode主题变化的样式 * feat: 优化数据结构文档随vscode主题变化的样式 * fix package.json
- Loading branch information
Showing
29 changed files
with
4,822 additions
and
52,767 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,120 @@ | ||
@import "../../styles/variable.scss"; | ||
.debugComp { | ||
position: relative; | ||
.expand-arrow { | ||
position: absolute; | ||
top: 256px; | ||
left: 396px; | ||
z-index: 999; | ||
width: 12px; | ||
height: 82px; | ||
line-height: 36px; | ||
background-color: $primary-bg-color; | ||
border: 1px solid rgb(229, 229, 229); | ||
border-radius: 0 2px 2px 0; | ||
cursor: pointer; | ||
/* .codicon { | ||
position: relative !important; | ||
line-height: 79px !important; | ||
right: 3px !important; | ||
} */ | ||
&:hover { | ||
background-color: $code-bg; | ||
} | ||
} | ||
.next-input.next-focus { | ||
background-color: $code-bg; | ||
} | ||
.next-input { | ||
background-color: $primary-bg-color; | ||
input { | ||
background-color: $primary-bg-color; | ||
color: $primary-font-color; | ||
} | ||
&:hover { | ||
background-color: $code-bg; | ||
} | ||
&:focus { | ||
background-color: $code-bg; | ||
} | ||
} | ||
.ant-select-selector { | ||
background-color: $primary-bg-color !important; | ||
input { | ||
background-color: $primary-bg-color !important; | ||
color: $primary-font-color !important; | ||
} | ||
} | ||
} | ||
|
||
.next-menu { | ||
background-color: $primary-bg-color !important; | ||
.next-menu-item:hover { | ||
background-color: $code-bg !important; | ||
} | ||
.next-menu-item.next-selected { | ||
background-color: $code-bg !important; | ||
} | ||
.next-focused { | ||
background-color: $primary-bg-color !important; | ||
} | ||
.next-disabled { | ||
background-color: $primary-bg-color !important; | ||
span { | ||
color: var(--vscode-badge-background) !important; | ||
} | ||
} | ||
} | ||
.document-segmented { | ||
div, | ||
span { | ||
color: #aaaaaa; | ||
} | ||
.ant-segmented-item-selected { | ||
div, | ||
span { | ||
color: #4d4d4d; | ||
font-weight: 400; | ||
} | ||
} | ||
} | ||
.ant-alert-content { | ||
div, | ||
span { | ||
color: #4d4d4d; | ||
} | ||
} | ||
.next-overlay-wrapper { | ||
.next-balloon { | ||
background-color: $primary-bg-color !important; | ||
} | ||
.next-balloon-normal:after { | ||
background-color: $primary-bg-color !important; | ||
} | ||
} | ||
|
||
.next-btn-normal { | ||
background-color: $primary-bg-color !important; | ||
} | ||
.next-btn-primary { | ||
background-color: rgb(59, 89, 153) !important; | ||
span, | ||
div { | ||
color: #fff !important; | ||
} | ||
} | ||
|
||
.ant-dropdown { | ||
span, | ||
div { | ||
color: #505050 !important; | ||
} | ||
} | ||
.ant-notification-notice { | ||
background-color: $primary-bg-color !important; | ||
border: 1px solid $primary-font-color; | ||
border-radius: 5px; | ||
.ant-notification-notice-message { | ||
color: $primary-font-color !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
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
Oops, something went wrong.