Skip to content

Commit

Permalink
remove border, update padding to designUnit only
Browse files Browse the repository at this point in the history
  • Loading branch information
Seth Donohue authored and Seth Donohue committed Aug 18, 2021
1 parent 841ee74 commit cd48f03
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions packages/web-components/src/toolbar/toolbar.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import {
} from '@microsoft/fast-foundation';
import { SystemColors } from "@microsoft/fast-web-utilities";
import {
designUnit,
fillColor,
focusStrokeWidth,
neutralStrokeDividerRest,
neutralStrokeFocus,
strokeWidth,
} from '../design-tokens';
Expand All @@ -24,13 +24,10 @@ export const toolbarStyles: (
) =>
css`
${display("inline-flex")} :host {
--toolbar-item-gap: calc(
(var(--design-unit) + calc(var(--density) + 2)) * 1px
);
--toolbar-item-gap: calc(${designUnit} * 1px);
background: ${fillColor};
fill: currentcolor;
padding: var(--toolbar-item-gap);
border-bottom: 1px solid ${neutralStrokeDividerRest};
box-sizing: border-box;
}
Expand All @@ -46,11 +43,6 @@ export const toolbarStyles: (
flex-grow: 1;
}
:host([orientation="vertical"]) {
border-inline-end: 1px solid ${neutralStrokeDividerRest};
border-bottom: none;
}
:host([orientation="vertical"]) .positioning-region {
flex-direction: column;
align-items: start;
Expand Down

0 comments on commit cd48f03

Please sign in to comment.