Skip to content

Commit

Permalink
feat: refine overall font stylings
Browse files Browse the repository at this point in the history
  • Loading branch information
kiaking committed Feb 16, 2023
1 parent 0463f23 commit 595dc50
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 13 deletions.
3 changes: 1 addition & 2 deletions lib/components/SDropdownSectionFilter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,12 @@ function handleClick(option: DropdownSectionFilterOption, value: string | number
border-radius: 6px;
padding: 0 8px;
width: 100%;
font-size: 12px;
font-size: 14px;
line-height: 32px;
background-color: var(--c-bg);
transition: border-color 0.25s;
&::placeholder {
font-weight: 500;
color: var(--c-text-3);
}
Expand Down
2 changes: 1 addition & 1 deletion lib/components/SDropdownSectionFilterItemAvatar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ defineProps<{
display: inline-block;
padding-left: 8px;
font-size: 12px;
font-weight: 500;
font-weight: 400;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
Expand Down
2 changes: 1 addition & 1 deletion lib/components/SDropdownSectionFilterItemText.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ defineProps<{
display: inline-block;
line-height: 20px;
font-size: 12px;
font-weight: 500;
font-weight: 400;
}
</style>
2 changes: 1 addition & 1 deletion lib/components/SDropdownSectionMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ defineProps<{
text-align: left;
line-height: 32px;
font-size: 12px;
font-weight: 500;
font-weight: 400;
transition: color 0.25s, background-color 0.25s;
&:hover {
Expand Down
8 changes: 4 additions & 4 deletions lib/components/SInputBase.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ function getErrorMsg(validation: Validatable) {
align-items: baseline;
width: 100%;
line-height: 16px;
font-weight: 500;
cursor: pointer;
transition: color 0.25s;
}
Expand All @@ -126,6 +125,7 @@ function getErrorMsg(validation: Validatable) {
}
.label-text-value {
font-weight: 500;
color: var(--input-label-color);
}
Expand All @@ -144,7 +144,7 @@ function getErrorMsg(validation: Validatable) {
display: inline-block;
margin-left: 8px;
font-size: 12px;
font-weight: 500;
font-weight: 400;
color: var(--c-text-2);
}
Expand All @@ -158,7 +158,7 @@ function getErrorMsg(validation: Validatable) {
padding: 6px 0 0 0;
line-height: 18px;
font-size: 12px;
font-weight: 500;
font-weight: 400;
color: var(--input-error-text-color);
transition: opacity 0.25s, transform 0.25s;
}
Expand All @@ -168,7 +168,7 @@ function getErrorMsg(validation: Validatable) {
padding: 4px 0 0;
line-height: 20px;
font-size: 12px;
font-weight: 500;
font-weight: 400;
color: var(--c-text-2);
}
Expand Down
2 changes: 1 addition & 1 deletion lib/components/SInputRadio.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,6 @@ function onClick() {
padding-left: 10px;
line-height: 20px;
font-size: 14px;
font-weight: 500;
font-weight: 400;
}
</style>
2 changes: 1 addition & 1 deletion lib/components/SPill.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function onClick() {
display: inline-block;
border: 1px solid transparent;
letter-spacing: 0.4px;
font-weight: 600;
font-weight: 500;
transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}
Expand Down
4 changes: 2 additions & 2 deletions lib/styles/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
--c-neutral-dark-dimm-2: rgba(255, 255, 255, 0.24);

--c-text-light-1: #1f1f1f;
--c-text-light-2: rgba(60, 60, 67, 0.6);
--c-text-light-3: rgba(60, 60, 67, 0.3);
--c-text-light-2: rgba(60, 60, 67, 0.72);
--c-text-light-3: rgba(60, 60, 67, 0.39);

--c-text-dark-1: rgba(235, 235, 245, 0.98);
--c-text-dark-2: rgba(235, 235, 245, 0.6);
Expand Down

0 comments on commit 595dc50

Please sign in to comment.