Skip to content

Instantly share code, notes, and snippets.

@stu-smith
Last active May 25, 2016 08:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stu-smith/64fe3cb7c09844234501 to your computer and use it in GitHub Desktop.
Save stu-smith/64fe3cb7c09844234501 to your computer and use it in GitHub Desktop.
// ===================================================
// Predawn enhancements for oldies with bad eyesight.
// ===================================================
// Start with: predawn-ui, predawn-syntax.
// Add highlight-line.
// Suggested font: Source Code Pro 14 or Consolas 14
// Make the tree and tab fonts a little larger.
.list-tree, .tab {
font-size: 14px !important;
}
// Fade out the help messages when no tabs are open.
.background-message {
color: #444 !important;
}
// A little border around the editor.
.workspace {
border: 2px solid #222 !important;
}
// Change scrollbar background and styling.
::-webkit-scrollbar-track {
background: #222 !important;
}
::-webkit-scrollbar-thumb {
border-radius: 4px !important;
}
// Show modified and added files with highlight in the tree.
.tree-view {
.status-modified {
color: #F49D62 !important;
& > .list-item {
color: #F49D62 !important;
}
}
}
.list-group li:not(.list-nested-item).selected.status-modified,
.list-tree li:not(.list-nested-item).selected.status-modified,
.list-group li.list-nested-item.selected.status-modified > .list-item,
.list-tree li.list-nested-item.selected.status-modified > .list-item {
color: #F49D62 !important;
}
.tree-view {
.status-added {
color: #ECEC89 !important;
& > .list-item {
color: #ECEC89 !important;
}
}
}
.list-group li:not(.list-nested-item).selected.status-added,
.list-tree li:not(.list-nested-item).selected.status-added,
.list-group li.list-nested-item.selected.status-added > .list-item,
.list-tree li.list-nested-item.selected.status-added > .list-item {
color: #ECEC89 !important;
}
atom-text-editor::shadow {
// Make insertion point slightly wider.
.cursor {
border-left-width: 2px;
}
// Comments should be in green, that's a law of the universe.
.comment {
color: rgb(31, 245, 76);
}
// Show invisibles, but faintly.
.invisible-character {
opacity: 0.4;
}
// Show the current line highlighted in faint blue.
.line.highlight-line {
background: rgba(0, 221, 251, 0.2) !important;
}
.line.highlight-line-multi-line-solid-bottom {
border-bottom-color: rgb(0, 221, 251);
}
.line.highlight-line-multi-line-solid-top {
border-top-color: rgb(0, 221, 251);
}
// Highlight matching brackets.
.bracket-matcher {
border-bottom: none;
position: absolute;
outline: 1px solid rgba(0, 221, 251, 0.7);
background-color: rgba(0, 221, 251, 0.3);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment