anything-scripts

Disposable scripts to fix day to day problems.
git clone git://soucy.cc/anything-scripts.git
Log | Files | Refs

hexcolors-extractor.mustache (453B)


      1 <!DOCTYPE html>
      2 <html>
      3     <head>
      4         <meta charset="UTF-8">
      5         <title>{{ NAME }}</title>
      6     </head>
      7     <body>
      8         <div>
      9             {{# COLORS }}
     10                 <svg height="200" width="200" viewBox = "0 0 200 200" >
     11                     <rect x="0" y="15" width="150" height="150" fill="{{ . }}"/>
     12                     <text x="0" y="15">{{ . }}</text>
     13                 </svg>
     14             {{/ COLORS }}
     15         </div>
     16     </body>
     17 </html>