Skip to content

Commit 8ea92fc

Browse files
committed
revert sass
1 parent 8012129 commit 8ea92fc

File tree

28 files changed

+612
-2074
lines changed

28 files changed

+612
-2074
lines changed

nx.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
}
6363
},
6464
"$schema": "./node_modules/nx/schemas/nx-schema.json",
65+
"useDaemonProcess": false,
6566
"nxCloudAccessToken": "ZmVjZWYxNzctYTdmZC00ODYzLTg4MzEtZTE1YTVmZDdkZmY1fHJlYWQ=",
6667
"parallel": 3,
6768
"useInferencePlugins": false,

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
"@emotion/babel-plugin": "11.11.0",
2626
"@emotion/jest": "^11.11.0",
2727
"@mdx-js/react": "^3.1.0",
28-
"@nx/jest": "20.5.0",
29-
"@nx/js": "20.5.0",
30-
"@nx/react": "20.5.0",
31-
"@nx/storybook": "20.5.0",
32-
"@nx/web": "20.5.0",
33-
"@nx/webpack": "20.5.0",
28+
"@nx/jest": "19.3.2",
29+
"@nx/js": "19.3.2",
30+
"@nx/react": "19.3.2",
31+
"@nx/storybook": "19.3.2",
32+
"@nx/web": "19.3.2",
33+
"@nx/webpack": "19.3.2",
3434
"@storybook/addon-controls": "8.3.6",
3535
"@storybook/addon-designs": "^8.0.3",
3636
"@storybook/addon-docs": "^8.3.6",
@@ -81,7 +81,7 @@
8181
"lint-staged": "14.0.1",
8282
"micromatch": "^4.0.5",
8383
"mutationobserver-shim": "^0.3.3",
84-
"nx": "20.5.0",
84+
"nx": "19.3.2",
8585
"nx-cloud": "^19.1.0",
8686
"onchange": "^7.0.2",
8787
"prettier": "^2.8.7",

packages/gamut-styles/core.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@use "core/index";
1+
@import "core/index";
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@use "../utils";
2-
@use "reboot";
3-
@use "fonts";
4-
@use "typography";
1+
@import "../utils";
2+
@import "reboot";
3+
@import "fonts";
4+
@import "typography";

packages/gamut-styles/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"@emotion/styled": "^11.3.0",
2626
"lodash": "^4.17.5",
2727
"react": "^17.0.2 || ^18.2.0",
28-
"sass": "^1.85.0",
2928
"stylis": "^4.0.7"
3029
},
3130
"publishConfig": {

packages/gamut-styles/utils.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@forward "utils/index";
1+
@import "utils/index";
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// import order is unfortunately important here
22
// variables needs to access functions, and mixins needs to access variables
3-
@forward "functions/index";
4-
@forward "variables/index";
5-
@forward "mixins/index";
3+
@import "functions/index";
4+
@import "variables/index";
5+
@import "mixins/index";

packages/gamut-styles/utils/mixins/_responsive.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// Try to use these simple mixins if possible for your responsive needs
2-
@use "../variables/index.scss" as *;
32

43
// Example usage:
54
//
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
@forward "font-smoothing";
2-
@forward "no-select";
3-
@forward "responsive";
4-
@forward "shadow";
5-
@forward "sr-only";
6-
@forward "legacy";
1+
@import "font-smoothing";
2+
@import "no-select";
3+
@import "responsive";
4+
@import "shadow";
5+
@import "sr-only";
6+
@import "legacy";

packages/gamut-styles/utils/mixins/legacy.scss

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@use "responsive";
2-
31
// Legacy Helper mixins
42

53
// these variables should be located in ../variables
@@ -10,19 +8,19 @@ $bp-tablet: 736px;
108
$bp-desktop: 960px;
119

1210
@mixin device-phone {
13-
@include responsive.screen-size-between($bp-phone, $bp-tablet - 1) {
11+
@include screen-size-between($bp-phone, $bp-tablet - 1) {
1412
@content;
1513
}
1614
}
1715

1816
@mixin device-tablet {
19-
@include responsive.screen-size-between($bp-tablet, $bp-desktop - 1) {
17+
@include screen-size-between($bp-tablet, $bp-desktop - 1) {
2018
@content;
2119
}
2220
}
2321

2422
@mixin device-desktop {
25-
@include responsive.screen-size-gte($bp-desktop) {
23+
@include screen-size-gte($bp-desktop) {
2624
@content;
2725
}
2826
}

0 commit comments

Comments
 (0)