shila-css

Source: partials/_docs.scss, line 8

1.1 #settings.core settings.core

Contains core framework variables for responsive design, typography and spacing. This should be the second file imported from shila-css. The first imported file should be tools.core, which contains functions used in settings.core.

Source: partials/settings/_settings.core.scss, line 5

1.1.1 #settings.core.breakpoints Breakpoints

Breakpoint variables for responsive design.

Source: partials/settings/_settings.core.scss, line 17
Source: partials/settings/_settings.core.scss, line 59

1.1.1.2 #settings.core.breakpoints.shila-l-break $shila-l-break

Breakpoint for large displays. Default value: 1025px.

Source: partials/settings/_settings.core.scss, line 42

1.1.1.3 #settings.core.breakpoints.shila-m-break $shila-m-break

Breakpoint for medium displays. Default value: 801px.

Source: partials/settings/_settings.core.scss, line 34

1.1.1.4 #settings.core.breakpoints.shila-s-break $shila-s-break

Breakpoint for small displays. Default value: 525px.

Source: partials/settings/_settings.core.scss, line 26

1.1.1.5 #settings.core.breakpoints.shila-xs-break $shila-xs-break

Max-width breakpoint for targeting extra small displays only. Default value: max-width $shila-s-break - 1.

Source: partials/settings/_settings.core.scss, line 50

1.1.2 #settings.core.typography Typography

Variables for responsive typography. The base line height is by default also used as a basis for all spacing variables.

Source: partials/settings/_settings.core.scss, line 72

1.1.2.1 #settings.core.typography.shila-base-font-sizes $shila-base-font-sizes

Sass map containing base font sizes for different breakpoints. Default value: 16px for all breakpoints.

Source: partials/settings/_settings.core.scss, line 82

1.1.2.2 #settings.core.typography.shila-base-line-heights $shila-base-line-heights

Sass map containing base line heights for different breakpoints. Default value: 21px for all breakpoints.

Source: partials/settings/_settings.core.scss, line 93
Source: partials/settings/_settings.core.scss, line 104

1.1.3.1 #settings.core.spacing.shila-base-spacing $shila-base-spacing

Base spacing unit. Used as the basis for other core spacing variables. Default value: default in $shila-base-line-heights.

Source: partials/settings/_settings.core.scss, line 111
Source: partials/settings/_settings.core.scss, line 150
Source: partials/settings/_settings.core.scss, line 142
Source: partials/settings/_settings.core.scss, line 134
Source: partials/settings/_settings.core.scss, line 126

1.2 #settings.colors settings.colors

Contains color variables.

Source: partials/settings/_settings.colors.scss, line 5

1.2.1 #settings.colors.named Named colors

  • $shila-blue #1565c0
  • $shila-white hsl(0, 0%, 100%)
  • $shila-lightest-gray hsl(0, 0%, 87.5%)
  • $shila-lighter-gray hsl(0, 0%, 75%)
  • $shila-light-gray hsl(0, 0%, 62.5%)
  • $shila-medium-gray hsl(0, 0%, 50%)
  • $shila-dark-gray hsl(0, 0%, 37.5%)
  • $shila-darker-gray hsl(0, 0%, 25%)
  • $shila-darkest-gray hsl(0, 0%, 12.5%)
  • $shila-black hsl(0, 0%, 0%)
  • $shila-light-blue #e5edf8
  • $shila-light-red #fbe3e4
  • $shila-light-yellow #fff6bf
  • $shila-light-green #e6efc2
Source: partials/settings/_settings.colors.scss, line 14

1.2.2 #settings.colors.base Base color

A general purpose primary color with automatically generated variants.

Source: partials/settings/_settings.colors.scss, line 51
Source: partials/settings/_settings.colors.scss, line 60
Source: partials/settings/_settings.colors.scss, line 94
Source: partials/settings/_settings.colors.scss, line 102
Source: partials/settings/_settings.colors.scss, line 110
Source: partials/settings/_settings.colors.scss, line 86
Source: partials/settings/_settings.colors.scss, line 78
Source: partials/settings/_settings.colors.scss, line 70
Source: partials/settings/_settings.colors.scss, line 118

