Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>lazy-css-snippetNew to Visual Studio Code? Get it now.
lazy-css-snippet

lazy-css-snippet

42

|
33 installs
| (1) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

lazy-css-snippet

目前仅支持scss变量

example

{
  "9px": "$font-xxxs;", 
  "10px": "$font-xxs;",
  "11px": "$font-xs;",
  "12px": "$font-s;",
  "13px": "$font-m;",
  "14px": "$font-xm;",
  "16px": "$font-l;",
  "18px": "$font-xl;",
  "20px": "$font-xxl;",
  "24px": "$font-xxxl",
  "#1181d7": "$color-primary;",
  "#eda12d": "$color-yellow;",
  "#fdbb56": "$color-yellow1;",
  ...
}

以后可能会改为读取全部配置,不限文件类型的模式 (逃

License

MIT License © 2023 sjh42

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft