Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Make ui small again
Browse files Browse the repository at this point in the history
  • Loading branch information
lookacat committed Jul 27, 2022
1 parent 4150e86 commit 49c8534
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
6 changes: 3 additions & 3 deletions src/components/atoms/OcButton/OcButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export default {
background-color: transparent;
border-style: none;
color: $color;
font-size: 1rem;
font-size: 0.88rem;
font-weight: normal;
min-height: 0;
padding: 0;
Expand Down Expand Up @@ -264,7 +264,7 @@ export default {
color: var(--oc-color-text-inverse);
display: inline-flex;
font-weight: 400;
padding: 0.5rem 0.75rem;
padding: .4rem .7rem;
text-align: center;
text-decoration: none;
Expand Down Expand Up @@ -330,7 +330,7 @@ export default {
&-m {
@include oc-button-line-height(1);
font-size: 1.125rem;
font-size: 1rem;
min-height: $global-control-height;
}
Expand Down
1 change: 1 addition & 0 deletions src/components/atoms/OcResourceIcon/OcResourceIcon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export default {
.oc-resource-icon {
display: inline-flex;
align-items: center;
vertical-align: middle;
&-file svg {
height: 70%;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/molecules/OcBreadcrumb/OcBreadcrumb.vue
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export default {
a,
button,
span {
font-size: 1rem;
font-size: 0.88rem;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/theme/oc-text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ td.oc-text-break {
}

.oc-text-initial {
font-size: 1rem;
font-size: 0.88rem;
}

.oc-text-small {
Expand Down
2 changes: 1 addition & 1 deletion src/tokens/ods/font.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
font:
size:
default:
value: 1rem
value: 0.88rem
small:
value: 0.88rem
medium:
Expand Down
6 changes: 3 additions & 3 deletions src/tokens/ods/size.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ size:
value: 150px
max-height:
logo:
value: 65px
value: 60px
height:
small:
value: 50px
table-row:
value: 49px
value: 46px
width:
xsmall:
value: 100px
Expand All @@ -19,6 +19,6 @@ size:
medium:
value: 300px
icon-default:
value: 24px
value: 22px
form-check-default:
value: 16px
4 changes: 2 additions & 2 deletions src/tokens/ods/space.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
space:
xsmall:
value: 4px
value: 2px
small:
value: 8px
value: 7px
medium:
value: 16px
large:
Expand Down

0 comments on commit 49c8534

Please sign in to comment.