Skip to content

Commit

Permalink
chore: format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MariaLStefan committed Dec 5, 2023
1 parent a94861b commit 5457c34
Show file tree
Hide file tree
Showing 12 changed files with 29 additions and 49 deletions.
15 changes: 3 additions & 12 deletions packages/elements/src/components/ino-fab/ino-fab.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,7 @@ $extended-edged-borders: (
* @prop --fab-icon-color-disabled: Color of the slotted icon if disabled
*/
--fab-color: var(--ino-fab-color, white);
--fab-background-color: var(
--ino-fab-background-color,
#{theme.$p-6}
);
--fab-background-color: var(--ino-fab-background-color, #{theme.$p-6});
--fab-background-color-hover: var(
--ino-fab-background-color-hover,
#{theme.$p-5}
Expand All @@ -68,14 +65,8 @@ $extended-edged-borders: (
--ino-fab-background-color-active,
#{theme.$p-7}
);
--fab-icon-color: var(
--ino-fab-icon-color,
#{theme.$white}
);
--fab-color-disabled: var(
--ino-fab-color-disabled,
#{theme.$white}
);
--fab-icon-color: var(--ino-fab-icon-color, #{theme.$white});
--fab-color-disabled: var(--ino-fab-color-disabled, #{theme.$white});
--fab-background-color-disabled: var(
--ino-background-color-disabled,
#{theme.$n-4}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ ino-icon-button {
$icon-size: var(--ino-icon-button-icon-size, 24px);
$icon-color: var(--ino-icon-button-icon-color, theme.$p-5);
$background-color: var(--ino-icon-button-background-color, transparent);
$icon-active-color: var(
--ino-icon-button-icon-active-color,
theme.$p-5
);
$icon-active-color: var(--ino-icon-button-icon-active-color, theme.$p-5);
$background-active-color: var(
--ino-icon-button-background-active-color,
theme.$p-5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,10 @@ ino-list-item {
#{theme.$p-2}
);


--list-item-deselected-color: var(
--ino-list-item-deselected-color,
#{theme.$n-11}
);
--ino-list-item-deselected-color,
#{theme.$n-11}
);
--list-item-deselected-background-color: var(
--ino-list-item-deselected-background-color,
#{theme.$transparent}
Expand Down Expand Up @@ -130,7 +129,7 @@ ino-list-item {

&:hover {
background-color: var(--list-item-deselected-background-color-hover);
}
}

&:focus {
background-color: var(--list-item-deselected-background-color-focus);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,10 @@ ino-markdown-editor {
background-color: transparent;
font-size: 22px;

&:hover, &--active {
&:hover,
&--active {
--ino-icon-color-primary: #{theme.$p-6};
background-color: theme.$p-2;
background-color: theme.$p-2;
color: theme.$p-6;
cursor: pointer;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@
171px
);
--nav-drawer-height: var(--ino-nav-drawer-height, 100%);
--nav-drawer-background: var(
--ino-nav-drawer-background,
#{theme.$white}
);
--nav-drawer-background: var(--ino-nav-drawer-background, #{theme.$white});
--nav-drawer-text-color: var(--ino-nav-drawer-text-color, #{theme.$p-7});
--nav-drawer-transition-duration: var(
--ino-nav-drawer-transition-duration,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ ino-nav-item {
*/

--nav-item-color: var(--ino-nav-item-color, #{theme.$n-11});
--nav-item-color-active: var(
--ino-nav-item-color-active,
#{theme.$p-5}
--nav-item-color-active: var(--ino-nav-item-color-active, #{theme.$p-5});
--nav-item-background-color: var(
--ino-nav-item-background-color,
theme.$white
);
--nav-item-background-color: var(--ino-nav-item-background-color, theme.$white);
--nav-item-background-color-active: var(
--ino-nav-item-background-color-active,
#{theme.$n-2}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@
@include linear-progress.core-styles;
@include linear-progress.bar-color(var(--progress-bar--bar-color));
@include linear-progress.buffer-color(theme.$n-2);

}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $edged-border: 24px 0 24px 24px;
/* Colors: */
$button_pressed-bg: theme.$p-3;
$button-active-bg: theme.$p-2;
$text-active: theme.$p-5;
$text-active: theme.$p-5;

ino-segment-button {
.button {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ ino-snackbar {
@each $type in $snackbar-types {
&.ino-snackbar--type-#{$type} {
--snackbar-color: #{color($type, color)};
--snackbar-color-light: #{color($type, color-light)};
--snackbar-color-light: #{color($type, color-light)};
}
}

Expand Down
9 changes: 7 additions & 2 deletions packages/elements/src/components/ino-tab/ino-tab.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
@use '../base/new-theme' as theme;
@use '../base/typography';


ino-tab {
.mdc-tab {
@include typography.font(sans-serif, s, regular);
Expand All @@ -18,7 +17,13 @@ ino-tab {
@include ripple.surface;
@include ripple.radius-bounded;
@include ripple.states-base-color(theme.$p-2);
@include ripple.states-opacities((hover: .5, focus: 0.8, press: 0.8));
@include ripple.states-opacities(
(
hover: 0.5,
focus: 0.8,
press: 0.8,
)
);
overflow: hidden;

ino-icon {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ ino-table ino-table-header-cell {

.ino-table-header-cell__popover-content {
border-radius: inherit;
box-shadow: 0px 25px 50px -12px theme.$primary-focus;
box-shadow: 0px 25px 50px -12px theme.$primary-focus;
}
}
&.ino-table-header-cell--searched {
Expand Down
15 changes: 3 additions & 12 deletions packages/elements/src/components/ino-textarea/ino-textarea.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,9 @@ ino-textarea {
* @prop --ino-textarea-caret-color: color of the caret
* @prop --ino-textarea-label-color: color of the label
*/
--textarea-outline-color: var(
--ino-textarea-outline-color,
#{theme.$p-5}
);
--textarea-caret-color: var(
--ino-textarea-caret-color,
#{theme.$p-5}
);
--textarea-label-color: var(
--ino-textarea-label-color,
#{theme.$p-5}
);
--textarea-outline-color: var(--ino-textarea-outline-color, #{theme.$p-5});
--textarea-caret-color: var(--ino-textarea-caret-color, #{theme.$p-5});
--textarea-label-color: var(--ino-textarea-label-color, #{theme.$p-5});
}

ino-textarea {
Expand Down

0 comments on commit 5457c34

Please sign in to comment.