File tree Expand file tree Collapse file tree 3 files changed +15
-12
lines changed
scaladoc/resources/dotty_res Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ function showGraph() {
84
84
if ( dotNode ) {
85
85
var svg = d3 . select ( "#graph" ) ;
86
86
var radialGradient = svg . append ( "defs" ) . append ( "radialGradient" ) . attr ( "id" , "Gradient" ) ;
87
- radialGradient . append ( "stop" ) . attr ( "stop-color" , "#ffd47f " ) . attr ( "offset" , "20%" ) ;
88
- radialGradient . append ( "stop" ) . attr ( "stop-color" , "white " ) . attr ( "offset" , "100%" ) ;
87
+ radialGradient . append ( "stop" ) . attr ( "stop-color" , "var(--aureole) " ) . attr ( "offset" , "20%" ) ;
88
+ radialGradient . append ( "stop" ) . attr ( "stop-color" , "var(--code-bg) " ) . attr ( "offset" , "100%" ) ;
89
89
90
90
var inner = svg . append ( "g" ) ;
91
91
Original file line number Diff line number Diff line change 38
38
--red800 : hsl (1 , 72% , 24% );
39
39
--red900 : hsl (1 , 75% , 12% );
40
40
41
+ /* Diagram central node aureole */
42
+
43
+ --aureole : hsl (40 , 100% , 75% );
41
44
42
45
/* Light Mode */
43
46
--border-light : var (--grey200 );
Original file line number Diff line number Diff line change 1
1
.node {
2
- stroke : # 333 ;
2
+ stroke : var ( --inactive-bg ) ;
3
3
stroke-width : 2.5px ;
4
- fill : white ;
4
+ fill : var ( --inactive-bg ) ;
5
5
}
6
6
7
7
.edgeLabel {
8
- fill : white ;
8
+ fill : var ( --inactive-fg ) ;
9
9
}
10
10
11
11
.edgePath {
12
- stroke : # 333 ;
12
+ stroke : var ( --inactive-fg ) ;
13
13
stroke-width : 1.5px ;
14
- fill : # 333 ;
14
+ fill : var ( --inactive-fg ) ;
15
15
}
16
16
17
17
# graph {
44
44
margin : 4px 2px ;
45
45
transition-duration : 0.4s ;
46
46
cursor : pointer;
47
- background-color : white ;
48
- color : black ;
49
- border : 2px solid # 003048 ;
47
+ background-color : var ( --body-bg ) ;
48
+ color : var ( --body-fg ) ;
49
+ border : 2px solid var ( --body-fg ) ;
50
50
position : absolute;
51
51
top : 0 ;
52
52
left : 0 ;
53
53
z-index : 2 ;
54
54
}
55
55
56
56
.btn : hover {
57
- background-color : # 003048 ;
58
- color : white ;
57
+ background-color : var ( --active-bg ) ;
58
+ color : var ( --active-fg ) ;
59
59
}
You can’t perform that action at this time.
0 commit comments