Skip to content

Commit

Permalink
fix(HTTPError): svg inline css not working strict csp (carbon-design-…
Browse files Browse the repository at this point in the history
…system#5585)

* fix(HTTPError): svg inline css not working strict csp

* fix(HTTPError): lint error fix

* fix(HTTPError): lint error fix theme tokem use
  • Loading branch information
sangeethababu9223 authored Jul 1, 2024
1 parent 9f02450 commit da5fd0a
Show file tree
Hide file tree
Showing 4 changed files with 864 additions and 250 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
@use '../../global/styles/project-settings' as c4p-settings;

$block-class: #{c4p-settings.$pkg-prefix}--http-errors;
$block-class-404: #{c4p-settings.$pkg-prefix}--http-errors-404;
$block-class-403: #{c4p-settings.$pkg-prefix}--http-errors-403;
$block-class-other: #{c4p-settings.$pkg-prefix}--http-errors-other;

.#{$block-class} .#{$block-class}__content {
position: fixed;
Expand Down Expand Up @@ -66,3 +69,77 @@ $block-class: #{c4p-settings.$pkg-prefix}--http-errors;
transform: scale(1.5);
}
}
/* stylelint-disable carbon/theme-token-use */

.#{$block-class-404}__prefix-cls-1 {
fill: none;
}
.#{$block-class-404}__prefix-cls-67 {
fill: #697077;
}
.#{$block-class-404}__prefix-cls-68 {
fill: #282828;
}
.#{$block-class-404}__prefix-cls-69 {
fill: #51565c;
}
.#{$block-class-404}__prefix-cls-70 {
fill: #002b50;
}
.#{$block-class-404}__prefix-cls-71 {
fill: #413d3d;
}
.#{$block-class-404}__prefix-cls-72 {
fill: #908b8b;
}
.#{$block-class-404}__prefix-cls-75 {
fill: #a4a4a5;
}
.#{$block-class-404}__prefix-cls-76 {
opacity: 0.15;
}
.#{$block-class-403}__prefix-cls-1 {
fill: none;
}
.#{$block-class-403}__prefix-cls-80 {
mix-blend-mode: multiply;
opacity: 0.25;
}
.#{$block-class-403}__prefix-cls-75 {
fill: #595655;
}
.#{$block-class-403}__prefix-cls-76 {
opacity: 0.15;
}
.#{$block-class-403}__prefix-cls-77 {
fill: #373d42;
}
.#{$block-class-403}__prefix-cls-78 {
fill: #002b50;
}
.#{$block-class-403}__prefix-cls-81 {
fill: #2b2828;
}
.#{$block-class-other}__prefix-cls-1 {
fill: none;
}
.#{$block-class-other}__prefix-cls-69 {
fill: #697077;
}
.#{$block-class-other}__prefix-cls-70 {
fill: #282828;
}
.#{$block-class-other}__prefix-cls-71 {
fill: #51565c;
}
.#{$block-class-other}__prefix-cls-72 {
fill: #e0dbda;
}
.#{$block-class-other}__prefix-cls-73 {
fill: #003d73;
}
.#{$block-class-other}__prefix-cls-75 {
opacity: 0.15;
}

/* stylelint-enable */
Loading

0 comments on commit da5fd0a

Please sign in to comment.