Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

0.77 changes#828

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Freddy03h merged 4 commits intomainfrom0.77-changes
Feb 20, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 33 additions & 1 deletionsrc/apis/Style.res
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -96,6 +96,29 @@ type filter

external unsafeFilter: {..} => filter = "%identity"

type blendMode = [
| #normal
| #multiply
| #screen
| #overlay
| #darken
| #lighten
| #"color-dodge"
| #"color-burn"
| #"hard-light"
| #"soft-light"
| #difference
| #exclusion
| #hue
| #saturation
| #color
| #luminosity
]

type isolation = [#auto | #isolate]

type outlineStyle = [#solid | #dotted | #dashed]

type resizeMode = [#cover | #contain | #stretch | #repeat | #center]

type fontStyle = [#normal | #italic]
Expand DownExpand Up@@ -138,7 +161,9 @@ type backfaceVisibility = [#visible | #hidden]

type borderStyle = [#solid | #dotted | #dashed]

type display = [#none | #flex]
type display = [#none | #flex | #contents]

type boxSizing = [#"border-box" | #"content-box"]

type overflow = [#visible | #hidden | #scroll]

Expand DownExpand Up@@ -230,6 +255,7 @@ type flexStyle = {
columnGap?: size,
direction?: direction,
display?: display,
boxSizing?: boxSizing,
end?: size,
flex?: float,
flexBasis?: margin,
Expand DownExpand Up@@ -330,8 +356,14 @@ type viewCoreStyle = {
borderTopStartRadius?: float,
boxShadow?: array<boxShadow>,
filter?: array<filter>,
mixBlendMode?: blendMode,
isolation?: isolation,
elevation?: float,
opacity?: float,
outlineColor?: Color.t,
outlineOffset?: float,
outlineStyle?: outlineStyle,
outlineWidth?: float,
}

// Text Style Props (https://reactnative.dev/docs/text-style-props)
Expand Down
34 changes: 33 additions & 1 deletionsrc/apis/Style.resi
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -91,6 +91,29 @@ type filter

external unsafeFilter: {..} => filter = "%identity"

type blendMode = [
| #normal
| #multiply
| #screen
| #overlay
| #darken
| #lighten
| #"color-dodge"
| #"color-burn"
| #"hard-light"
| #"soft-light"
| #difference
| #exclusion
| #hue
| #saturation
| #color
| #luminosity
]

type isolation = [#auto | #isolate]

type outlineStyle = [#solid | #dotted | #dashed]

type resizeMode = [#cover | #contain | #stretch | #repeat | #center]

type fontStyle = [#normal | #italic]
Expand DownExpand Up@@ -126,7 +149,9 @@ type backfaceVisibility = [#visible | #hidden]

type borderStyle = [#solid | #dotted | #dashed]

type display = [#none | #flex]
type display = [#none | #flex | #contents]

type boxSizing = [#"border-box" | #"content-box"]

type overflow = [#visible | #hidden | #scroll]

Expand DownExpand Up@@ -218,6 +243,7 @@ type flexStyle = {
columnGap?: size,
direction?: direction,
display?: display,
boxSizing?: boxSizing,
end?: size,
flex?: float,
flexBasis?: margin,
Expand DownExpand Up@@ -318,8 +344,14 @@ type viewCoreStyle = {
borderTopStartRadius?: float,
boxShadow?: array<boxShadow>,
filter?: array<filter>,
mixBlendMode?: blendMode,
isolation?: isolation,
elevation?: float,
opacity?: float,
outlineColor?: Color.t,
outlineOffset?: float,
outlineStyle?: outlineStyle,
outlineWidth?: float,
}

// Text Style Props (https://reactnative.dev/docs/text-style-props)
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp