Skip to content

Commit

Permalink
trying to get the paths to work right
Browse files Browse the repository at this point in the history
  • Loading branch information
kristopolous committed Sep 19, 2023
1 parent f0fefb6 commit 549add8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 174 deletions.
2 changes: 1 addition & 1 deletion v4.4.1/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ source: "site"
destination: ./_gh_pages
host: "localhost"
port: 9001
baseurl: ""
baseurl: "/BOOTSTRA.386"
url: "https://getbootstrap.com"
encoding: UTF-8
exclude:
Expand Down
142 changes: 0 additions & 142 deletions v5.3.1/js/src/dos.js

This file was deleted.

27 changes: 0 additions & 27 deletions v5.3.1/scss/_functions.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
@use "sass:map";
// Bootstrap functions
//
// Utility mixins and functions for evaluating source code across our variables, maps, and mixins.


// Ascending
// Used to evaluate Sass maps like our grid breakpoints.
@mixin _assert-ascending($map, $map-name) {
Expand Down Expand Up @@ -214,31 +212,6 @@ $_luminance-list: .0008 .001 .0011 .0013 .0015 .0017 .002 .0022 .0025 .0027 .003
@return mix(black, $color, $weight);
}

$locals: ();
@function injectvar($key, $value) {
$locals: map.set($locals, $key, $value);//$value);
@return true;
}
@function _tint-color($color, $weight) {
$brightMap: map.get($locals, 'brightMap');

@if(map-has-key($brightMap, $color)) {
@return map.get($brightMap,$color);
} @else {
@return $color;
}
}

// Shade a color: mix a color with black
@function _shade-color($color, $weight) {
$darkMap: map.get($locals, 'darkMap');
@if(map-has-key($darkMap, $color)) {
@return map.get($darkMap,$color);
} @else {
@return $color;
}
}

// Shade the color if the weight is positive, else tint it
@function shift-color($color, $weight) {
@return if($weight > 0, shade-color($color, $weight), tint-color($color, -$weight));
Expand Down
2 changes: 1 addition & 1 deletion v5.3.1/scss/_variables-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ $border-color-dark: $gray-700 !default;
$border-color-translucent-dark: rgba($white, .15) !default;
$headings-color-dark: inherit !default;
$link-color-dark: tint-color($primary, 40%) !default;
$link-hover-color-dark: shift-color($link-color-dark, -$link-shade-percentage) !default;
$link-hover-color-dark: $white !default;
$code-color-dark: tint-color($code-color, 40%) !default;


Expand Down
6 changes: 3 additions & 3 deletions v5.3.1/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,8 @@ $theme-colors: (
) !default;
// scss-docs-end theme-colors-map

$ignore: injectvar('darkMap', $darkMap) !default;
$ignore: injectvar('brightMap', $brightMap) !default;
// $ignore: injectvar('darkMap', $darkMap) !default;
// $ignore: injectvar('brightMap', $brightMap) !default;

// scss-docs-start theme-text-variables
$primary-text-emphasis: shade-color($primary, 60%) !default;
Expand Down Expand Up @@ -543,7 +543,7 @@ $body-emphasis-color: $black !default;
$link-color: $yellow !default;
$link-decoration: none !default;
$link-shade-percentage: 0 !default;
$link-hover-color: shift-color($link-color, $link-shade-percentage) !default;
$link-hover-color: $yellow !default;
$link-hover-decoration: null !default;

$stretched-link-pseudo-element: after !default;
Expand Down

0 comments on commit 549add8

Please sign in to comment.