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: { | |
| user: { | |
| type: Object | |
| }, | |
| route: { | |
| type: Object, | |
| notify: 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
| .has-a-data-url { | |
| background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiP…pZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9+IA==), none 0 0; | |
| } | |
| :host { | |
| color: blue; | |
| color: var(--gets-applied_-_color); | |
| --gets-applied_-_color: red;; | |
| --big_-_foo1: bar1; --big_-_foo2: bar2; --big_-_foo3: bar3; --big_-_foo4: bar4; --big_-_foo5: bar5; --big_-_foo6: bar6; --big_-_foo7: bar7; --big_-_foo8: bar8; --big_-_foo9: bar9; --big_-_background: linear-gradient(var(--color1), var(--color2) calc(var(--length1)*1px)) 0;; | |
| } |
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
| .has-a-data-url { | |
| background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9+IA==), none 0 0; | |
| } | |
| :host { | |
| color: blue; | |
| @apply --gets-applied; | |
| --gets-applied: { color: red; }; | |
| --big: { | |
| foo1: bar1; |
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
| require('babel-core/register'); | |
| const { Parser, NodeFactory, Stringifier, nodeType } = require('../src/shady-css'); | |
| class MixinApplyRegistrar extends NodeFactory { | |
| constructor() { | |
| super(); | |
| // A map of mixin names to a list of custom declaration nodes that represent | |
| // a "desugared" representation of those mixins. The desugared version is | |
| // an array of custom properties: |
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
| <!-- Idempotently create a CouchDB index on the value field --> | |
| <carbon-pouchdb-index | |
| db-name="carbon-pouchdb-demo" | |
| fields='["value"]'> | |
| </carbon-pouchdb-index> | |
| <!-- Declarative conflict resolution strategy --> | |
| <carbon-pouchdb-conflict-resolution | |
| strategy="firstWriteWins"> | |
| </carbon-pouchdb-conflict-resolution> |
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
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>Hemingway Word Processor</title> | |
| <style> | |
| @keyframes fadeAway { | |
| 0% { | |
| 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
| <carbon-firebase-storage | |
| id="storage" | |
| location="https://carbon-firebase-test.firebaseio.com/demo" | |
| data="{{data}}"> | |
| </carbon-firebase-storage> | |
| <carbon-persistence-service | |
| id="persistence" | |
| data="{{data}}" | |
| persisted-data="{{persistedData}}" |
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
| <word-art foreground="😂" background="🍕" text="foobar"> |
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
| // ==UserScript== | |
| // @name PolyTiming | |
| // @namespace PolyTiming | |
| // @include * | |
| // @version 1 | |
| // @run-at document-start | |
| // @grant none | |
| // ==/UserScript== | |
| (function(window) { |
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
| * { | |
| text-rendering: optimizeSpeed; | |
| } |