aboutsummaryrefslogtreecommitdiff
path: root/scss/_variables.scss
AgeCommit message (Collapse)AuthorFilesLines
2022-07-29Define correctly `$popover-header-color` (#36849)Julien Déramond1-1/+1
2022-07-17Fixing pagination compile issueJWB1-1/+1
This was an issue with the tables as well, but that has been updated here - 4a3c004c349ec9b20990c8aa760d12c50c450bbd This was also noted here - 36501#issuecomment-1153187062_ This effects the 5.2 beta1 that is released on the homepage. Whats happening is with a fresh download and compile, with some compilers, I noticed not all of them run into this issue, we get the Sass variable showing up and not the actual value. Steps to reproduce - - Download the source code form the docs for beta 2 and extract - Open VSCode -> open folder to the bootstrap directory you just extracted - install the "Sass/Less/Stylus/Pug/Jade/Typescript/Javascript Compile Hero Pro" v2.3.53 by Eno Yao extension ---- might have to restart VSCode - go to that extensions settings, and set the directory to save the output / compiled version to `../dist` - tap that Compile Hero on the bottom to activate the extension - open `bootstrap.scss` add a space or a new line and save it - check the compiles version and you should see the errors
2022-07-11Add `$display-font-family` and `$display-font-style` (#36711)Julien Déramond1-0/+2
2022-07-06Revert db61cf3 for `$text-muted` default value (#36680)Julien Déramond1-1/+1
2022-04-29Revert `border-color` change (#36238)Mark Otto1-7/+8
* Revert `border-color` change * Add new border-color-translucent for when we want optional alpha-transparency in our border-color Apply to drodpowns, modals, offcanvas, popovers, and toasts * bundlewatch
2022-04-28Add input-disabled-color Sass variableMark Otto1-0/+1
2022-04-28Clean up last `$variable-prefix` usagesJulien Déramond1-2/+2
2022-04-12Add black to colors mapRyan Buckley1-0/+1
2022-04-12Remove tooltip and popover styling as it is handled by Popper (#34627)GeoSot1-1/+1
* Remove not needed css form tooltip & popover as it is made by popper Remove tooltip margin variable, as popper needs margin to be zero * Remove popover left/top initializers as they are handled by popper * nullify `margin` variable and add deprecation message * Document change in migration guide * Update _variables.scss Co-authored-by: Mark Otto <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2022-04-08Update devDependencies (#36120)XhmikosR1-1/+1
* Update devDependencies * @babel/core ^7.17.8 → ^7.17.9 * @popperjs/core ^2.11.4 → ^2.11.5 * clean-css-cli ^5.5.2 → ^5.6.0 * eslint-plugin-import ^2.25.4 → ^2.26.0 * find-unused-sass-variables ^4.0.3 → ^4.0.4 * karma-rollup-preprocessor ^7.0.8 → ^7.0.7 * sass ^1.49.11 → ^1.50.0 * stylelint 14.2.0 → ^14.6.1 * Fix currentcolor case
2022-04-06New CSS varlouismaxime.piton1-0/+1
2022-04-04Use new CSS vars (#36098)Louis-Maxime Piton1-8/+8
* Proposal to use new CSS var when it could be used. * Bundlewatch Co-authored-by: Mark Otto <[email protected]>
2022-03-28Train PR: CSS variables for accordion, cards, navs, and modals (#36071)Mark Otto1-4/+6
* Convert accordion to CSS vars * Update accordion.md * Convert navs to CSS variables * Split up CSS vars * bundlewatch * fix vars * Convert cards to CSS vars * Convert modals to CSS variables * Bundlewatch Co-authored-by: Geremia Taglialatela <[email protected]>
2022-03-24Define Pagination font size CSS var (#35917)Julien Déramond1-0/+2
Co-authored-by: Mark Otto <[email protected]>
2022-03-19v5.2.0 migration updates (#36038)Mark Otto1-28/+28
2022-03-13Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)Mark Otto1-49/+49
* Add additional root variables, rename $variable-prefix to $prefix - Adds new root CSS variables for border-radius, border-width, border-color, and border-style - Adds new root CSS variables for heading-color, link-colors, code color, and highlight color - Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss - Updates $mark-padding to be an even pixel number - Renames $variable-prefix to $prefix throughout * Bundlewatch
2022-03-11Updates -color to use rgba()Mark Otto1-1/+1
2022-03-11Adjust border-radius values and add some new utilitiesMark Otto1-3/+6
- Updates global border-radius values for a more modern appearance - New .fw-semibold - New .rounded-4 and .rounded-5
2022-03-11Fix some instances of lazy Sass math when multiplying new CSS var based ↵Mark Otto1-1/+1
border-width
2022-03-08Convert popovers to CSS variablesMark Otto1-3/+6
2022-03-08Deprecate the tooltip-arrow-bg color since we're using CSS variables to set ↵Mark Otto1-1/+3
tooltip colors
2022-03-01Split CSS vars for padding values (#35921)Mark Otto1-1/+5
* Split CSS vars for padding values Make these few components consistent with where we're heading with other components. Had to add some new Sass variables to handle the dropdown-header element, but not a huge deal. This ensures we can drop the combined variable in v6 when we're ready. * Update scss/_dropdown.scss Co-authored-by: Julien Déramond <[email protected]> * Deprecate dropdown-header-padding var Co-authored-by: Gaël Poupard <[email protected]> Co-authored-by: Julien Déramond <[email protected]>
2022-02-28Replace instances of Sass vars for CSS variable versions of border-color and ↵Mark Otto1-20/+21
border-width
2022-02-25Prefer Linux-specific fonts over ArialErik Faye-Lund1-1/+1
Some Linux distributions (like Debian) have fontconfig aliases for Arial that picks specific fonts. But such generic aliases might be less desirable than the known-good Linux specific fonts. This fixes a problem on my setup where Liberation Sans is aliased as Arial, even when Noto Sans is available. Liberation Sans doesn't support a weight of 500, so we end up rendering headers at the normal weight of 400, which makes them stand out less. Reordering the Arial fallback makes us instead pick Noto Sans over Lieration Sans, which does support a weight of 500, and makes headers stand out again. While we're at it, fixup the reboot documentation to match, and change the comment about Helvetica Neue; that's not a "Basic web-fallback" font, it's the UI font on older iOS and macOS versions.
2022-02-25move theme-colors (vars+map) after color tints definitionsmaks1-24/+24
In this way we can use color tints other than grays in our custom theme, w/o having to extend it later (e.g `$primary: $indigo-600;` ). This could be done in the project variables file, but i believe most developers just include a full local copy of `scss/_variables.scss` before the the original `default` file and change the values the need (maybe also removing the !default flag) so that it's easier to track changes and custom values during upgrades.
2022-02-25Add z-index for .toast-container (#35859)Mark Otto1-0/+1
* Add z-index for .toast-container - Adds positioning and z-index to toast container so that it has a system-declared layer in relation to other components. - Updates docs to use the class better Fixes $34028 * Remove unnecessary z-index from docs examples
2022-02-24Base .text-muted on body colorMark Otto1-1/+1
2022-02-22Rely on `border-width` for `<hr>` size (#35491)Gaël Poupard1-3/+7
* fix(reboot): revert hr styles to v4 implementation * docs(cheatsheet): add a hr example * fix(reboot): currentColor is the initial border-color value * Document hr element in Reboot docs * Update migration guide * Update scss/_variables.scss Co-authored-by: Mark Otto <[email protected]>
2022-02-18Add null modal-footer-bg variable (#35858)Mark Otto1-0/+1
Fixes #35782
2022-02-14Correct the horizontal padding on grid containers (#35825)Mark Otto1-1/+1
* Correct the horizontal padding on grid containers * Don't halve the container-padding-x variable
2022-02-06Add zebra striping for table columnsMacinto5h1-0/+1
Co-Authored-By: Macallan Camara <[email protected]> Co-Authored-By: XhmikosR <[email protected]>
2021-12-15Reprocess inline SVGs with the latest SVGO (#35484)XhmikosR1-4/+4
2021-12-07Fix typo in $purples (#35466)Alexander Gitter1-2/+2
Co-authored-by: XhmikosR <[email protected]>
2021-11-15Move reassigned Sass maps for colors to another stylesheet (#34942)Mark Otto1-41/+0
2021-10-05Add Sass variables for hr background-color and borderdevhoussam1-0/+2
Co-Authored-By: Houssam Hammouda <[email protected]>
2021-10-05Separate container classes from `$enable-grid-classes` option (#35005)Mark Otto1-0/+1
* Separate container classes from enable-grid-classes optoin * Document the new option * Mention in migration guide Co-authored-by: XhmikosR <[email protected]>
2021-09-28Use Sass variable instead of RGB components (#35017)Geremia Taglialatela1-3/+3
All other `rgba()` calls use a Sass variable, except for the ones fixed in this commit
2021-09-07Add `border-radius` sizes to small and large `.form-select`s (#34853)Dominik Crha1-1/+3
Fixes #34852 Co-authored-by: Dominik Crha <[email protected]> Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2021-08-23Fix `$dropdown-link-hover-color` variable color value in _variable.scss (#34779)ghost_321-1/+1
2021-08-10Add check to rgba-css-var function for body or bg (#34699)Mark Otto1-8/+18
2021-08-03Update color and background-color utilitiesMark Otto1-0/+26
- Adds new functions to generate additional Sass maps - Adds new root variables for rgb() versions of our theme colors, plus a few extras - Adds ability to change the alpha transparency of text color and background color utilities with new utilities, inline styles, or local CSS var - Updates documentation for color and background-color utilities pages - Deprecates .text-black-50 and .text-white-50 since those (and additional transparency levels) can be generated on the fly Change approach slightly to prevent cascade
2021-08-03Add new placeholder component (#31859)Jaume Sala1-0/+7
Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Jaume Sala <[email protected]> Co-authored-by: Mark Otto <[email protected]> Co-authored-by: Patrick H. Lauke <[email protected]>
2021-08-03Update input-bg to use body-bg (#34651)Mark Otto1-1/+1
2021-07-25Make default $accordion-icon-color consistentTheFakeCake1-1/+1
Change the $accordion-icon-color variable default value to $accordion-button-color
2021-07-14fix(forms): prevent color control from shrinking (#34445)Gaël Poupard1-0/+2
* fix(forms): prevent color control from shrinking Fixes #34195 Setting `min-width` alongside `max-width` wouldn't make any sense IMHO. The only concern I have is whether we should introduce a dedicated variable for said width? * feat(forms): introduce ` $form-color-width` * feat(forms): use ` $form-color-width` Co-authored-by: XhmikosR <[email protected]>
2021-07-08Add null `$card-box-shadow` variable (#34440)Mark Otto1-1/+2
Fixes #34421 Co-authored-by: XhmikosR <[email protected]>
2021-07-06Add maps for all colors, document how to extend color utilities (#32319)Mark Otto1-0/+120
* Add maps for all colors, document how to extend color utilities * Updates to make this more functional for v5 - Moves color maps into _variables.scss for now (felt weird to split them out when the variables are there) - Adds a new function, map-merge-multiple(), and updates docs that reference combo-map - Updates code snippet and docs guidance about how to extend the color utils to handle this * Update site/content/docs/5.0/customize/color.md Co-authored-by: Gaël Poupard <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2021-07-05Add horizontal collapse supportMark Otto1-0/+1
2021-06-25Variablize backdrop for modal and offcanvasMark Otto1-3/+6
2021-06-22v5.1: Add optional CSS grid (#31813)Mark Otto1-0/+1