Description of funstage-carousel-widget
Arguments and default values:
{
The Globalmouth feedwidget is a widget showing sports events from the Kambi Sportsbook API. The events shown are requested from a CMS to determine which events to show. The widget alternates views between live and pre-match events on a sliding animation.
| Parameter key | Type | Default | Description |
A Pen by Owain Stratton on CodePen.
$baseColor: rgb(255, 255, 255); | |
$palette-settings: ( | |
primary: ( | |
base: rgb(76, 40, 24), | |
terracotta: rgb(168, 102, 78), | |
grey: rgb(94, 91, 84), | |
tan: rgb(180, 120, 65), | |
creme: rgb(161, 146, 111) | |
), |
$baseFont: 1; | |
$fontScale: 1.618; // Golden Ratio | |
$baseLineHeight: 1.4 * $baseFont; | |
$small: $baseFont / $fontScale; | |
$regular: $baseFont; | |
$medium: $baseFont * $fontScale; | |
$large: $medium * $fontScale; | |
$xLarge: $large * $fontScale; |
I tried a few different techniques to make a GIF via command-line and the following gives me the best control of quality and size. Once you're all setup, you'll be pumping out GIFs in no time!
Install FFmpeg
Install ImageMagick
const BASE_SIZE = 14; | |
// Golden Ratio / Fibonacci Sequence | |
// 0 1 1 2 3 5 8 13 21 ... | |
const UI_THEME = { | |
fonts: { | |
xxs: BASE_SIZE * | |
} | |
} |