Sass
Use our different classes to change the border-radius of your elements.
Variables
If you downloaded Axentix source files, or want to customize default variables, you should edit the
/src/core/_variables.scss file.
You can create your own color palette and Axentix will automatically generate all the
color variants and text colors associated.
To see all our variables, just go to the github
_variables.scss
file.
Functions
The textColor() function
The textColor()
function return the appropriate text color depending on the
background color.
To use it, give it a background color, and it will return you black or white.
The getColor() function
The getColor()
function accepts 3 parameters to get any color of the color
palette.
The first one is the color name, the second one is the color variant and third the number of the variant you want.
Mixins
Responsive mixin
Use this mixin to automatically import the correct media queries. It uses all of our breakpoints.
Theme mixin
Use this mixin to set css depending on the actual theme.
Colorscheme mixin
Use this mixin to create specific style depending on the actual color scheme.