Skip to content

Commit a411ae8

Browse files
committed
style(api-doc): adds missing scalar css variables
1 parent 5d72b35 commit a411ae8

File tree

1 file changed

+6
-0
lines changed
  • packages/gitbook/src/components/DocumentView/OpenAPI

1 file changed

+6
-0
lines changed

packages/gitbook/src/components/DocumentView/OpenAPI/scalar.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@
5757
--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);
5858
--scalar-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px, rgba(0, 0, 0, 0.08) 0px 3px 8px 0px,
5959
#eeeeed 0px 0 0 1px;
60+
61+
--scalar-selection-background: rgba(96, 175, 255, 0.4);
62+
--scalar-selection-color: rgb(var(--dark-base, 22 22 22));
6063
}
6164
.dark .scalar-modal-layout,
6265
.dark .scalar-app,
@@ -114,6 +117,9 @@
114117
--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1);
115118
--scalar-shadow-2: rgba(15, 15, 15, 0.2) 0px 3px 6px, rgba(15, 15, 15, 0.4) 0px 9px 24px,
116119
0 0 0 1px rgba(255, 255, 255, 0.1);
120+
121+
--scalar-selection-background: rgba(96, 175, 255, 0.4);
122+
--scalar-selection-color: rgb(var(--light-base, 255 255 255));
117123
}
118124
.scalar-modal-layout,
119125
.scalar-app,

0 commit comments

Comments
 (0)