Commit Graph

27 Commits

Author SHA1 Message Date
Martijn Cuppens 83b49aa688
Create `scss-docs` shortcode to get some snippets from the Scs… (#30502)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-06 20:13:35 +02:00
Gaël Poupard 03908ea37a
Use WCAG contrast algo (#30168) 2020-03-23 18:03:56 +01:00
XhmikosR 018a94c9c1 Remove Internet Explorer leftovers 2020-03-18 20:59:27 +02:00
Gaël Poupard 48c8697fed
docs(theming): improve headings hierarchy under Sass → Functions (#30207) 2020-02-17 20:40:08 +02:00
Martijn Cuppens 148421be12
Remove map merges (#28508) 2020-02-15 14:41:59 +01:00
Martijn Cuppens 3e8ab644ea
Remove color shades callout (#30181)
Not applicable anymore since https://github.com/twbs/bootstrap/pull/29348
2020-02-15 13:52:27 +01:00
Martijn Cuppens 6e8ea2722d
Introduce posibility to disable !important suffix for utility classes (#29625) 2020-02-10 16:05:07 +02:00
Martijn Cuppens 532feab38b
Split grid & containers (#29146) 2020-02-03 21:02:53 +01:00
Ty Mick 430c16dfac Remove unnecessary comma in 'All colors' (#30010)
* Remove unnecessary comma in 'All colors'

(Using a comma between a subject and predicate)[https://en.wikipedia.org/wiki/Comma#Between_the_subject_and_predicate] is nonstandard.

* Update theming.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-01-16 09:46:42 +02:00
cccabinet 1dc3901979 docs: `$enable-rfs` is true by default (#29766) 2019-11-28 15:19:27 +02:00
Martijn Cuppens cd077cd599 Enable RFS for font resizing
- Enable RFS
- Add documentation
- Disable doc font size overrides
2019-11-25 13:05:57 +02:00
Mark Otto 9e54d8e120 Doc tweaks. 2019-10-31 08:30:53 +02:00
ysds d6ebc60d3d Add add and subtract function 2019-10-31 08:30:53 +02:00
Mark Otto 943bef258d
v5: Update colors to add shades and tints (#29348)
* Add variables for shades and tints of each major color

* getting-started/theming.md: use a `range`.
2019-10-18 11:04:27 -07:00
XhmikosR 2c9e22ef88 getting-started/theming.md: throw an error if the regex doesn't succeed. 2019-09-06 11:57:50 +03:00
XhmikosR e99625c088
docs: remove swatches for theme colors. (#29327)
Use the built-in utilities instead.
2019-08-29 15:18:47 +03:00
XhmikosR ee01dc2340
theming.md: automate _root.scss. (#29326) 2019-08-29 15:09:24 +03:00
XhmikosR 84cba07246
theming.md: bring `:root` up to par with Scss. (#29323)
Also, add a warning in _root.scss so that we don't miss it again.
2019-08-29 11:10:06 +03:00
XhmikosR 4b243de2c0
Fix redirects. (#29254) 2019-08-14 22:40:46 +03:00
Martijn Cuppens d95d08249c Remove `$enable-hover-media-query` 2019-07-26 22:37:10 +02:00
Martijn Cuppens 1c05c1dbf1 Drop `color()`, `theme-color()` & `gray()` functions (#29083)
Drop `color()`, `theme-color()` & `gray()` functions  in favor of variables. The functions just called a `map-get()` of a map where just the variables were defined. 

Also the `theme-color-level()` now accepts any color you want instead of only `$theme-colors` colors. The first value now is a variable instead of the `$theme-colors` key.
2019-07-25 10:41:13 +03:00
Martijn Cuppens f6694b7440 Use escape-svg() function (#29077)
* Use escape-svg() function

* Update theming.md
2019-07-19 18:57:12 -07:00
Mark Otto cdb6504e48 Drop breakpoint CSS custom properties (#29020)
Media queries do not support CSS custom properties (CSS variables), so we've had some useless variables lying around since shipping v4. This finally removes them and the associated documentation content that explained the situation.

Fixes #29012.
2019-07-14 11:44:49 +03:00
Martijn Cuppens 1efcf7a5dc Typo fix (#28920) 2019-06-18 10:43:15 +03:00
Mark Otto 473689ce5d v5: Drop all print styles and classes (#28339) 2019-05-09 07:57:58 +02:00
XhmikosR 5d6e896ebb Add a docsref shortcode.
This allows for the build to fail if a reference isn't found.
2019-03-13 19:22:59 +02:00
XhmikosR d95d30029f Switch to Hugo.
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!
2019-03-13 19:22:59 +02:00