diff --git a/docs/getting-started/introduction.md b/docs/getting-started/introduction.md index 8b30041..3908b67 100644 --- a/docs/getting-started/introduction.md +++ b/docs/getting-started/introduction.md @@ -16,7 +16,7 @@ For the moment, the theme package can be installed using something like this in ```json "devDependencies": { - "@bcgov/bootstrap-theme": "https://github.com/bcgov/bootstrap-theme/releases/download/v1.1.1/bcgov-bootstrap-theme-1.1.1.tgz", + "@bcgov/bootstrap-theme": "https://github.com/bcgov/bootstrap-theme/releases/download/v1.1.4/bcgov-bootstrap-theme-1.1.4.tgz", "bootstrap": "~4.3.1", } ``` @@ -28,20 +28,20 @@ of Bootstrap functions and mixins. The SCSS source can be included using the fol ```scss $bcgov-font-path: "../node_modules/@bcgov/bootstrap-theme/dist/fonts/"; -@import "~@bcgov/bootstrap-theme/dist/scss/bootstrap-theme"; +@import "@bcgov/bootstrap-theme/dist/scss/bootstrap-theme"; ``` SCSS variables and mixins defined by Bootstrap and the theme can be imported independent of any display rules for use in isolated components: ```scss -@import "~@bcgov/bootstrap-theme/dist/scss/common"; +@import "@bcgov/bootstrap-theme/dist/scss/common"; ``` Generated CSS can be imported using the following (paths may vary): ```css -@import "~@bcgov/bootstrap-theme/dist/css/bootstrap-theme.min.css"; +@import "@bcgov/bootstrap-theme/dist/css/bootstrap-theme.min.css"; ``` ## Javascript support diff --git a/src/styles/_common.scss b/src/styles/_common.scss index 4f007f4..9b830d9 100644 --- a/src/styles/_common.scss +++ b/src/styles/_common.scss @@ -1,9 +1,9 @@ // Includes in this file should not define any CSS classes, it is only meant for // defining variables and functions for use by isolated components -@import "~bootstrap/scss/functions"; +@import "bootstrap/scss/functions"; @import "variables"; -@import "~bootstrap/scss/variables"; -@import "~bootstrap/scss/mixins"; +@import "bootstrap/scss/variables"; +@import "bootstrap/scss/mixins"; diff --git a/src/styles/bootstrap-theme.scss b/src/styles/bootstrap-theme.scss index 4050411..8c97366 100644 --- a/src/styles/bootstrap-theme.scss +++ b/src/styles/bootstrap-theme.scss @@ -2,7 +2,7 @@ @import "common"; // Now bring in the rest of bootstrap! -@import "~bootstrap/scss/bootstrap"; +@import "bootstrap/scss/bootstrap"; // Overrides of bootstrap classes @import "overrides";