Skip to content

Commit

Permalink
refactor: update theme base style and update snapshots (#5628)
Browse files Browse the repository at this point in the history
* refactor: update theme base config and update snapshots

* refactor: adjust base theme style

* test: update snapshots
---------

Co-authored-by: Aaron <yangtao.yangtao@antgroup.com>
  • Loading branch information
yvonneyx and Aarebecca authored Apr 9, 2024
1 parent 90fd24e commit ba7caf3
Show file tree
Hide file tree
Showing 225 changed files with 3,663 additions and 3,657 deletions.
1 change: 1 addition & 0 deletions packages/g6/__tests__/demos/element-edge-polyline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export const elementEdgePolyline: TestCase = async (context) => {
size: (d) => d.style?.size || [50, 20],
color: '#f8f8f8',
stroke: '#8b9baf',
lineWidth: 1,
labelPlacement: 'center',
labelFill: '#8b9baf',
portLineWidth: 0,
Expand Down
1 change: 1 addition & 0 deletions packages/g6/__tests__/demos/element-edge-port.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export const elementEdgePort: TestCase = async (context) => {
size: 50,
color: '#f8f8f8',
stroke: '#8b9baf',
lineWidth: 1,
},
},
edge: {
Expand Down
4 changes: 0 additions & 4 deletions packages/g6/__tests__/demos/element-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,9 @@ export const elementState: TestCase = async (context) => {
theme: 'light',
node: {
style: {
lineWidth: 1,
size: 20,
},
state: {
active: {
lineWidth: 2,
},
selected: {
color: 'pink',
},
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ba7caf3

Please sign in to comment.