Skip to content

Commit

Permalink
scss updates
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasthaddeus committed May 19, 2024
1 parent a9059d8 commit 2894b2a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
14 changes: 5 additions & 9 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"extends": "stylelint-config-standard",
"plugins": [
"stylelint-scss"
],
"plugins": ["stylelint-scss"],
"rules": {
"import-notation": null,
"at-rule-no-unknown": [
Expand All @@ -15,18 +13,16 @@
"include",
"if",
"else",
"for"
"for",
"use",
"forward"
]
}
],
"function-no-unknown": [
true,
{
"ignoreFunctions": [
"darken",
"lighten",
"percentage"
]
"ignoreFunctions": ["darken", "lighten", "percentage", "math.div"]
}
],
"media-query-no-invalid": null,
Expand Down
1 change: 0 additions & 1 deletion src/scss/layout/_grid.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* _grid.scss */
@use "sass:math";

.container {
Expand Down
2 changes: 2 additions & 0 deletions src/scss/main.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/* main.scss */

use "sass:math";

/* Abstracts */
@import 'abstracts/variables';
@import 'abstracts/mixins';
Expand Down
9 changes: 5 additions & 4 deletions src/scss/vendors/custom-bootstrap.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
// src/scss/vendors/custom-bootstrap.scss
/* src/scss/vendors/custom-bootstrap.scss */
@import "../abstracts/variables"; // Ensure your custom variables are imported first
@import "bootstrap/scss/bootstrap";

// Override Bootstrap variables here
/* Override Bootstrap variables here */
$font-size-base: 1rem; // Example variable override
$line-height-base: 1.5;
$nav-link-padding-y: 0.5rem;

// Import Bootstrap's main SCSS file
@import "/node_modules/bootstrap/scss/bootstrap";
// /* Import Bootstrap's main SCSS file */
// @import "/node_modules/bootstrap/scss/bootstrap";

0 comments on commit 2894b2a

Please sign in to comment.