1.2.3.1 #settings.colors.text.shila-base-text-color $shila-base-text-color

Base text color. Default value: $shila-darkest-gray.

Source: partials/settings/_settings.colors.scss, line 125
Source: partials/settings/_settings.colors.scss, line 141

1.2.3.3 #settings.colors.text.shila-heading-color $shila-heading-color

Color used for headings. Default value: $shila-black.

Source: partials/settings/_settings.colors.scss, line 133
Source: partials/settings/_settings.colors.scss, line 149
Source: partials/settings/_settings.colors.scss, line 156
Source: partials/settings/_settings.colors.scss, line 172
Source: partials/settings/_settings.colors.scss, line 180

1.2.4.4 #settings.colors.background.shila-page-background-color $shila-page-background-color

Page background color. Default value: $shila-background-color.

Source: partials/settings/_settings.colors.scss, line 164

1.2.5 #settings.colors.status Status

Colors used for status messages and indicators.

Source: partials/settings/_settings.colors.scss, line 189

1.2.5.1 #settings.colors.status.shila-error-color $shila-error-color

Error status color. Default value: $shila-light-red.

Source: partials/settings/_settings.colors.scss, line 222

1.2.5.2 #settings.colors.status.shila-info-color $shila-info-color

Info status color. Default value: $shila-light-blue.

Source: partials/settings/_settings.colors.scss, line 198

1.2.5.3 #settings.colors.status.shila-success-color $shila-success-color

Success status color. Default value: $shila-light-green.

Source: partials/settings/_settings.colors.scss, line 206

1.2.5.4 #settings.colors.status.shila-warning-color $shila-warning-color

Warning status color. Default value: $shila-light-yellow.

Source: partials/settings/_settings.colors.scss, line 214
Source: partials/settings/_settings.colors.scss, line 230

1.2.6.1 #settings.colors.other.shila-action-color $shila-action-color

A color that can be used for things such as links and action buttons. Default value: $shila-blue.

Source: partials/settings/_settings.colors.scss, line 237

1.2.6.2 #settings.colors.other.shila-base-border-color $shila-base-border-color

A color that can be used for different kinds of borders. Default value: $shila-lightest-gray.

Source: partials/settings/_settings.colors.scss, line 246

1.2.6.3 #settings.colors.other.shila-focus-outline-color $shila-focus-outline-color

Focus outline color. Default value: transparentized $shila-action-color.

Source: partials/settings/_settings.colors.scss, line 255

1.3 #settings.typography settings.typography

Contains variables related to typography. Please note that some essential typography related variables are in settings.core.

Source: partials/settings/_settings.typography.scss, line 5
Source: partials/settings/_settings.typography.scss, line 46

1.3.1.1 #settings.typography.font-families.shila-base-font-family $shila-base-font-family

Font family used for the base font. Default value: $shila-font-stack-helvetica.

Source: partials/settings/_settings.typography.scss, line 51

1.3.1.2 #settings.typography.font-families.shila-heading-font-family $shila-heading-font-family

Font family used for headings. Default value: $shila-base-font-family.

Source: partials/settings/_settings.typography.scss, line 60

1.3.2 #settings.typography.font-sizes Font sizes

Sass maps containing font sizes for different breakpoints.

Source: partials/settings/_settings.typography.scss, line 98
Source: partials/settings/_settings.typography.scss, line 105
Source: partials/settings/_settings.typography.scss, line 113
Source: partials/settings/_settings.typography.scss, line 121
Source: partials/settings/_settings.typography.scss, line 129
Source: partials/settings/_settings.typography.scss, line 137
Source: partials/settings/_settings.typography.scss, line 145
Source: partials/settings/_settings.typography.scss, line 15
Source: partials/settings/_settings.typography.scss, line 20
Source: partials/settings/_settings.typography.scss, line 33
Source: partials/settings/_settings.typography.scss, line 69
Source: partials/settings/_settings.typography.scss, line 82
Source: partials/settings/_settings.typography.scss, line 74
Source: partials/settings/_settings.typography.scss, line 90

