File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,8 @@ const cols = cells.map((_, i) => String.fromCharCode(65 + i))
26
26
27
27
<style scoped>
28
28
th {
29
- background-color : #eee ;
29
+ color : var (--vt-c-text-1 );
30
+ background-color : var (--vt-c-bg-mute );
30
31
padding : 0 1em ;
31
32
}
32
33
@@ -39,7 +40,7 @@ tr:first-of-type th:first-of-type {
39
40
}
40
41
41
42
td {
42
- border : 1px solid #ccc ;
43
+ border : 1px solid var ( --vt-c-bg-mute ) ;
43
44
padding : 0 ;
44
45
}
45
46
</style >
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ function update(e) {
33
33
height : 1.5em ;
34
34
line-height : 1.5 ;
35
35
font-size : 15px ;
36
+ color : var (--vt-c-text-1 );
36
37
}
37
38
38
39
.cell span {
@@ -46,7 +47,7 @@ function update(e) {
46
47
}
47
48
48
49
.cell input :focus {
49
- border : 2px solid blue ;
50
- background- color : #fff ;
50
+ border : 2px solid var ( --vt-c-divider ) ;
51
+ color : var ( --vt-c-text-1 ) ;
51
52
}
52
53
</style >
You can’t perform that action at this time.
0 commit comments