Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IThemeOpacity

Specifies the style alias mixins that can be used when specifying a opacity for a component.

example
Using the mixins ```ts import { ViewStyle } from 'react-native'; import { Theme } from '@ef-carbon/react-native-style'; const theme = new Theme(); const transparent: ViewStyle = { ...theme.font.transparent, }; const translucent: ViewStyle = { ...theme.font.translucent, }; const semi: ViewStyle = { ...theme.font.semi, }; const cloudy: ViewStyle = { ...theme.font.cloudy, }; const opaque: ViewStyle = { ...theme.font.opaque, }; ```
see

IOpacity

Hierarchy

Index

Properties

cloudy

cloudy: IStyles

Usually accesses division 700

opaque

opaque: IStyles

Usually accesses division 900

semi

semi: IStyles

Usually accesses division 500

translucent

translucent: IStyles

Usually accesses division 300

transparent

transparent: IStyles

Usually accesses division 100