Theming

CSSvars Framework is based on CSS variables that control the entire framework.
To change theme change the variables in the CSS file, you can choose one of the pre-built themes below, or change the varables to match your needs

Select a theme

        
          :root {
            --color-1: #083c5c;
            --color-2:#4a4e69;
            --dark: #495057;
            --grey: #ccc;
            --white: #fff;
            --danger: #cc3a3a;
            --info: #1191b8;
            --success: #0abfa4;
            --warning: #bda06a;
            --luxury:#4b2f5a;
            --light-grey: #f6f6f6;
            --body-bg: #fff;
            --body-color: #111;
            --fontweight: 300;
            --fontweight-heading: 300;
            --font-size-mobile: 12px;
            --font-size-desktop: 16px;
            --line-height: 1.4;
            --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, 
             "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
            --color-1-rgb:8, 60, 92;
            --color-2-rgb:74, 78, 105;
            --dark-rgb: 34, 34, 37;
            --grey-rgb: 204, 204, 204;
            --white-rgb: 255, 255, 255;
            --danger-rgb: 204, 58, 58;
            --info-rgb: 17, 145, 184;
            --success-rgb: 10, 191, 164;
            --warning-rgb:189, 160, 106;
            --luxury-rgb:75, 47, 90;
          }
        
      
Colored

Please add the CSS classes in the boxes

bg-color-1
bg-color-2
bg-luxury
bg-color-gradient
bg-info
bg-success
bg-warning
bg-danger
bga-color-1
bga-color-2
bga-luxury
bg-light-grey
bga-info
bga-success
bga-warning
bga-danger
bg-dark
bg-grey
bga-dark
bga-grey
Outlined

Please add the CSS classes in the boxes

outline-color-1
outline-color-2
outline-luxury
outline-color-dark
outline-color-grey
outline-color-info
outline-color-success
outline-warning
outline-color-danger
outline-light-grey
Bordered Left

Please add the CSS classes in the boxes

bordered-left
bordered-left-color-2
bordered-left-info
bordered-left-success
bordered-left bga-color-1
bordered-left-color-2 bga-color-2
bordered-left-info bga-info
bordered-left-success bga-success
bordered-left-danger
bordered-left-warning
bordered-left-luxury
bordered-left-grey
bordered-left-danger bga-danger
bordered-left-warning bga-warning
bordered-left-luxury bga-luxury
bordered-left-grey bga-dark
Brightened

Please add the CSS classes in the boxes

bg-color-1 brightness-150
bg-color-1
bg-color-1 brightness-66
bg-color-1 brightness-33
Opacity

Please add the CSS classes in the boxes, opacity1-hover class is applied on all boxes below

bg-color-1 opacity03
bg-color-1 opacity05
bg-color-1 opacity07
bg-color-1 opacity1
Hover

You can add hover classes to any div to change the color on hover, try hovering on the classes below

  • Color: color-1-hover color-2-hover success-hover info-hover danger-hover dark-hover white-hover color-gradient-hover
  • Background Color: bg-color-1-hover bg-color-2-hover bg-black-hover bg-white-hover bg-dark-hover bg-danger-hover bg-success-hover bg-info-hover
  • Color & Background Color: bga-color-1-hover bga-color-2-hover bga-black-hover bga-white-hover bga-dark-hover bga-danger-hover bga-success-hover bga-info-hover
  • Shadow: You can add shadow on Hover shadow-hover shadow-2-hover shadow-3-hover shadow-4-hover
  • Brightness: You can add brightness on Hover brightness-150-hover brightness-100-hover brightness-66-hover brightness-33-hover
  • Opacity: You can add opacity on Hover opacity1-hover opacity03-hover opacity05-hover opacity07-hover

Buttons & Badges

Buttons

Add the element button or the class button apply the classes below

Sizes
Outlined
Width



Shadow

You can override the shadow shadow shadow-2 shadow-3 shadow-4 shadow-color shadow-2-color shadow-3-color shadow-4-color

Hover

You can add hover classes to change the color on hover, try hovering on the classes below

  • Color: color-1-hover color-2-hover success-hover info-hover danger-hover dark-hover white-hover color-gradient-hover
  • Background Color: bg-color-1-hover bg-color-2-hover bg-black-hover bg-white-hover bg-dark-hover bg-danger-hover bg-success-hover bg-info-hover
  • Color & Background Color: bga-color-1-hover bga-color-2-hover bga-black-hover bga-white-hover bga-dark-hover bga-danger-hover bga-success-hover bga-info-hover
  • Shadow: You can override the shadow on Hover shadow shadow-2 shadow-3 shadow-4 shadow-color shadow-2-color shadow-3-color shadow-4-color

