Skip to content

Instantly share code, notes, and snippets.

// Copy to src/styles/base.css
:root {
--color1: #eeeadf;
--color2: #313026;
--color3: #6a3e2e;
--color4: #a34c37;
--color5: #dd5a40;
--color6: #BBB6DF;
--fg-dark: #ffffff;
--font1: 'Fira Sans Condensed', sans-serif;
@diegogd
diegogd / designer.html
Last active August 11, 2016 19:47
designer
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../ace-element/ace-element.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<polymer-element name="my-element">
<template>
<style>
# La cucaracha - Sonic Pi
corchea = 0.5
negra = 1
blanca = 2
use_bpm 120
use_synth :fm
use_synth_defaults release: corchea
// An example controller binded to the form
function FormCntl($scope, $compile) {
// Consider using FosJsRouting bundle, if you want to use a Symfony2 route
$scope.formUrl = "http://url-to-fetch-my-form";
// Data from the form will be binded here
$scope.data = {};
// Method called when submitting the form
$scope.submit = function() {