Skip to content

Commit

Permalink
fix(core): contrast colors
Browse files Browse the repository at this point in the history
- fix shim alignment colors with button/card for clr-angular compat

Signed-off-by: Cory Rylan <splintercode.cb@gmail.com>
  • Loading branch information
coryrylan committed Mar 8, 2022
1 parent c69b300 commit fee9c1b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/core/src/button/button.element.scss
@@ -1,4 +1,4 @@
// Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
// Copyright (c) 2016-2022 VMware, Inc. All Rights Reserved.
// This software is released under MIT license.
// The full license information can be found in LICENSE in the root directory of this project.

Expand Down Expand Up @@ -221,6 +221,7 @@ cds-progress-circle {
:host([disabled]),
:host([disabled][action='outline']) {
--background: #{$cds-alias-status-disabled-tint};
--color: #{$cds-alias-status-disabled-shade};
--border-color: #{$cds-alias-status-disabled-tint};
--box-shadow-color: #{$cds-alias-object-opacity-0};

Expand Down
4 changes: 4 additions & 0 deletions packages/core/src/card/card.element.scss
Expand Up @@ -10,3 +10,7 @@

--card-remove-margin: var(--cds-global-space-8);
}

::slotted([cds-card-remove-margin]) {
--color: #{$cds-alias-object-container-border-color};
}
4 changes: 2 additions & 2 deletions packages/core/src/styles/theme.dark.scss
@@ -1,4 +1,4 @@
// Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
// Copyright (c) 2016-2022 VMware, Inc. All Rights Reserved.
// This software is released under MIT license.
// The full license information can be found in LICENSE in the root directory of this project.

Expand Down Expand Up @@ -59,5 +59,5 @@
--cds-alias-status-neutral-shade: #{$cds-global-color-construction-500};
--cds-alias-status-disabled: #{$cds-global-color-construction-600};
--cds-alias-status-disabled-tint: #{$cds-global-color-construction-700};
--cds-alias-status-disabled-shade: #{$cds-global-color-construction-800};
--cds-alias-status-disabled-shade: #{$cds-global-color-construction-900};
}

0 comments on commit fee9c1b

Please sign in to comment.