Bug 1699511 - Adding SASS to STP r=thecount

Differential Revision: https://phabricator.services.mozilla.com/D110712
This commit is contained in:
Gavin Lazar Suntop 2021-04-05 22:49:59 +00:00
parent bb9005bc4a
commit 67c91f8ab0
11 changed files with 24 additions and 9 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,4 @@
@import "./normalize";
@import "./saved";
@import "./signup";
@import "./sendtomobile";

View File

@ -5,9 +5,7 @@
<meta http-equiv="Content-Security-Policy" content="default-src chrome:; img-src https://img-getpocket.cdn.mozilla.net; object-src 'none'" />
<base href="chrome://pocket/content/panels/">
<title>Pocket: Page Saved</title>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/saved.css">
<link rel="stylesheet" href="css/sendtomobile.css">
<link rel="stylesheet" href="css/main.compiled.css">
</head>
<body class="pkt_ext_containersaved" aria-live="polite">
<script src="js/vendor/jquery-2.1.1.min.js"></script>

View File

@ -5,8 +5,7 @@
<meta http-equiv="Content-Security-Policy" content="default-src chrome:; object-src 'none'" />
<base href="chrome://pocket/content/panels/">
<title>Pocket: Sign Up</title>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/signup.css">
<link rel="stylesheet" href="css/main.compiled.css">
</head>
<body class="pkt_ext_containersignup" aria-live="polite">
<script src="js/vendor/jquery-2.1.1.min.js"></script>

View File

@ -742,6 +742,15 @@
"path-parse": "^1.0.6"
}
},
"sass": {
"version": "1.32.8",
"resolved": "https://registry.npmjs.org/sass/-/sass-1.32.8.tgz",
"integrity": "sha512-Sl6mIeGpzjIUZqvKnKETfMf0iDAswD9TNlv13A7aAF3XZlRPMq4VvJWBC2N2DXbp94MQVdNSFG6LfF/iOXrPHQ==",
"dev": true,
"requires": {
"chokidar": ">=2.0.0 <4.0.0"
}
},
"semver": {
"version": "5.7.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",

View File

@ -4,10 +4,12 @@
"description": "Task running for Save to Pocket Extension",
"scripts": {
"start": "npm run build && npm run watch",
"build": "run-p build:*",
"build": "npx run-p build:*",
"build:handlebars": "node compile_handlebars.js",
"watch": "run-p watch:*",
"watch:handlebars": "chokidar \"content/panels/tmpl/**/*.handlebars\" -c \"npm run build:handlebars\"",
"build:sass": "npx sass content/panels/css/main.scss content/panels/css/main.compiled.css --style=compressed",
"watch": "npx run-p watch:*",
"watch:handlebars": "npx chokidar \"content/panels/tmpl/**/*.handlebars\" -c \"npm run build:handlebars\"",
"watch:sass": "npx chokidar \"content/panels/css/**/*.scss\" -c \"npm run build:sass\"",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Mozilla (https://mozilla.org/)",
@ -15,7 +17,8 @@
"devDependencies": {
"chokidar-cli": "2.1.0",
"handlebars": "3.0.0",
"npm-run-all": "4.1.5"
"npm-run-all": "4.1.5",
"sass": "1.32.8"
},
"repository": "https://hg.mozilla.org/"
}