New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

css-doodle

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-doodle - npm Package Versions

yuanchuan
published 0.30.8 •

Changelog

Source

0.30.8

Experimenting the new added pr function.

<br /> <br />

yuanchuan
published 0.30.7 •

Changelog

Source

0.30.7

Experimenting the new added cycle() function.

<br /> <br />

yuanchuan
published 0.30.6 •

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 •