简体   繁体   English

如何在模板中将.SCSS 编译为.CSS 项目文件

[英]how to compile .SCSS to .CSS project files in template

I'm a beginner developer and am only familiar with HTML/CSS/JS and some basics of their frameworks.我是一名初学者,只熟悉 HTML/CSS/JS 及其框架的一些基础知识。

I've recently purchased this Template from template monster for a project ( https://www.templatemonster.com/intense-multipurpose-html-template.html?aff=template-static )我最近从一个项目的模板怪物购买了这个模板( https://www.templatemonster.com/intense-multipurpose-html-template.html?aff=template-static

WHAT I NEED - Want to change the primary theme color of the template.我需要什么 - 想要更改模板的主要主题颜色。

WHAT ALL I DID - According to the documentation, it said -我做了什么 - 根据文件,它说 -

"To replace main colors of the template, you need to open the file _color-default.scss, and replace the values of $primary, $secondary, $gray-base...(depends on your template) variables with the necessary colors. Afterward, compile SCSS into CSS. " “要替换模板的主要 colors,您需要打开文件 _color-default.scss,并将 $primary、$secondary、$gray-base...(取决于您的模板)变量的值替换为必要的 colors .然后,将 SCSS 编译成 CSS。 "

在此处输入图像描述

THE PROBLEM I'M FACING - I'm completely new to the concept of SCSS, can somebody please help me on how to compile these SCSS files to CSS, as the document says.我面临的问题 - 我对 SCSS 的概念完全陌生,有人可以帮助我了解如何将这些 SCSS 文件编译为 CSS,如文档所述。

THIS IS MY Project, if it helps -这是我的项目,如果有帮助 -

Use a scss compiler like node-sass, live-sass or gulp.使用 scss 编译器,如 node-sass、live-sass 或 gulp。 An easier option is to use online compilers like http://beautifytools.com/scss-compiler.php or the one in CodePen一个更简单的选择是使用在线编译器,如http://beautifytools.com/scss-compiler.phpCodePen中的编译器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM