Skip to content

Commit

Permalink
fix: 🎨 styles related issues fix
Browse files Browse the repository at this point in the history
styles related changes and settings file updated

Ref #24
  • Loading branch information
techoneel committed Feb 2, 2024
1 parent 1bcd7a7 commit c77a383
Show file tree
Hide file tree
Showing 7 changed files with 73 additions and 50 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"editor.guides.indentation": true,
"editor.renderWhitespace": "boundary",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"eslint.validate": [
"javascript"
Expand Down
20 changes: 12 additions & 8 deletions app/styles/DefaultModuleStyles.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import { defaultUtilityStyles } from "@wrappid/styles";
import { DefaultCoreStyles } from "@wrappid/core";

export const defaultAppStyles = {
/**************************************************
* Using defaultUtilityStyles example
* eg. testWrappidStyleClass: { ...defaultUtilityStyles.anyUtilityStyle },
*************************************************/
testWrappidStyleClass: { ...defaultUtilityStyles.bgBlack }
};
export class DefaultModuleStyles extends DefaultCoreStyles {
constructor(){
super();
this.style = {
/**************************************************
* Using defaultUtilityStyles example
*************************************************/
testWrappidStyleClass: { ...this.styles.devBorder },
};
}
}
20 changes: 12 additions & 8 deletions app/styles/LargeModuleStyles.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
// -- import { largeUtilityStyles } from "@wrappid/styles";
import { LargeCoreStyles } from "@wrappid/core";

export const largeAppStyles = {
/**************************************************
* Using largeUtilityStyles example
* eg. usingLargeUtilityStyles: { ...largeUtilityStyles.anyUtilityStyle },
*************************************************/
testWrappidStyleClass: {/* your style goes here */}
};
export class LargeModuleStyles extends LargeCoreStyles {
constructor(){
super();
this.style = {
/**************************************************
* Using LargeUtilityStyles example
*************************************************/
testWrappidStyleClass: { ...this.styles.devBorder },
};
}
}
21 changes: 12 additions & 9 deletions app/styles/MediumModuleStyles.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
// -- import { mediumUtilityStyles } from "@wrappid/styles";
import { MediumCoreStyles } from "@wrappid/core";

export const mediumAppStyles = {

/**************************************************
* Using mediumUtilityStyles example
* eg. usingMediumUtilityStyles: { ...mediumUtilityStyles.anyUtilityStyle },
*************************************************/
testWrappidStyleClass: {/* your style goes here */}
};
export class MediumModuleStyles extends MediumCoreStyles {
constructor(){
super();
this.style = {
/**************************************************
* Using defaultUtilityStyles example
*************************************************/
testWrappidStyleClass: { ...this.styles.devBorder },
};
}
}
20 changes: 12 additions & 8 deletions app/styles/SmallModuleStyles.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
// -- import { smallUtilityStyles } from "@wrappid/styles";
import { SmallCoreStyles } from "@wrappid/core";

export const smallAppStyles = {
/**************************************************
* Using smallUtilityStyles example
* eg. usingSmallUtilityStyles: { ...smallUtilityStyles.anyUtilityStyle },
*************************************************/
testWrappidStyleClass: {/* your style goes here */}
};
export class SmallModuleStyles extends SmallCoreStyles {
constructor(){
super();
this.style = {
/**************************************************
* Using smallUtilityStyles example
*************************************************/
testWrappidStyleClass: { ...this.styles.devBorder },
};
}
}
20 changes: 12 additions & 8 deletions app/styles/XLargeModuleStyles.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
// -- import { xLargeUtilityStyles } from "@wrappid/styles";
import { XLargeCoreStyles } from "@wrappid/core";

export const xLargeAppStyles = {
/**************************************************
* Using xLargeUtilityStyles example
* eg. usingXLargeUtilityStyles: { ...xLargeUtilityStyles.anyUtilityStyle },
*************************************************/
testWrappidStyleClass: {/* your style goes here */}
};
export class XLargeModuleStyles extends XLargeCoreStyles {
constructor(){
super();
this.style = {
/**************************************************
* Using XLargeUtilityStyles example
*************************************************/
testWrappidStyleClass: { ...this.styles.devBorder },
};
}
}
20 changes: 12 additions & 8 deletions app/styles/XXLargeModuleStyles.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
// -- import { xXLargeUtilityStyles } from "@wrappid/styles";
import { XXLargeCoreStyles } from "@wrappid/core";

export const xXLargeAppStyles = {
/**************************************************
* Using xXLargeUtilityStyles example
* eg. usingXXLargeUtilityStyles: { ...xXLargeUtilityStyles.anyUtilityStyle },
*************************************************/
testWrappidStyleClass: {/* your style goes here */}
};
export class XXLargeModuleStyles extends XXLargeCoreStyles {
constructor(){
super();
this.style = {
/**************************************************
* Using XXLargeUtilityStyles example
*************************************************/
testWrappidStyleClass: { ...this.styles.devBorder },
};
}
}

0 comments on commit c77a383

Please sign in to comment.