diff options
Diffstat (limited to 'client/src/sass/include/_variables.scss')
-rw-r--r-- | client/src/sass/include/_variables.scss | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss index 532eaf650..8c5e75864 100644 --- a/client/src/sass/include/_variables.scss +++ b/client/src/sass/include/_variables.scss | |||
@@ -34,7 +34,7 @@ $green: #39CC0B; | |||
34 | $grey-actor-name: #777272; | 34 | $grey-actor-name: #777272; |
35 | 35 | ||
36 | $expanded-horizontal-margins: 150px; | 36 | $expanded-horizontal-margins: 150px; |
37 | $not-expanded-horizontal-margins: 30px; | 37 | $not-expanded-horizontal-margins: 60px; |
38 | 38 | ||
39 | $button-height: 30px; | 39 | $button-height: 30px; |
40 | 40 | ||
@@ -122,11 +122,19 @@ $variables: ( | |||
122 | --supportButtonHeartColor: var(--supportButtonHeartColor), | 122 | --supportButtonHeartColor: var(--supportButtonHeartColor), |
123 | 123 | ||
124 | --embedForegroundColor: var(--embedForegroundColor), | 124 | --embedForegroundColor: var(--embedForegroundColor), |
125 | --embedBigPlayBackgroundColor: var(--embedBigPlayBackgroundColor) | 125 | --embedBigPlayBackgroundColor: var(--embedBigPlayBackgroundColor), |
126 | |||
127 | --horizontalMarginContent: var(--horizontalMarginContent), | ||
128 | --mainColWidth: var(--mainColWidth) | ||
126 | ); | 129 | ); |
127 | 130 | ||
131 | // SASS type check our CSS variables | ||
128 | @function pvar($variable) { | 132 | @function pvar($variable) { |
129 | @return map-get($variables, $variable); | 133 | @if map-has-key($variables, $variable) { |
134 | @return map-get($variables, $variable); | ||
135 | } @else { | ||
136 | @error "ERROR: Variable #{$variable} does not exist"; | ||
137 | } | ||
130 | } | 138 | } |
131 | 139 | ||
132 | /*** z-index groups ***/ | 140 | /*** z-index groups ***/ |