Package-level declarations
Contains the OudsTheme composable that can be used in your app to apply a chosen theme. The other files are used to build the theme and don't have to be used directly but only through the OudsTheme.
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 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.