python-stylus

A bridge to the Stylus CSS compiler
Download

python-stylus Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Kevin Le
  • Publisher web site:
  • https://github.com/bkad/

python-stylus Tags


python-stylus Description

python-stylus bridges your Python code and the Stylus library.Installationpip install stylusUsage```pythonfrom stylus import Styluscompiler = Stylus()compiler.compile("""border-radius() -webkit-border-radius arguments -moz-border-radius arguments border-radius argumentsbody font 12px Helvetica, Arial, sans-serifa.button border-radius 5px""")# import pluginscompiler.use("nib")compiler.compile("""@import 'nib'body background: linear-gradient(top, white, black)""")```Product's homepage


python-stylus Related Software