File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -2328,11 +2328,11 @@ export class BiowcPathwaygraph extends LitElement {
2328
2328
const downregulatedColor = getComputedStyle ( this ) . getPropertyValue (
2329
2329
'--downregulated-color'
2330
2330
) ;
2331
- const unregulatedColor = getComputedStyle ( this ) . getPropertyValue (
2332
- '--unregulated-color'
2333
- ) ;
2334
2331
switch ( this . hue ) {
2335
2332
case 'direction' : {
2333
+ const unregulatedColor = getComputedStyle ( this ) . getPropertyValue (
2334
+ '--unregulated-color'
2335
+ ) ;
2336
2336
switch ( ( < PTMNodeD3 > node ) . regulation ) {
2337
2337
case 'up' :
2338
2338
return upregulatedColor ;
@@ -2345,6 +2345,9 @@ export class BiowcPathwaygraph extends LitElement {
2345
2345
}
2346
2346
}
2347
2347
case 'foldchange' : {
2348
+ const unregulatedColor = getComputedStyle ( this ) . getPropertyValue (
2349
+ '--unregulated-color-light'
2350
+ ) ;
2348
2351
// Interpolate between up and not or down and not, depending on direction
2349
2352
// The center of interpolation is 0 for log fold change and 1 for fold change
2350
2353
const interpolationCenter = this . isLogFoldChange ? 0 : 1 ;
@@ -3098,7 +3101,7 @@ export class BiowcPathwaygraph extends LitElement {
3098
3101
'--downregulated-color'
3099
3102
) ;
3100
3103
const unregulatedColor = getComputedStyle ( this ) . getPropertyValue (
3101
- '--unregulated-color'
3104
+ '--unregulated-color-light '
3102
3105
) ;
3103
3106
3104
3107
linearGradient
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ export default css`
10
10
- - perturbed- stroke-width: 1.5;
11
11
12
12
- - unregulated- color : # a4a4a4;
13
+ - - unregulated- color - light: # d3d3d3;
13
14
- - pathway- color : # 89b9ce;
14
15
- - gene-protein- color : # efefef;
15
16
- - compound- color : # e7d190;
You can’t perform that action at this time.
0 commit comments