Open petrosh opened 9 years ago
snippets.cson
# Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#
# '.source.coffee':
# 'Console log':
# 'prefix': 'log'
# 'body': 'console.log $1'
#
'.source.sass, .source.css':
'MarginPaddingZero':
'prefix': 'mpz'
'body': 'marign: 0px;\npadding: 0px;\n'
'.source.sass':
'MarginPaddingZero':
'prefix': 'mpz'
'body': 'marign: 0px\npadding: 0px\n'
# HTML Boilerplate
# from https://github.github.io/fetch/
'.text.html':
'htmlHeader':
prefix: 'htmlHeader'
body: """
<!doctype html>
<title>${1:title}</title>
<meta charset="utf-8">
<link rel="stylesheet" href="${2:style.css}">
<header>
<h1>$1</h1>
<nav>$4</nav>
</header>
<main>$6</main>
<footer>$5</footer>
<script src="${3:script.js}"></script>
$0
"""
description: 'HTML with `header` from fetch'
rightLabelHTML: '<span style="color:#ff0;">HTML <span style="font-style:italic;">header</span></span>'
descriptionMoreURL: 'https://github.github.io/fetch/'
'htmlSections':
prefix: 'htmlSections'
body: """
<!doctype html>
<title>${1:title}</title>
<meta charset="utf-8">
<link rel="stylesheet" href="${2:style.css}">
<h1>$1</h1>
<nav>$4</nav>
<section id="$6">
<h2>$6</h2>
</section>
<footer>$5</footer>
<script src="${3:script.js}"></script>
$0
"""
description: 'HTML with `section` from fetch'
rightLabelHTML: '<span style="color:#f90;">HTML <span style="font-style:italic;">sectioned</span></span>'
styles.less
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed.
*
* If you are unfamiliar with LESS, you can read more about it here:
* http://www.lesscss.org
*/
.tree-view {
font-size: 18px;
}
atom-text-editor {
//background-color: hsla(210, 6%, 6%, 1) !important; // was #1d1f21
}
.atom-text-editor .cursor {
}
.scrollbars-visible-always {
/deep/ ::-webkit-scrollbar {
&-thumb { background: rgba(179, 179, 179, .5) !important; }
}
}
//Cursor Line
atom-text-editor::shadow {
// The cursor line important to use rgba for opacity, also requires !important
// to override any theme.
.line.highlight-line {
background: #373B41 !important;
}
.bracket-matcher {
// border-bottom: 1px solid lime;
position: absolute;
// border: 1px solid rgba(0, 255, 0, 0.7);
background-color: rgba(0, 255, 0, 0.3);
}
.selection .region {
//background-color: rgba(48,52,57,.7);
}
// Replace 'solid', with 'dashed' or 'dotted' depending of what you have
// set in the settings page.
// This is for the bottom line (underline)
.line.highlight-line-multi-line-solid-bottom {
border-bottom-color: rgba(91, 94, 96, 0.2) !important;
}
// This is for the top line when you have the selection borders enabled.
.line.highlight-line-multi-line-solid-top {
border-top-color: red;
}
}
atom-text-editor.is-focused::shadow {
ruler-view.rulerz {
border-left-color: rgba(91, 94, 96, 0.2);
}
}
atom-text-editor::shadow .hard-tab {
opacity: 0;
text-decoration: line-through;
background-color: none;
}
.editor{
.cursor-line{
border-bottom: 1px solid black;
}
}
styles.less
config.cson