Skip to content

Commit

Permalink
revert unneeded changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mollykreis committed Nov 19, 2024
1 parent afa92bc commit a36685f
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions packages/nimble-components/src/checkbox/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@ export const styles = css`
}
}
:host(${focusVisible}) .control {
border-color: ${borderHoverColor};
outline: 2px solid ${borderHoverColor};
outline-offset: 1px;
}
:host([disabled]) .control {
background-color: rgba(${borderRgbPartialColor}, 0.1);
border-color: rgba(${borderRgbPartialColor}, 0.2);
Expand All @@ -89,6 +83,12 @@ export const styles = css`
box-shadow: 0px 0px 0px ${borderWidth} ${borderHoverColor} inset;
}
:host(${focusVisible}) .control {
border-color: ${borderHoverColor};
outline: 2px solid ${borderHoverColor};
outline-offset: 1px;
}
.label {
font: inherit;
color: ${bodyFontColor};
Expand Down Expand Up @@ -126,13 +126,16 @@ export const styles = css`
height: ${iconSize};
width: ${iconSize};
overflow: visible;
fill: ${borderColor};
}
:host(.indeterminate) slot[name='indeterminate-indicator'] {
display: contents;
}
slot[name='indeterminate-indicator'] svg {
fill: ${borderColor};
}
:host([disabled]) slot[name='indeterminate-indicator'] svg {
fill: rgba(${borderRgbPartialColor}, 0.3);
}
Expand Down

0 comments on commit a36685f

Please sign in to comment.