This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/usr/bin/env bash | |
# MIT © Sindre Sorhus - sindresorhus.com | |
# git hook to run a command after `git pull` if a specified file was changed | |
# Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`. | |
changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
check_run() { | |
echo "$changed_files" | grep --quiet "$1" && eval "$2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$spaces: ( | |
'6xl' : 152px, | |
'5xl' : 136px, | |
'4xl' : 104px, | |
'3xl' : 88px, | |
'2xl' : 56px, | |
'xl' : 40px, | |
'l' : 32px, | |
'm' : 24px, | |
's' : 16px, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Gets the ordinal for a number | |
* | |
* @param integer $number | |
* @return string | |
*/ | |
function smarty_modifier_ordinal($number) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@use "sass:list"; | |
@use "sass:map"; | |
@use "sass:math"; | |
@use "sass:string"; | |
$mass: 1 !default; | |
$stiffness: 100 !default; | |
$damping: 15 !default; | |
@function spring($t, $mass: $mass, $stiffness: $stiffness, $damping: $damping) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@use "sass:list"; | |
@use "sass:map"; | |
@use "sass:math"; | |
@use "sass:string"; | |
$mass: 1 !default; | |
$stiffness: 100 !default; | |
$damping: 15 !default; | |
@function spring($t, $mass: $mass, $stiffness: $stiffness, $damping: $damping) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@use "sass:list"; | |
@use "sass:map"; | |
@use "sass:math"; | |
@use "sass:string"; | |
$mass: 1 !default; | |
$stiffness: 100 !default; | |
$damping: 15 !default; | |
@function spring($t, $mass: $mass, $stiffness: $stiffness, $damping: $damping) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@use "sass:list"; | |
@use "sass:map"; | |
@use "sass:math"; | |
@use "sass:string"; | |
$mass: 1 !default; | |
$stiffness: 100 !default; | |
$damping: 15 !default; | |
@function spring($t, $mass: $mass, $stiffness: $stiffness, $damping: $damping) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@use "sass:list"; | |
@use "sass:map"; | |
@use "sass:math"; | |
@use "sass:string"; | |
$mass: 1 !default; | |
$stiffness: 100 !default; | |
$damping: 15 !default; | |
@function spring($t, $mass: $mass, $stiffness: $stiffness, $damping: $damping) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@use "sass:list"; | |
@use "sass:map"; | |
@use "sass:math"; | |
@use "sass:string"; | |
$mass: 1 !default; | |
$stiffness: 100 !default; | |
$damping: 15 !default; | |
$preset-gentle: ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@use "sass:list"; | |
@use "sass:map"; | |
@use "sass:math"; | |
@use "sass:string"; | |
$mass: 1 !default; | |
$stiffness: 100 !default; | |
$damping: 15 !default; | |
$preset-gentle: ( |