- install npm packages
- update brunch-config.js
- rename web/static/css/app.css to web/static/css/app.scss
- update web/static/css/app.scss
This file contains hidden or 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
#!/usr/bin/env ruby | |
require 'fileutils' | |
# Use: atom-templates [repo_name] | |
# | |
# 1. Clone the repository if it doesn't already exist; fetch `master` if it does | |
# 2. Clean up old `template-update` branch if it exists | |
# 3. Check out new branch `template-update` based on `origin/master` | |
# 4. Copy template files over |
This file contains hidden or 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
import '../support' | |
import CharacteristicsBlock from '../../src/hero/characteristics-block' | |
import HeroEnvironment from '../../src/renderer/hero-environment' | |
describe('CharacteristicsBlock', function () { | |
let block, heroEnv | |
beforeEach(function () { | |
heroEnv = new HeroEnvironment() |
This file contains hidden or 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
atom-text-editor::shadow { | |
div.line:not(.cursor-line) { | |
.trailing-whitespace { | |
background-color: @background-color-error; | |
color: contrast(@background-color-error); | |
} | |
} | |
} |
This file contains hidden or 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
atom-text-editor, atom-text-editor::shadow { | |
.cursor { | |
transition: opacity 0.5s; | |
} | |
} |
This file contains hidden or 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
atom-text-editor, atom-text-editor::shadow { | |
.comment { | |
font-style: normal; | |
} | |
} |
This file contains hidden or 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
atom-text-editor::shadow { | |
.cursor-line { | |
background-color: @background-color-highlight; | |
} | |
} |
This file contains hidden or 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
atom-text-editor::shadow .misspelling { | |
background-color: @background-color-error; | |
opacity: 0.4; | |
border-radius: 6px; | |
border: none; | |
} |
This file contains hidden or 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
atom-text-editor::shadow { | |
.cursors.blink-off .cursor { | |
opacity: 1; | |
} | |
} |
This file contains hidden or 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
// https://discuss.atom.io/t/crazy-3d-angled-tree-view/18765 | |
#atom-perspective() { | |
@viewing-distance: 12in; | |
@rotation: 20deg; | |
.tree-view-scroller { | |
transform: translateY(-10vh) perspective(@viewing-distance) rotateY(@rotation); | |
padding-top: 12vh; | |
padding-bottom: 12vh; | |
transform-origin: left; |