summaryrefslogtreecommitdiffstats
path: root/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_tint.scss
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:56:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:56:52 +0000
commit087bd1b14d5e1f45f60b1ffa64ca318c23b7c6ea (patch)
treed4139abfdd8c50b4b0ac84d876808a2f525dc958 /debian/missing-sources/bourbon/app/assets/stylesheets/functions/_tint.scss
parentAdding upstream version 2.0.0+dfsg. (diff)
downloadsphinx-rtd-theme-debian.tar.xz
sphinx-rtd-theme-debian.zip
Adding debian version 2.0.0+dfsg-1.debian/2.0.0+dfsg-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/missing-sources/bourbon/app/assets/stylesheets/functions/_tint.scss')
-rw-r--r--debian/missing-sources/bourbon/app/assets/stylesheets/functions/_tint.scss24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_tint.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_tint.scss
new file mode 100644
index 0000000..2e33814
--- /dev/null
+++ b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_tint.scss
@@ -0,0 +1,24 @@
+@charset "UTF-8";
+
+/// Mixes a color with white.
+///
+/// @param {Color} $color
+///
+/// @param {Number (Percentage)} $percent
+/// The amount of white to be mixed in.
+///
+/// @example scss - Usage
+/// .element {
+/// background-color: tint(#6ecaa6, 40%);
+/// }
+///
+/// @example css - CSS Output
+/// .element {
+/// background-color: #a8dfc9;
+/// }
+///
+/// @return {Color}
+
+@function tint($color, $percent) {
+ @return mix(#fff, $color, $percent);
+}