Skip to content

[UIK-5641][notice] redesign - #3102

Open
ilyabrower wants to merge 25 commits into
UIK-5351/add-more-variables-to-themefrom
UIK-5641/notice-redesign
Open

[UIK-5641][notice] redesign#3102
ilyabrower wants to merge 25 commits into
UIK-5351/add-more-variables-to-themefrom
UIK-5641/notice-redesign

Conversation

@ilyabrower

Copy link
Copy Markdown
Contributor

Motivation and Context

How has this been tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).
  • Nice improve.

Checklist:

  • I have updated the documentation accordingly.
  • I have added new tests on added of fixed functionality.

@ilyabrower ilyabrower changed the title [UIK-5641][notice] replaced old spacing-numbers variable to spacing-content-paddings [UIK-5641][notice] redesign Aug 5, 2026
@ilyabrower
ilyabrower force-pushed the UIK-5641/notice-redesign branch from 50b502b to ae15809 Compare August 5, 2026 07:47
@ilyabrower ilyabrower self-assigned this Aug 10, 2026
height: fit-content;
display: inline-flex;
align-items: center;
margin-top: 6px;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ilyabrower @sheila-semrush is that ok that the value is hardcoded?

margin-right: var(--intergalactic-spacing-2x, 8px);
display: inline-flex;
align-items: center;
margin-top: 6px;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ilyabrower @sheila-semrush is that ok that the value is hardcoded?

Comment thread semcore/notice/src/Notice.type.ts Outdated
} & ({
icon?: typeof Icon;
} | {
illustration?: React.ElementType<IllustrationProps>;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ilyabrower Maybe here should be same logic as for Notice Smart?

Image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think yes, fixed

margin-left: var(--intergalactic-spacing-content-padding-large, 16px);
}

SNotice[theme='custom'] {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sheila-semrush @ilyabrower is that expected behavior to use custom theme?
If yes, should icon color change with custom theme?

border-width: 1px;
border-radius: var(--intergalactic-surface-rounded, 8px);
color: var(--intergalactic-text-primary, oklch(0.1 0.03 137 / 0.899));
gap: var(--intergalactic-spacing-content-gap-large, 8px);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sheila-semrush in figma i see spacing-content-padding-small could you help which is expected

Image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gap - for gap =)

flex-shrink: 0;
margin-top: var(--intergalactic-spacing-3x, 12px);
display: flex;
gap: var(--intergalactic-spacing-content-gap-large, 8px);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sheila-semrush same, in figma i see other value spacing-content-padding-small

Image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the same

@@ -82,44 +83,59 @@ SContent {

SActions {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sheila-semrush is necessary align-items: center here ? as in figma

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants