Skip to content

Commit

Permalink
bugfix: mixin issues and migration problems
Browse files Browse the repository at this point in the history
  • Loading branch information
klich3 committed Oct 24, 2024
1 parent 82a8a9d commit 55ab4c7
Show file tree
Hide file tree
Showing 17 changed files with 326 additions and 94 deletions.
Empty file added .sasslintrc
Empty file.
10 changes: 7 additions & 3 deletions 960.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
/*
Author: <Anthony Sychev> (hello at dm211 dot com | a.sychev at jfranc dot studio)
Buy me a coffe: https://www.buymeacoffee.com/twooneone
960.scss (c) 2022
█▀ █▄█ █▀▀ █░█ █▀▀ █░█
▄█ ░█░ █▄▄ █▀█ ██▄ ▀▄▀
Author: <Anton Sychev> (anton at sychev dot xyz)
960.scss (c) 2024
Created: 2022-06-21 17:48:02
Desc: 960 grid short classes
Docs:
* https://960-documentation.vercel.app/
*/

@charset "UTF-8";
Expand Down
213 changes: 209 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "960.css",
"version": "1.0.8",
"version": "1.0.9",
"description": "960 SCSS Layout most used and shortests css classes.",
"main": "960.scss",
"style": "css/960.css",
Expand Down Expand Up @@ -29,10 +29,11 @@
"homepage": "https://github.com/klich3/960#readme",
"repository": "klich3/960.git",
"scripts": {
"prepublish": "npm run lint && npm test && npm run build:css",
"prepublish": "npm run lint && npm run lint:fix && npm test && npm run build:css",
"test": "node test/index.js | tap-spec",
"lint": "semistandard && npm run lint:css",
"lint-fix": "semistandard --fix",
"lint:fix": "sass-lint-auto-fix",
"lint:css": "sass-lint 'scss/**/*.scss' -v",
"build:css": "node-sass 960.scss css/960.css --importer node_modules/node-sass-import --output-style=compressed",
"scss-compile": "npm run build:css",
Expand All @@ -43,6 +44,7 @@
"node-sass": "^9.0.0",
"node-sass-import": "^1.0.5",
"sass-lint": "^1.13.1",
"sass-lint-auto-fix": "^0.21.2",
"semistandard": "^17.0.0",
"tap-spec": "^2.2.2",
"tape": "^5.9.0"
Expand Down
12 changes: 6 additions & 6 deletions scss/debug/debug.scss
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
@use "../medias";
@use "../medias" as *;

/*
DEBUG
*/

.debug {
border: 1px dotted red;
border: 1px dotted #f00;
}

@include media(small) {
body.debug {
border: 4px solid yellow;
border: 4px solid #ff0;
}
}

@include media(middle) {
body.debug {
border: 4px solid red;
border: 4px solid #f00;
}
}

@include media(large) {
body.debug {
border: 4px solid green;
border: 4px solid #008000;
}
}

@include media(extraLarge) {
body.debug {
border: 4px solid blue;
border: 4px solid #00f;
}
}
Loading

0 comments on commit 55ab4c7

Please sign in to comment.