Skip to content

Commit 6310410

Browse files
Merge pull request #274 from fky2015/master
2 parents 224a22a + 0043a9d commit 6310410

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

packages/react-notion-x/src/styles.css

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -610,8 +610,8 @@
610610
}
611611

612612
.notion-search .notion-page-icon {
613-
fill: rgba(55, 53, 47, 0.8);
614-
color: rgb(55, 53, 47);
613+
fill: var(--fg-color-6);
614+
color: var(--fg-color);
615615
}
616616

617617
img.notion-page-icon,
@@ -2373,7 +2373,7 @@ svg.notion-page-icon {
23732373
box-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px,
23742374
rgba(15, 15, 15, 0.1) 0px 5px 10px, rgba(15, 15, 15, 0.2) 0px 15px 40px;
23752375
border-radius: 3px;
2376-
background: #fff;
2376+
background: var(--bg-color);
23772377

23782378
position: relative;
23792379
top: 90px;
@@ -2391,6 +2391,10 @@ svg.notion-page-icon {
23912391
font-family: var(--notion-font);
23922392
}
23932393

2394+
.notion-search input {
2395+
background-color: var(--bg-color);
2396+
}
2397+
23942398
.notion-search .quickFindMenu {
23952399
display: flex;
23962400
flex-direction: column;
@@ -2425,7 +2429,7 @@ svg.notion-page-icon {
24252429

24262430
.notion-search .inlineIcon {
24272431
margin-right: 10px;
2428-
fill: rgba(55, 53, 47, 0.4);
2432+
fill: var(--fg-color-2);
24292433
}
24302434

24312435
.notion-search .clearButton {
@@ -2438,15 +2442,15 @@ svg.notion-page-icon {
24382442
.notion-search .clearIcon {
24392443
width: 14px;
24402444
height: 14px;
2441-
fill: rgba(55, 53, 47, 0.3);
2445+
fill: var(--fg-color-2);
24422446
}
24432447

24442448
.notion-search .clearButton:hover .clearIcon {
2445-
fill: rgba(55, 53, 47, 0.4);
2449+
fill: var(--fg-color-3);
24462450
}
24472451

24482452
.notion-search .clearButton:active .clearIcon {
2449-
fill: rgba(55, 53, 47, 0.8);
2453+
fill: var(--fg-color-6);
24502454
}
24512455

24522456
@keyframes spinner {
@@ -2485,7 +2489,7 @@ svg.notion-page-icon {
24852489
margin-top: 1px;
24862490
font-size: 12px;
24872491
min-height: 28px;
2488-
color: rgba(55, 53, 47, 0.4);
2492+
color: var(--fg-color-2);
24892493
user-select: none;
24902494
padding: 0 16px;
24912495
display: flex;
@@ -2495,7 +2499,7 @@ svg.notion-page-icon {
24952499

24962500
.notion-search .resultsCount {
24972501
font-weight: 500;
2498-
color: rgba(55, 53, 47, 0.6);
2502+
color: var(--fg-color-3);
24992503
}
25002504

25012505
.notion-search .resultsPane {
@@ -2514,16 +2518,16 @@ svg.notion-page-icon {
25142518
display: flex;
25152519
flex-direction: column;
25162520
align-items: stretch;
2517-
color: rgb(55, 53, 47);
2521+
color: var(--fg-color);
25182522
text-decoration: none;
25192523
}
25202524

25212525
.notion-search .resultsPane .result:hover {
2522-
background: rgba(55, 53, 47, 0.08) !important;
2526+
background: var(--bg-color-2) !important;
25232527
}
25242528

25252529
.notion-search .resultsPane .result:active {
2526-
background: rgba(55, 53, 47, 0.16) !important;
2530+
background: var(--fg-color-1) !important;
25272531
}
25282532

25292533
.notion-search .resultsPane .result {

0 commit comments

Comments
 (0)