1.3.5 #settings.typography.line-heights Line heights

Sass maps containing line heights for different breakpoints.

Source: partials/settings/_settings.typography.scss, line 153
Source: partials/settings/_settings.typography.scss, line 160
Source: partials/settings/_settings.typography.scss, line 168
Source: partials/settings/_settings.typography.scss, line 174
Source: partials/settings/_settings.typography.scss, line 180
Source: partials/settings/_settings.typography.scss, line 186
Source: partials/settings/_settings.typography.scss, line 192

1.4 #settings.layout settings.layout

Contains variables used in tools.layout and other useful variables for common use cases.

Source: partials/settings/_settings.layout.scss, line 5
Source: partials/settings/_settings.layout.scss, line 15

1.4.1.1 #settings.layout.breakpoints.shila-side-spacings $shila-small-navigation-break

Max-width breakpoint for small screen navigation and related components.

Source: partials/settings/_settings.layout.scss, line 28

1.4.1.1 #settings.layout.breakpoints.shila-side-spacings $shila-large-navigation-break

Breakpoint for large screen navigation and related components.

Source: partials/settings/_settings.layout.scss, line 20
Source: partials/settings/_settings.layout.scss, line 36
Source: partials/settings/_settings.layout.scss, line 41
Source: partials/settings/_settings.layout.scss, line 49

1.4.3 #settings.layout.spacing Spacing

Please note that the main spacing variables are in settings.core.

Source: partials/settings/_settings.layout.scss, line 57

1.4.3.1 #settings.layout.spacing.shila-side-spacings $shila-side-spacings

Sass map containing side spacings for different breakpoints. Default value: $shila-base-spacing for all breakpoints.

Source: partials/settings/_settings.layout.scss, line 65

1.5 #settings.selectors settings.selectors

Contains Sass list variables for selecting multiple elements.

Source: partials/settings/_settings.selectors.scss, line 5
Source: partials/settings/_settings.selectors.scss, line 50
Source: partials/settings/_settings.selectors.scss, line 14
Source: partials/settings/_settings.selectors.scss, line 27

1.6 #settings.styles settings.styles

Contains variables used in the more opinionated styles partials.

Source: partials/settings/_settings.styles.scss, line 5
Source: partials/settings/_settings.styles.scss, line 88
Source: partials/settings/_settings.styles.scss, line 93
Source: partials/settings/_settings.styles.scss, line 101
Source: partials/settings/_settings.styles.scss, line 14

1.6.2.1 #settings.styles.borders.shila-base-border $shila-base-border

Base border style. Default value: 1px solid $shila-base-border-color.

Source: partials/settings/_settings.styles.scss, line 19
Source: partials/settings/_settings.styles.scss, line 28
Source: partials/settings/_settings.styles.scss, line 58

1.6.3.1 #settings.styles.focus.shila-focus-outline $shila-focus-outline

Default value: $shila-focus-outline-width solid $shila-focus-outline-color.

Source: partials/settings/_settings.styles.scss, line 71
Source: partials/settings/_settings.styles.scss, line 80
Source: partials/settings/_settings.styles.scss, line 63
Source: partials/settings/_settings.styles.scss, line 36
Source: partials/settings/_settings.styles.scss, line 41

1.6.4.2 #settings.styles.forms.shila-form-box-shadow-focus $shila-form-box-shadow-focus

Default value: $shila-form-box-shadow, 0 0 5px rgba($shila-action-color, 0.7).

Source: partials/settings/_settings.styles.scss, line 49