Cabana Mio Holidays

Style Guide (Deprecated)

This page outlines the current styles and standards for the Cabana Mio Holidays website.

Colors

Creating a mathematically harmonious color palette can provide a clean, cohesive design that scales well across various elements. Here’s a structured approach to calculate each color based on color theory principles and mathematical adjustments. This method will ensure that the colors are balanced and consistent without the guesswork.

You can start by defining your Primary, Secondary, and Action (or Accent) colors, and then derive the Base and Shade colors using mathematical rules. Here’s a step-by-step guide for both methods:

Option 1: Define All Six Colors Mathematically

1. Start with the Primary Color

  • Choose a Primary color in HSL format, typically with a mid-tone lightness (e.g., 50%) and full saturation.
  • Example: --primary: hsl(220, 100%, 50%); (a bright, pure blue)

2. Derive the Secondary Color

  • Set the Secondary color 30 degrees away from Primary on the color wheel for a triadic harmony.
  • Example: --secondary: hsl(calc(220 + 30), 100%, 50%); (in this case, a cool green)

3. Derive the Action (or Accent) Color

  • If Action and Accent are used interchangeably, set this color 120 degrees from Primary on the color wheel for a complementary accent.
  • Example: --action: hsl(calc(220 + 120), 100%, 50%); (this will be a vibrant orange, opposite to blue)

4. Set the Base Color

  • Base colors are generally neutral tones. Use a neutral gray or an off-white for versatility.
  • Base color can be derived by reducing saturation to 0% and setting lightness to around 95% for a near-white or 50% for a mid-gray.
  • Example: --base: hsl(0, 0%, 95%); (near white)

5. Set the Shade Color

  • Shade color is a darker neutral used for background elements or text.
  • Use a gray with a lightness around 10-15% for a subtle dark tone.
  • Example: --shade: hsl(0, 0%, 10%); (dark gray)

Option 2: Define Primary, Secondary, and Action Colors; Set Accent, Base, and Shade as Standards

This approach uses a few set rules to generate a flexible palette for any site based on a consistent base structure.

Step 1: Set Primary, Secondary, and Action Colors

  • Primary: Pick a color you want to be the foundation. It could be a corporate brand color or main theme color.
    • Example: --primary: hsl(210, 90%, 50%); (deep blue)
  • Secondary: Choose a color 30 degrees away from the primary hue for harmonious variety.
    • Example: --secondary: hsl(240, 90%, 50%); (cooler blue)
  • Action: Choose a contrasting hue to Primary for high visibility (e.g., orange or green). Set it 120 degrees from Primary for maximum contrast.
    • Example: --action: hsl(330, 80%, 50%); (a bold pinkish-red)

Step 2: Standardize Accent, Base, and Shade Colors

  • Accent: Use a mid-tone, desaturated version of the Primary for subtle highlights.
    • Example: --accent: hsl(210, 20%, 60%); (a soft blue-gray)
  • Base: Standardize to a light, neutral gray for background or container colors.
    • Example: --base: hsl(0, 0%, 95%); (a light off-white)
  • Shade: Set to a darker neutral gray or black for text or deep backgrounds.
    • Example: --shade: hsl(0, 0%, 10%); (a deep gray)

Action

Action
Ultra Light
Light
Medium
Dark
Ultra Dark
Comp

Primary

Primary
Ultra Light
Light
Medium
Dark
Ultra Dark
Comp

Secondary Colors

Secondary
Ultra Light
Light
Medium
Dark
Ultra Dark
Comp

Accent Colors

Accent
Ultra Light
Light
Medium
Dark
Ultra Dark
Comp

Base Colors

Base
Ultra Light
Light
Medium
Dark
Ultra Dark
Comp

Shade Colors

Shade
Ultra Light
Light
Medium
Dark
Ultra Dark
Comp

Action Transparencies

Action
Trans 10
Trans 20
Trans 40
Trans 60
Trans 80
Trans 90

Primary Transparencies

Primary
Trans 10
Trans 20
Trans 40
Trans 60
Trans 80
Trans 90

Secondary Transparencies

Secondary
Trans 10
Trans 20
Trans 40
Trans 60
Trans 80
Trans 90

Accent Transparencies

Accent
Trans 10
Trans 20
Trans 40
Trans 60
Trans 80
Trans 90

Base Transparencies

Base
Trans 10
Trans 20
Trans 40
Trans 60
Trans 80
Trans 90

Shade Transparencies

Shade
Trans 10
Trans 20
Trans 40
Trans 60
Trans 80
Trans 90

Success

Success
Light
Dark
Hover

Danger

Danger
Light
Dark
Hover

Warning

Warning
Light
Dark
Hover

Info

Info
Light
Dark
Hover

Buttons on Light Background

Action
Action Outline
Primary
Primary Outline
Secondary
Secondary Outline
Accent
Accent Outline
Base
Base Outline

Buttons on Dark Background

Action
Action Outline
Primary
Primary Outline
Secondary
Secondary Outline
Accent
Accent Outline
Base
Base Outline

Typography

Below is an overview of responsive typography sizes and weights for this site. These are computed from a base size and a mathematical scale.

H1 (--XXL)

Heading H1
Regular

Heading H1
Medium

Heading H1
Bold

H2 (--XL)

Heading H2
Regular

Heading H2
Medium

Heading H2
Bold

H3 (--L)

Heading H3
Regular

Heading H3
Medium

Heading H3
Bold

H4 (--m)

Heading H4
Regular

Heading H4
Medium

Heading H4
Bold

H5 (--s)

Heading H5
Regular
Heading H5
Medium
Heading H5
Bold

H6 (--xs)

Heading H6
Regular
Heading H6
Medium
Heading H6
Bold

Typography

Below is an overview of responsive typography sizes and weights for this site. These are computed from a base size and a mathematical scale.

BODY TEXT (--m)

Text m
Regular
Text m
Medium
Text m
Bold

BODY TEXT (--s)

Text s
Regular
Text s
Medium
Text s
Bold

BODY TEXT (--l)

Text l
Regular
Text l
Medium
Text l
Bold

BODY TEXT (--xl)

Text xl
Regular
Text xl
Medium
Text xl
Bold

Element Padding

Here are the six levels of spacing visualized as padding.

Card

This is a card with XS padding. Its content is pretty close to the edges.

Card

This is a card with S padding. Its content is pretty close to the edges.

Card

This is a card with M padding. Its content is pretty close to the edges.

Card

This is a card with L padding. Its content is pretty close to the edges.

Card

This is a card with XL padding. Its content is pretty close to the edges.

Card

This is a card with XXL padding. Its content is pretty close to the edges.

Border Radius

There are six border radius values calculated from a base size and a mathematical scale.

 

Radius XS

Radius S

Radius M

Radius L

Radius XL

Radius XXL

Shadows

There are six border radius values calculated from a base size and a mathematical scale.

 

Box Shadow XS

Box Shadow S

Box Shadow M

Box Shadow L

Box Shadow XL

Box Shadow XXL

0