Skip to content

Commit a700b20

Browse files
committed
Add outline: none to css reset in demo app
1 parent 185091f commit a700b20

File tree

5 files changed

+3
-9
lines changed

5 files changed

+3
-9
lines changed

demo/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const HeaderIconContainer = styled('span', {
3030
width: '78px',
3131
display: 'inline-flex',
3232
justifyContent: 'space-between',
33-
gap: '10px',
33+
gap: '12px',
3434
});
3535

3636
export const App = () => {

demo/src/demos/ShowOn.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ const InteractiveInfo = styled(Interactive.Span, {
3535
height: 30,
3636
display: 'inline-block',
3737
verticalAlign: 'top',
38-
// outline: 'none' required because this is a span (with tabIndex)
39-
// which doesn't have "unset: all" in css reset applied
40-
outline: 'none',
4138
borderRadius: '50%',
4239
'&.hover': {
4340
color: '$green',

demo/src/demos/StateLog.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ const StateLogContainer = styled('div', {
5353
border: '1px solid $highContrast',
5454
overflowY: 'scroll',
5555
fontFamily: '$mono',
56-
// outline: 'none' required because this is a div (with tabIndex)
57-
// which doesn't have "unset: all" in css reset applied
58-
outline: 'none',
5956
'&.focusFromKey': {
6057
outline: '3px solid $colors$purple',
6158
outlineOffset: '1px',

demo/src/other/PageJumpEdgeCase.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ const InteractiveLink = styled(Interactive.A, {
4747
const InteractiveDiv = styled(Interactive.Div, {
4848
padding: '5px',
4949
border: '1px solid',
50-
outline: 'none',
5150
...interactiveStyles,
5251
});
5352

demo/src/stitches.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const stitchesConfig = createCss({
1111
red: 'hsl(0,100%,50%)',
1212
orange: 'hsl(30,100%,50%)',
1313
yellow: 'hsl(51,100%,40%)',
14-
green: 'hsl(120,100%,30%)',
14+
green: 'hsl(120,100%,33%)', // same as rgb(0,168,0)
1515
outlineGreen: 'hsl(120,40%,55%)',
1616
blue: 'hsl(240,100%,50%)',
1717
outlineBlue: 'hsl(240,100%,70%)',
@@ -71,6 +71,7 @@ export const globalCss = createGlobalCss({
7171
wordBreak: 'inherit',
7272
color: 'inherit',
7373
background: 'transparent',
74+
outline: 'none',
7475
WebkitTapHighlightColor: 'transparent',
7576
},
7677
// set base styles for the app

0 commit comments

Comments
 (0)