passlang
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

passlang

Usage

  1. Write your CSS(eg:- example.pass.ts)
    import { css } from '@passlang/core'
    export default css`
    nav {
      width: ${10 + 10}px; /* operators */
    }
    
    ul {
      font: 100% ${font_stack}; /* using variables */
    }
    
    li {
      ${theme()} /* using functions / mixins */
    }
    
    a {
      ${equal_heights}/* extending styles */
    }
    `
  2. Convert it to css
    npx passlang example.pass.ts
    Take a look at the newly created example.pass.css file.

Contact me via discussions for help.

Package Sidebar

Install

npm i passlang

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

9.74 kB

Total Files

19

Last publish

Collaborators

  • ksengine