Skip to content

Commit

Permalink
chore: 修改暗色背景色 (#131)
Browse files Browse the repository at this point in the history
* chore: 修复主题色

* chore: set dark colorBgBase
  • Loading branch information
lvisei authored Jan 24, 2024
1 parent 0b7e16b commit e0a3134
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bindings/pyl7vp/pyl7vp/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
"center": [120.153576, 30.287459],
"pitch": 0,
"bearing": 0,
"style": 'dark',
"style": 'grey',
"WebGLParams": {
"preserveDrawingBuffer": True,
},
Expand Down
2 changes: 1 addition & 1 deletion bindings/pyl7vp/pyl7vp/meta.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "0.0.9"
__version__ = "0.1.0"
__author__ = "@lvisei"
2 changes: 1 addition & 1 deletion bindings/pyl7vp/pyl7vp/templates/l7vp.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
token: {
colorPrimary: "#8274FF",
colorTextBase: "rgba(255,255,255,0.85)",
colorBgBase: "#0f0f13",
colorBgBase: "#1d1e25",
colorInfo: "#8274FF",
borderRadius: 6,
},
Expand Down
6 changes: 5 additions & 1 deletion packages/li-editor/docs/case/Theme/demos/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@ import { theme } from 'antd';

export const ANTD_DEFAULT_THEME = {
algorithm: theme.defaultAlgorithm,
token: {
colorPrimary: '#8274FF',
colorInfo: '#8274FF',
},
};

export const ANTD_DARK_THEME = {
algorithm: theme.darkAlgorithm,
token: {
colorPrimary: '#8274FF',
colorTextBase: 'rgba(255,255,255,0.85)',
colorBgBase: '#0f0f13',
colorBgBase: '#1d1e25',
colorInfo: '#8274FF',
borderRadius: 6,
},
Expand Down

0 comments on commit e0a3134

Please sign in to comment.