A set of theme colour aliases to use. They allow a component to take on the identity of the alias. The design team
can then cusomise the alias to change the colour for all components that have that alias.
example
Using the mixins
```ts
import { TextStyle } from 'react-native';
import { Theme } from '@ef-carbon/react-native-style';
const theme = new Theme();
const style: TextStyle = {
...theme.colour.font.accent.normal,
...theme.colour.background.accent.normal,
...theme.colour.border.accent.normal,
...theme.border.width.normal,
};
```
example
Customising the colours aliases
```ts
import {
ThemeColour,
ThemeColours,
themeColourConvertFont,
IFontColourStyles,
constants,
} from '@ef-carbon/react-native-style';
const font = new ThemeColours({
base: 'blue',
constants,
convert: themeColourConvertFont,
});
const colours = new ThemeColour({
base: 'blue',
constants,
font,
});
const theme = new Theme({
base: 'blue',
constants,
colours,
});
```
A set of theme colour aliases to use. They allow a component to take on the identity of the alias. The design team can then cusomise the alias to change the colour for all components that have that alias.
IThemeColoursOptions provide more examples of how to customise the aliases