feat(WEB-304): remaning UI from design system primitives

This commit is contained in:
Simon Emanuelsson
2024-06-07 10:36:23 +02:00
parent 6737970f54
commit 7c4b8401e9
228 changed files with 3516 additions and 3237 deletions

View File

@@ -1,34 +1,34 @@
.container {
--select-border: 2px solid var(--some-black-color, #757575);
--select-radius: 0.4rem;
--select-border: 2px solid var(--UI-Grey-60);
--select-width: min(28rem, 100%);
}
.comboBoxContainer {
background-color: var(--some-white-color, #fff);
background-color: var(--Main-Grey-White);
display: grid;
grid-template-areas: "content";
width: var(--select-width);
}
.input {
background-color: var(--some-white-color, #fff);
background-color: var(--Main-Grey-White);
border: var(--select-border);
border-radius: var(--select-radius);
border-radius: var(--Corner-radius-Small);
grid-area: content;
height: 4rem;
padding: 0.8rem 1.6rem;
height: 40px;
padding: var(--Spacing-x1) var(--Spacing-x2);
width: var(--select-width);
}
.input,
.listBoxItem {
color: var(--some-black-color, #757575);
color: var(--UI-Grey-60);
font-family: var(--typography-Body-Regular-fontFamily);
font-size: 1.6rem;
font-weight: 400;
letter-spacing: -1.5%;
line-height: 2.4rem;
font-size: var(--typography-Body-Regular-fontSize);
font-weight: var(--typography-Body-Regular-fontWeight);
font-weight: var(--typography-Body-Regular-fontWeight);
letter-spacing: var--typography-Body-Regular-letterSpacing;
line-height: var(--typography-Body-Regular-lineHeight);
}
.button {
@@ -39,23 +39,19 @@
height: 100%;
justify-self: flex-end;
padding-left: 0;
padding-right: 1.6rem;
padding-right: var(--Spacing-x2);
}
.popover {
background-color: var(--some-white-color, #fff);
background-color: var(--Main-Grey-White);
border: var(--select-border);
border-radius: var(--select-radius);
border-radius: var(--Corner-radius-Small);
overflow: auto;
padding: 1.6rem 1.6rem 1.6rem 0.8rem;
padding: var(--Spacing-x2) var(--Spacing-x2) var(--Spacing-x2)
var(--Spacing-x1);
width: var(--select-width);
}
.listBoxItem {
padding: 0 0.8rem;
}
.listBoxItem[data-selected="true"],
.listBoxItem[data-focused="true"] {
background-color: rgba(75, 75, 75, 0.2);
padding: 0 var(--Spacing-x1);
}