Skip to content

Instantly share code, notes, and snippets.

@rf5860
Created December 28, 2023 09:59
Show Gist options
  • Save rf5860/c002e339e0c2e31e8e949114f49ff80c to your computer and use it in GitHub Desktop.
Save rf5860/c002e339e0c2e31e8e949114f49ff80c to your computer and use it in GitHub Desktop.
Surfing Keys JS Config
// The find is positioned at the center.annotation
// For a lot of pages, I have 33% scaling on - so the position is offset based on that (50%/1.33)
settings.theme = `
#sk_find {
position: fixed !important;
left: 37.5% !important;
top: 37.5% !important;
transform: translateY(-37.5% -37.5%);
}
#sk_status, #sk_find {
font-size: 16pt;
}
.sk_theme {
font-family: 'Monofur Nerd Font Mono', 'JetBrainsMono NF', 'JetBrainsMono Nerd Font', Consolas, 'SpaceMono Nerd Font Mono', Menlo, monospace;
background: #24272e;
color: #abb2bf;
}
.sk_theme tbody {
color: #fff;
}
.sk_theme input {
color: #d0d0d0;
}
.sk_theme .url {
color: #61afef;
}
.sk_theme .annotation {
color: #56b6c2;
}
.sk_theme .omnibar_highlight {
color: #528bff;
}
.sk_theme .omnibar_timestamp {
color: #e5c07b;
}
.sk_theme .omnibar_visitcount {
color: #98c379;
}
.sk_theme #sk_omnibarSearchResult ul li:nth-child(odd) {
background: #303030;
}
.sk_theme #sk_omnibarSearchResult ul li.focused {
background: #3e4452;
}`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment