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
// This is in custom theme | |
$colorMain: red; | |
// $colorSec: blue; | |
// $colorSec: $colorMain; | |
// This in default theme | |
$colorMain: #0af !default; // Allow to override color from other theme | |
$colorMain: var(--user-brandPrimary500, $colorMain); |
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
{"name": "sort-error", "version": "0.0.0", "bin": "./sort.js"} |
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
Show hidden characters
{ | |
"order": [ | |
"dollar-variables", | |
"at-rules", | |
"declarations", | |
{ | |
"type": "at-rule", | |
"name": "keyframes" | |
}, | |
{ |
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
{ | |
"properties-order": [ | |
{ | |
"emptyLineBefore": true, | |
"properties": [ | |
"font", | |
"font-family", | |
"font-size", | |
"font-weight", | |
"font-style", |
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
class DropdownContainer extends Component { | |
constructor(...args) { | |
super(...args); | |
this.state = { | |
visible: false | |
}; | |
} | |
handleToggle = (e) => { |
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
$ npm run start | |
> @ start /Users/aleks/GitHub/postcss.org | |
> babel-node scripts/build --server --dev --open | |
[12:51:31 PM] [statinamic/lib/builder] { | |
[12:51:31 PM] [statinamic/lib/builder] "dev": true, | |
[12:51:31 PM] [statinamic/lib/builder] "prod": false, | |
[12:51:31 PM] [statinamic/lib/builder] "static": false, | |
[12:51:31 PM] [statinamic/lib/builder] "server": true, |
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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
@mixin icon($width, $height: $width, $center: false) { | |
width: $width; | |
height: $height; | |
@if $center { | |
margin-top: - floor($height / 2); | |
margin-left: - floor($width / 2); |
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
// ---- | |
// Sass (v3.4.13) | |
// Compass (v1.0.3) | |
// ---- | |
.block { | |
&--mod1 { color: red; } | |
&--mod2 { display: block; } | |
@at-root #{& + --mod1 + & + --mod2} { color: green; } | |
} |
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 sublime | |
import sublime_plugin | |
import re | |
import os | |
from html.parser import HTMLParser | |
class EcsstractorCommand(sublime_plugin.WindowCommand): | |
def run(self): | |
view = self.window.active_view() |