mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Cleanup focus reset
This commit is contained in:
parent
4bfd7c348d
commit
556b2a2317
@ -25,7 +25,7 @@ import { YoshikiStyle } from "yoshiki";
|
||||
import { px, Stylable, Theme, useYoshiki } from "yoshiki/native";
|
||||
import { PressableFeedback } from "./links";
|
||||
import { alpha } from "./themes";
|
||||
import { Breakpoint, ts, useBreakpointValue } from "./utils";
|
||||
import { Breakpoint, focusReset, ts, useBreakpointValue } from "./utils";
|
||||
import { P } from "./text";
|
||||
|
||||
declare module "react" {
|
||||
@ -90,6 +90,7 @@ export const IconButton = forwardRef(function IconButton<AsProps = PressableProp
|
||||
borderRadius: 9999,
|
||||
fover: {
|
||||
self: {
|
||||
...focusReset,
|
||||
bg: (theme: Theme) => theme.overlay0,
|
||||
},
|
||||
},
|
||||
|
@ -29,5 +29,6 @@ export const focusReset: object =
|
||||
Platform.OS === "web"
|
||||
? {
|
||||
boxShadow: "unset",
|
||||
outline: "none"
|
||||
}
|
||||
: {};
|
||||
|
Loading…
x
Reference in New Issue
Block a user