-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(frontend): revamp of some basics components (#3105)
# Description Please include a summary of the changes and the related issue. Please also include relevant motivation and context. ## Checklist before requesting a review Please delete options that are not relevant. - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented hard-to-understand areas - [ ] I have ideally added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged ## Screenshots (if appropriate):
- Loading branch information
Showing
7 changed files
with
27 additions
and
19 deletions.
There are no files selected for viewing
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
9 changes: 3 additions & 6 deletions
9
frontend/lib/components/ui/MessageInfoBox/MessageInfoBox.module.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,41 +1,38 @@ | ||
@use "styles/Radius.module.scss"; | ||
@use "styles/Spacings.module.scss"; | ||
@use "styles/Typography.module.scss"; | ||
|
||
.message_info_box_wrapper { | ||
padding: Spacings.$spacing03; | ||
display: flex; | ||
align-items: center; | ||
gap: Spacings.$spacing03; | ||
width: fit-content; | ||
border: 1px solid var(--border-2); | ||
color: var(--text-3); | ||
border-radius: Radius.$normal; | ||
font-size: Typography.$small; | ||
|
||
&.success { | ||
border-color: var(--success); | ||
color: var(--success); | ||
background-color: var(--success-lightest); | ||
} | ||
|
||
&.info { | ||
border-color: var(--primary-0); | ||
color: var(--primary-0); | ||
background-color: var(--primary-2); | ||
} | ||
|
||
&.warning { | ||
border-color: var(--warning); | ||
color: var(--warning); | ||
background-color: var(--warning-lightest); | ||
} | ||
|
||
&.tutorial { | ||
border-color: var(--gold); | ||
color: var(--gold); | ||
background-color: var(--gold-lightest); | ||
} | ||
|
||
&.dark { | ||
background-color: var(--background-primary-0); | ||
background-color: var(--background-1); | ||
} | ||
} |
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
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
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
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
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