Examples:

Badges

Add a span element with the class badge apply the classes below

bg-color-1 bg-color-2 bg-grey bg-info bg-success bg-danger bg-warning bg-luxury bga-color-1 bga-color-2 bga-grey bga-info bga-success bga-danger bga-warning bga-luxury

outline-color-1 outline-color-2 outline-color-dark outline-color-success outline-color-info outline-color-danger outline-warning outline-luxury

Alerts

Add a div element with the class msg

Add shadow classes if you wish to the div shadow shadow-2 shadow-3 shadow-4 shadow-color shadow-2-color shadow-3-color shadow-4-color

Apply the classes below

Solid Backgrounds
msg bg-color-1 Note! A meesgae with your brand color.
msg bg-color-2 Note! A meesgae with your second brand color.
msg bg-info You can change the setting to meet your needs.
msg bg-success You successfully read this important alert message. x
msg bg-danger Please be carefull. Close
Light Backgrounds
msg bga-color-1 Note! A meesgae with your brand color.
msg bga-color-2 Note! A meesgae with your second brand color.
msg bga-info You can change the setting to meet your needs.
msg bga-success You successfully read this important alert message. x
msg bga-danger Please be carefull. Close
msg bga-dark You successfully read this important alert message. x
msg bg-light-grey You successfully read this important alert message. x
Light Outlined Backgrounds
msg bga-color-1 outline-color-1 Note! A meesgae with your brand color.
msg bga-color-2 outline-color-2 Note! A meesgae with your second brand color.
msg bga-info outline-color-info You can change the setting to meet your needs.
msg bga-success outline-color-success You successfully read this important alert message. x
msg bga-danger outline-color-danger Please be carefull. Close
msg bga-dark outline-color-dark You successfully read this important alert message. x
msg bg-light-grey outline-color-grey You successfully read this important alert message. x
Borderd-left Backgrounds
bordered-left p1 m-v-1 bga-color-1 Note! A meesgae with your brand color.
bordered-left-color-2 p1 m-v-1 bga-color-2 Note! A meesgae with your second brand color.
bordered-left-info p1 m-v-1 bga-info Note! A meesgae with your brand color.
bordered-left-success p1 m-v-1 bga-success Note! A meesgae with your brand color.
bordered-left-danger p1 m-v-1 bga-danger Note! A meesgae with your brand color.
bordered-left-grey p1 m-v-1 bga-dark Note! A meesgae with your brand color.
Borderd-left Shadow
bordered-left p1 m-v-1 shadow Note! A meesgae with your brand color.
bordered-left-color-2 p1 m-v-1 shadow Note! A meesgae with your second brand color.
bordered-left-info p1 m-v-1 shadow Note! A meesgae with your brand color.
bordered-left-success p1 m-v-1 shadow Note! A meesgae with your brand color.
bordered-left-danger p1 m-v-1 shadow Note! A meesgae with your brand color.
bordered-left-grey p1 m-v-1 shadow Note! A meesgae with your brand color.

Icons

Coloring icons
  • Pick fill color add icon-[color]-fill classes classes like icon-color-1-fill icon-color-2-fill icon-info-fill icon-dark-fill
  • Pick background color add icon-[color]-bg classes classes like icon-color-1-bg icon-color-2-bg icon-info-bg icon-dark-bg
  • To outline add outline-color- classes like outline-color-1
  • add rounded or circle
Social Media Icons

Cards

Cards Outlined

outline-color-1

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

outline-color-1 rounded

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

outline-light-grey

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

Grey Cards

Colored-a Cards

bga-color-1

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bga-color-2

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bga-danger

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bga-luxury

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bga-success

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bga-info

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bga-warning

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bg-color-gradient white

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

Colored Cards

bg-color-1

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bg-color-2

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bg-danger

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bg-luxury warning

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bg-success

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bg-info

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bg-warning

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bg-color-gradient warning

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

Bordered Left Cards

bordered-left shadow

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bordered-left-color-2 shadow

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bordered-left-danger shadow

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bordered-left-info shadow

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bordered-left-success shadow

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bordered-left-grey shadow

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

Bordered Left Background Cards

bordered-left bga-color-1

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bordered-left-color-2 bga-color-2

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bordered-left-danger bga-danger

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bordered-left-info bga-info

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bordered-left-success bga-success

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

bordered-left-grey bga-dark

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud

← Previous Next β†’

Built with love in Ukraine πŸ‡ΊπŸ‡¦ by Kim Majali, EITO team, and contributors.