Skip to content

Commit

Permalink
fix: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mater1996 committed Jan 7, 2025
1 parent 33458ef commit c9ea2e3
Showing 1 changed file with 232 additions and 46 deletions.
278 changes: 232 additions & 46 deletions docs-vuepress/guide/platform/rn-unocss.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,35 +8,35 @@ Mpx 使用 unocss 作为原子类引擎,使得在使用 mpx 开发跨端项目
#### [Typography](https://windicss.org/utilities/general/typography.html#typography)

| 规则 | 是否支持 | 备注 |
| :------------- | :------: | :---: |
| Font family || |
| Font size || |
| Font style || |
| Font weight || |
| Font Variant Numberic || |
| Hyphens || |
| Letter spacing || |
| Line height || |
| Tab size || |
| Text alignment || |
| Text color || |
| Text decoration || |
| Text decoration style || ios支持,安卓不支持 |
| Text decoration thickness | | |
| Text underline offset || |
| Text decoration opacity || |
| Text indent || |
| Text opacity || |
| Text shadow || |
| Text stroke || |
| Text stroke color || |
| Text transform || |
| Vertical alignment || 安卓支持,ios不支持,且只支持 auto/top/bottom/center |
| White space || |
| Word break || |
| Write mode || |
| Writing orientation || |
| 规则 | 是否支持 | 备注 |
| :------------------------ | :------: | :---------------------------------------------------: |
| Font family || |
| Font size || |
| Font style || |
| Font weight || |
| Font Variant Numberic || |
| Hyphens || |
| Letter spacing || |
| Line height || |
| Tab size || |
| Text alignment || |
| Text color || |
| Text decoration || |
| Text decoration style || ios 支持,安卓不支持 |
| Text decoration thickness | | |
| Text underline offset || |
| Text decoration opacity || |
| Text indent || |
| Text opacity || |
| Text shadow || |
| Text stroke || |
| Text stroke color || |
| Text transform || |
| Vertical alignment || 安卓支持,ios 不支持,且只支持 auto/top/bottom/center |
| White space || |
| Word break || |
| Write mode || |
| Writing orientation || |

#### Svg

Expand All @@ -48,30 +48,216 @@ Mpx 使用 unocss 作为原子类引擎,使得在使用 mpx 开发跨端项目

不支持

#### Animation

不支持

#### Transforms

| 规则 | 是否支持 | 备注 |
| :------------------ | :------: | :--: |
| Transform Type || |
| Transform Origin || |
| Transform Rotate || |
| Transform Scale || |
| Transform Skew || |
| Transform Translate || |
| Perspective || |
| Perspective Origin || |

#### Transitions

不支持

#### [Background](https://windicss.org/utilities/backgrounds/background.html)

| 规则 | 是否支持 | 备注 |
| :------------- | :------: | :---: |
| Background attachment || |
| Background clip || |
| Background color || |
| Background opacity || |
| Background position || 支持 left/right/top/bottom/center/数值 |
| Background repeat || 仅支持 no-repeat |
| Background size || |
| Background origin || |
| 规则 | 是否支持 | 备注 |
| :-------------------- | :------: | :------------------------------------: |
| Background attachment || |
| Background clip || |
| Background color || |
| Background opacity || |
| Background position || 支持 left/right/top/bottom/center/数值 |
| Background repeat || 仅支持 no-repeat |
| Background size || |
| Background origin || |

#### Gradients

| 规则 | 是否支持 | 备注 |
| :------------- | :------: | :---: |
| Gradient Direction || |
| Gradient From || |
| Gradient Via || |
| Gradient To || |
| 规则 | 是否支持 | 备注 |
| :----------------- | :------: | :--: |
| Gradient Direction || |
| Gradient From || |
| Gradient Via || |
| Gradient To || |

#### Background Blend Mode

不支持

#### Box Decoration Break
#### Box Decoration Break

不支持

#### Image Rendering

不支持

#### Listings

| 规则 | 是否支持 | 备注 |
| :------------------ | :------: | :--: |
| List Style Type || |
| List Style Position || |

#### Overflow

部分属性支持(overflow:hidden/scroll/visible)

#### Overscroll Behavior

不支持

#### Placeholder

不支持

#### Border

| 规则 | 是否支持 | 备注 |
| :------------- | :------: | :-----------------------------: |
| Border Radius || block/inline 不支持 |
| Border Width || |
| Border Color || transparent/currentColor 不支持 |
| Border Opacity || |
| Border Style || double 不支持 |

#### Divider

不支持

#### Outline

不支持

#### Ring

不支持

#### Box Shadow

| 规则 | 是否支持 | 备注 |
| :--------------- | :------: | :--: |
| Box Shadow Size || |
| Box Shadow Color || |

#### Opacity

支持

#### Mix Blend Mode

不支持

#### Filter

| 规则 | 是否支持 | 备注 |
| :----------------- | :------: | :-----------------------------------------: |
| Filter Blur || 0.76 版本支持部分属性,且有机型的兼容性问题 |
| Filter Brightness || |
| Filter Contrast || |
| Filter Drop Shadow || |
| Filter Grayscale || |
| Filter Hue Rotate || |
| Filter Invert || |
| Filter Saturate || |
| Filter Sepia || |

#### Backdrop Filter

不支持

#### Accent Color

不支持

#### Appearance

部分支持(backface-visible,backface-hidden)

#### Cursor

不支持,TextInput 有属性控制

#### Caret

| 规则 | 是否支持 | 备注 |
| :------------ | :------: | :--: |
| Caret Color || |
| Caret Opacity || |

#### Pointer Events

部分支持(auto,none)

#### Resize

不支持

#### Scroll Behavior

不支持

#### Touch Action

不支持

#### User Select

支持(none,auto,all,text)

#### Will Change

不支持

#### Columns

不支持

#### Container

不支持

#### Display

| 规则 | 是否支持 | 备注 |
| :------------------ | :------: | :--: |
| Block || |
| Inline Block || |
| Inline || |
| Flow Root || |
| Contents || |
| Hidden || |
| Visibility || |
| Visibility || |
| Backface Visibility || |
| List Item || |

#### Flexbox

| Flex || |
| Flex Basis || |
| Inline Flex || |
| Flex Direction || |
| Flex Wrap || |
| Flex Stretch || |
| Flex Grow || |
| Flex Shrink || |

#### Grid

不支持

#### Positioning

#### Sizing

0 comments on commit c9ea2e3

Please sign in to comment.