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
# Use an official Python runtime as a parent image | |
FROM python:2.7-slim | |
# Set the working directory to /app | |
WORKDIR /app | |
# Copy the current directory contents into the container at /app | |
COPY . /app | |
# Install any needed packages specified in requirements.txt |
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
// reproduce sass darken/lighten/fade function syntax on top of | |
// postcss-color-function (https://github.com/postcss/postcss-color-function) via | |
// postcss-functions https://github.com/andyjansson/postcss-functions | |
// https://github.com/jonathantneal/precss/issues/38 | |
// postcss-sass-colors.js | |
const colorFn = require('css-color-function') | |
function applyFn(value, fn, frac) { | |
return colorFn.convert('color(' + value + ' ' + fn + '(' + frac + '))') |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
OlderNewer