Package-level declarations
This package contains the logic for the OudsTheme composable, including the OudsThemeTweak mechanism and the implementation of the theme contract that injects visual data into the application.
Types
Properties
Returns this if it is not equal to Dp.Hairline, otherwise returns null.
Converts an OUDS border radius token to the local border radius value provided by the theme.
Converts an OUDS border style token to the local OudsBorderStyle value provided by the theme.
Converts an OUDS border width token to the local border width value provided by the theme.
Converts an OUDS color token to the local color value provided by the theme.
Converts an OUDS effect token to the local effect value provided by the theme.
Converts an OUDS elevation token to the local elevation value provided by the theme.
Converts an OUDS grid token to the local grid value provided by the theme. Note that grid token value returned varies depending on the window size.
Converts an OUDS opacity token to the local opacity value provided by the theme.
Converts an OUDS space token to the local space value provided by the theme.
Converts an OUDS typography token to the local typography value provided by the theme. Note that the typography value returned varies depending on the window size.
Functions
This function is equivalent to isSystemInDarkTheme except it takes the OUDS theme setting into account instead of the system one.