__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
// Scaling Variables
$golden: 1.618;
$minor-second: 1.067;
$major-second: 1.125;
$minor-third: 1.2;
$major-third: 1.25;
$perfect-fourth: 1.333;
$augmented-fourth: 1.414;
$perfect-fifth: 1.5;
$minor-sixth: 1.6;
$major-sixth: 1.667;
$minor-seventh: 1.778;
$major-seventh: 1.875;
$octave: 2;
$major-tenth: 2.5;
$major-eleventh: 2.667;
$major-twelfth: 3;
$double-octave: 4;
$user-output-deprecation-warnings-setting: $output-bourbon-deprecation-warnings;
$output-bourbon-deprecation-warnings: false;
$modular-scale-ratio: $perfect-fourth !default;
$modular-scale-base: em($em-base) !default;
$output-bourbon-deprecation-warnings: $user-output-deprecation-warnings-setting;
@function modular-scale($increment, $value: $modular-scale-base, $ratio: $modular-scale-ratio) {
$v1: nth($value, 1);
$v2: nth($value, length($value));
$value: $v1;
// scale $v2 to just above $v1
@while $v2 > $v1 {
$v2: ($v2 / $ratio); // will be off-by-1
}
@while $v2 < $v1 {
$v2: ($v2 * $ratio); // will fix off-by-1
}
// check AFTER scaling $v2 to prevent double-counting corner-case
$double-stranded: $v2 > $v1;
@if $increment > 0 {
@for $i from 1 through $increment {
@if $double-stranded and ($v1 * $ratio) > $v2 {
$value: $v2;
$v2: ($v2 * $ratio);
} @else {
$v1: ($v1 * $ratio);
$value: $v1;
}
}
}
@if $increment < 0 {
// adjust $v2 to just below $v1
@if $double-stranded {
$v2: ($v2 / $ratio);
}
@for $i from $increment through -1 {
@if $double-stranded and ($v1 / $ratio) < $v2 {
$value: $v2;
$v2: ($v2 / $ratio);
} @else {
$v1: ($v1 / $ratio);
$value: $v1;
}
}
}
@return $value;
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| _assign-inputs.scss | File | 407 B | 0664 |
|
| _contains-falsy.scss | File | 451 B | 0664 |
|
| _contains.scss | File | 623 B | 0664 |
|
| _is-length.scss | File | 455 B | 0664 |
|
| _is-light.scss | File | 708 B | 0664 |
|
| _is-number.scss | File | 381 B | 0664 |
|
| _is-size.scss | File | 650 B | 0664 |
|
| _modular-scale.scss | File | 1.77 KB | 0664 |
|
| _px-to-em.scss | File | 737 B | 0664 |
|
| _px-to-rem.scss | File | 708 B | 0664 |
|
| _shade.scss | File | 446 B | 0664 |
|
| _strip-units.scss | File | 515 B | 0664 |
|
| _tint.scss | File | 444 B | 0664 |
|
| _transition-property-name.scss | File | 1.25 KB | 0664 |
|
| _unpack.scss | File | 867 B | 0664 |
|