Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

css-doodle

Package Overview
Dependencies
Maintainers
1
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-doodle - npm Package Versions

1
19

0.30.6

Diff

Changelog

Source

0.30.6

I was wrong. Only set background-size:100% to pattern, canvas, and shader.

<br /> <br />

yuanchuan
published 0.30.5 •

Changelog

Source

0.30.5

  • Always add background-size:100% to background properties.

<br /> <br />

yuanchuan
published 0.30.4 •

Changelog

Source

0.30.4

  • Normalize quoted SVG attribute values.

<br /> <br />

yuanchuan
published 0.30.3 •

Changelog

Source

0.30.3

  • Do not break for decodeURI.
  • Fix SVG generator on cutting values.

<br /> <br />

yuanchuan
published 0.30.2 •

Changelog

Source

0.30.2

  • Fix type error.

<br /> <br />

yuanchuan
published 0.30.1 •

Changelog

Source

0.30.1

  • Fix CSS and SVG parser on quotes and parens.
  • Add range support for @m function.
    ::after {
      /* 5 4 3 2 1 */
      content: @M5-1.@n;
    }
    

<br /> <br />

yuanchuan
published 0.30.0 •

Changelog

Source

0.30.0

  • Add exports.

    import CSSDoodle from 'css-doodle';
    import { svg, shape } from 'css-doodle/generator';
    import { tokenizer } from 'css-doodle/parser';
    
    document.appendChild(CSSDoodle`
      @grid: 10 / 200px;
      background: @p(red, blue);
      margin: 1px;
    `);
    
    let code = svg(`
      viewBox: 0 0 10 10;
      circle {
        cx, cy, r: 5;
      }
    `);
    
    let polygon = shape(`
      points: 200;
      r: sin(t);
    `);
    
    let tokens = tokenizer.scan(`
      color: red
    `);
    

<br /> <br />

yuanchuan
published 0.29.4 •

yuanchuan
published 0.29.3 •

yuanchuan
published 0.29.2 •

Changelog

Source

0.29.2

  • Restore Plot function for unitless points.
  • Allow spaces around times operator.
  • Fix inline SVG element generator.

<br /> <br />

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc