-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
21 additions
and
60 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
packages/carbon-addons-devenv/src/scss/addons_samples/logo.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
packages/carbon-addons-devenv/src/scss/addons_samples/personfolio.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
.#{$prefix}--personfolio { | ||
background-color: $layer-01; | ||
color: $text-primary; | ||
background-color: themes.get("layer-01"); | ||
color: themes.get("text-primary"); | ||
border-radius: 6px; | ||
border-width: 1px 1px 1px 1px; | ||
border-style: solid !important; | ||
padding: $spacing-05; | ||
margin-top: $spacing-05; | ||
padding: themes.get("spacing-05"); | ||
margin-top: themes.get("spacing-05"); | ||
|
||
&--child { | ||
border-color: $support-error; | ||
border-color: themes.get("support-error"); | ||
} | ||
|
||
&--youngadult { | ||
border-color: $support-success; | ||
border-color: themes.get("support-success"); | ||
} | ||
|
||
&--adult { | ||
border-color: $support-warning; | ||
border-color: themes.get("support-warning"); | ||
} | ||
|
||
&--senior { | ||
border-color: $support-info; | ||
border-color: themes.get("support-info"); | ||
} | ||
} |
Empty file.
9 changes: 0 additions & 9 deletions
9
packages/carbon-addons-devenv/src/scss/carbon-components.scss
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
@import "./app.scss"; | ||
@use "@carbon/themes/scss/themes" as *; | ||
@use "@carbon/themes"; | ||
|
||
.spm-custom-component { | ||
@import "./carbon-components.scss"; | ||
@import "./prefix.scss"; | ||
@import "./variables.scss"; | ||
@import "./addons_samples/logo.scss"; | ||
@import "./addons_samples/personfolio.scss"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$prefix: "bx"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
$prefix: "bx"; | ||
$border-radius-round: 100vw !default; | ||
$width-logo-large: 120px; // do we need small and medium too | ||
$width-logo-medium: 80px; | ||
$width-logo-small: 36px; | ||
$border-base: 1px solid $background; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// Import your custom SCSS files in this file to automatically include them in the build. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Add your custom SCSS files to this directory | ||
Add your custom SCSS files to this directory and import them in index.scss. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,7 @@ | ||
// @import "../../../carbon-addons-devenv/src/scss/app.scss"; | ||
@use "@carbon/themes/scss/themes" as *; | ||
@use "@carbon/themes"; | ||
|
||
.spm-custom-component { | ||
//------------------------- | ||
// Variable overrides | ||
//------------------------- | ||
@import "./variables.scss"; | ||
//------------------------- | ||
// Carbon-Components | ||
//------------------------- | ||
// @import "../../../carbon-addons-devenv/src/scss/carbon-components.scss"; | ||
//------------------------- | ||
// Custom addons scss here | ||
//------------------------- | ||
// Sample component addons | ||
//@import '../../../carbon-addons-devenv/src/scss/addon-samples.scss'; | ||
@import "./addons"; | ||
} |
This file was deleted.
Oops, something went wrong.