-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
52 changed files
with
665 additions
and
540 deletions.
There are no files selected for viewing
Binary file added
BIN
+156 KB
.yarn/cache/@algolia-autocomplete-core-npm-1.9.3-e43f49f9c4-ce78048568.zip
Binary file not shown.
Binary file added
BIN
+45 KB
...n/cache/@algolia-autocomplete-plugin-algolia-insights-npm-1.9.3-340befcbfe-030695bf69.zip
Binary file not shown.
Binary file added
BIN
+47.8 KB
.yarn/cache/@algolia-autocomplete-preset-algolia-npm-1.9.3-ac8ef6572f-1ab3273d30.zip
Binary file not shown.
Binary file added
BIN
+39.8 KB
.yarn/cache/@algolia-autocomplete-shared-npm-1.9.3-e918a6f29f-06014c8b08.zip
Binary file not shown.
Binary file added
BIN
+3.97 KB
.yarn/cache/@algolia-cache-browser-local-storage-npm-4.20.0-41fde46270-b9ca7e190a.zip
Binary file not shown.
Binary file added
BIN
+3.11 KB
.yarn/cache/@algolia-cache-common-npm-4.20.0-3006b59130-a46377de8a.zip
Binary file not shown.
Binary file added
BIN
+2.9 KB
.yarn/cache/@algolia-cache-in-memory-npm-4.20.0-0cf4013dd0-3d67dcfae4.zip
Binary file not shown.
Binary file added
BIN
+3.73 KB
.yarn/cache/@algolia-client-account-npm-4.20.0-12742378b6-b59e9c7a32.zip
Binary file not shown.
Binary file added
BIN
+4.33 KB
.yarn/cache/@algolia-client-analytics-npm-4.20.0-4a78826b8d-0be4120ab7.zip
Binary file not shown.
Binary file added
BIN
+4.82 KB
.yarn/cache/@algolia-client-common-npm-4.20.0-918bd58d1f-88a27b5f8b.zip
Binary file not shown.
Binary file added
BIN
+3.52 KB
.yarn/cache/@algolia-client-personalization-npm-4.20.0-7aec20c3e2-ddb92ebe13.zip
Binary file not shown.
Binary file added
BIN
+30.9 KB
.yarn/cache/@algolia-client-search-npm-4.20.0-6e29619eed-9fb6624dab.zip
Binary file not shown.
Binary file added
BIN
+2.41 KB
.yarn/cache/@algolia-logger-common-npm-4.20.0-8ebb472f8b-06ed28f76b.zip
Binary file not shown.
Binary file added
BIN
+2.46 KB
.yarn/cache/@algolia-logger-console-npm-4.20.0-de270d72b7-721dffe375.zip
Binary file not shown.
Binary file added
BIN
+3.32 KB
.yarn/cache/@algolia-requester-browser-xhr-npm-4.20.0-5d2966daa1-669790c7df.zip
Binary file not shown.
Binary file added
BIN
+2.72 KB
.yarn/cache/@algolia-requester-common-npm-4.20.0-c8e15696c6-8580ffd2be.zip
Binary file not shown.
Binary file added
BIN
+4.16 KB
.yarn/cache/@algolia-requester-node-http-npm-4.20.0-e12b90b81e-7857114b59.zip
Binary file not shown.
Binary file added
BIN
+13.4 KB
.yarn/cache/@algolia-transporter-npm-4.20.0-ee6af3fcca-f834d5c8fc.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
import { createGlobalStyle, css } from "styled-components" | ||
|
||
const DocSearchStyles = css` | ||
:root { | ||
--docsearch-primary-color: ${({ theme }) => theme.color.pink}; | ||
--docsearch-text-color: ${({ theme }) => theme.color.foreground}; | ||
--docsearch-highlight-color: ${({ theme }) => theme.color.pink}; | ||
--docsearch-muted-color: #a4a6a8; | ||
--docsearch-container-background: rgba(0, 0, 0, 0.5); | ||
/* Modal */ | ||
--docsearch-modal-background: ${({ theme }) => theme.color.background}; | ||
--docsearch-modal-shadow: inset 1px 1px 0 0 #2c2e40, 0 3px 8px 0 #000309; | ||
/* Search box */ | ||
--docsearch-searchbox-background: rgba(255, 255, 255, 0.1); | ||
--docsearch-searchbox-focus-background: #141725; | ||
/* Hit */ | ||
--docsearch-hit-color: ${({ theme }) => theme.color.foreground}; | ||
--docsearch-hit-active-color: ${({ theme }) => theme.color.foreground}; | ||
--docsearch-hit-background: ${({ theme }) => theme.color.backgroundLighter}; | ||
--docsearch-hit-shadow: none; | ||
/* Footer */ | ||
--docsearch-footer-background: ${({ theme }) => theme.color.background}; | ||
--docsearch-footer-shadow: inset 0 1px 0 0 rgba(73, 76, 106, 0.5), | ||
0 -4px 8px 0 rgba(0, 0, 0, 0.2); | ||
/* Keys */ | ||
--docsearch-key-gradient: linear-gradient( | ||
-26.5deg, | ||
#32343e 0%, | ||
rgb(38, 40, 51) 100% | ||
); | ||
--docsearch-key-shadow: inset 0 -2px 0 0 #282d55, inset 0 0 1px 1px #51577d, | ||
0 2px 2px 0 rgba(3, 4, 9, 0.3); | ||
} | ||
.DocSearch-Button { | ||
height: 3rem; | ||
border-radius: 0.4rem; | ||
background: ${({ theme }) => theme.color.selection}; | ||
color: ${({ theme }) => theme.color.gray2}; | ||
border: none; | ||
} | ||
.DocSearch-Button:hover { | ||
border: none; | ||
background: ${({ theme }) => theme.color.comment}; | ||
box-shadow: none; | ||
color: ${({ theme }) => theme.color.foreground}; | ||
} | ||
.DocSearch-Button-Placeholder { | ||
font-size: 100%; | ||
} | ||
.DocSearch-Button .DocSearch-Search-Icon { | ||
color: ${({ theme }) => theme.color.gray2}; | ||
width: 1.8rem; | ||
height: 1.8rem; | ||
} | ||
.DocSearch-Button:hover .DocSearch-Search-Icon { | ||
color: ${({ theme }) => theme.color.foreground}; | ||
} | ||
.DocSearch-Button-Key { | ||
top: 0; | ||
padding: 0 4px; | ||
background: ${({ theme }) => theme.color.gray2}; | ||
border-radius: 2px; | ||
box-shadow: none; | ||
color: ${({ theme }) => theme.color.black}; | ||
font-size: 1.2rem; | ||
font-style: inherit; | ||
font-family: inherit; | ||
font-weight: 600; | ||
} | ||
.DocSearch-Hit-title { | ||
font-size: 100%; | ||
} | ||
.DocSearch-Logo .cls-1, | ||
.DocSearch-Logo .cls-2 { | ||
fill: ${({ theme }) => theme.color.foreground} !important; | ||
} | ||
` | ||
|
||
export const GlobalStyle = createGlobalStyle` | ||
${DocSearchStyles} | ||
` |
Oops, something went wrong.