Skip to content

Commit

Permalink
fix: revert PR #377 manually since design tokens (continued) (#397)
Browse files Browse the repository at this point in the history
* fix: revert portal "traffic" colors

* fix: revert portal message styles

* fix: revert portal form error styles

* Fix/revert-pr-377-manually-since-design-tokens (#396)

* fix: revert portal "traffic" colors

* fix: revert portal message styles

* fix: delete unrelated new file
  • Loading branch information
wesleyboar authored Sep 9, 2024
1 parent dea44a7 commit 9022958
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/components/c-form--portal.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/core-styles.portal.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/trumps/s-form--portal.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions src/lib/_imports/components/c-form--portal.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import url("../tools/x-message.css");
@import url("../tools/x-message.v1.css");
@import url("../tools/selectors.form.css");


Expand All @@ -15,3 +16,16 @@
@mixin message--scope-inline;
@mixin message--type-error---message--scope-inline;
}

/* Errors: V1 */
:--form__errors--form {
@mixin message-v1;
@mixin message-v1--scope-section;
@mixin message-v1--type-error;
@mixin message-v1--type-error---message-v1--scope-section;
}
:--form__errors--field li {
@mixin message-v1;
@mixin message-v1--scope-inline;
@mixin message-v1--type-error;
}
10 changes: 5 additions & 5 deletions src/lib/_imports/components/c-message--compact.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@
}

:--c-message--type-info {
@mixin message-v1--type-info color;
@mixin message-v1--type-info;
}
:--c-message--type-success {
@mixin message-v1--type-success color;
@mixin message-v1--type-success;
}
:--c-message--type-warning {
@mixin message-v1--type-warning color;
@mixin message-v1--type-warning;
}
:--c-message--type-error {
@mixin message-v1--type-error color;
@mixin message-v1--type-error;
}
:--c-message--type-extra {
@mixin message-v1--type-extra color;
@mixin message-v1--type-extra;
}

:--c-message--type-info:--c-message--scope-section {
Expand Down

0 comments on commit 9022958

Please sign in to comment.