Skip to content

Commit

Permalink
Remove focus-visible
Browse files Browse the repository at this point in the history
Well-supported in browsers natively
  • Loading branch information
klembot committed Jun 27, 2024
1 parent cf9e4b8 commit 509c5e5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ import {StoriesContextProvider} from './store/stories';
import {StoryFormatsContextProvider} from './store/story-formats';
import {StateLoader} from './store/state-loader';
import {ThemeSetter} from './store/theme-setter';
import 'focus-visible';
import './styles/typography.css';
import './styles/focus-visible-shim.css';

export const App: React.FC = () => {
return (
Expand Down
2 changes: 0 additions & 2 deletions src/externals.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Packages we use but don't have types.

declare module 'focus-visible' {}

declare module 'segseg' {
// See https://github.com/tmpvar/segseg/blob/master/index.js

Expand Down
5 changes: 0 additions & 5 deletions src/styles/focus-visible-shim.css

This file was deleted.

0 comments on commit 509c5e5

Please sign in to comment.