...

/

Adding More Theme Props

Adding More Theme Props

This lesson discusses how we can add custom theme props to our themes.

Step 1: Add custom prop #

Adding additional props to the theme definition is easy:

$ct-themes: (
  'default': (
    'brightness': 'light',

    'border-radius': 3px // We're adding our own defined theme prop here that we'll use ourselves
  ),
  'default-dark': (
   
...