aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-04-15 17:32:39 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2023-04-15 17:34:02 +0300
commit7a60004f46a8d48e9b9369ddc180f35f17e26a90 (patch)
tree1d2c562336b51ba96799a09264f7e01f59c311e2 /src
parentAdd devmanual to dropdowns. (diff)
downloadtyrian-theme-7a60004f46a8d48e9b9369ddc180f35f17e26a90.tar.gz
tyrian-theme-7a60004f46a8d48e9b9369ddc180f35f17e26a90.tar.bz2
tyrian-theme-7a60004f46a8d48e9b9369ddc180f35f17e26a90.zip
Update dependencies, migrate SASS, bootstrap 4.6.2v2.0.2
- update all dependencies to latest versions - migrate from node-sass to dart-sass - upgrade to bootstrap 4.6.2 - fix some missing `calc` in scss Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r--src/scss/compatibility/_fontawesome4.scss2
-rw-r--r--src/scss/compatibility/_social-buttons.scss4
-rw-r--r--src/scss/tyrian.scss2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/scss/compatibility/_fontawesome4.scss b/src/scss/compatibility/_fontawesome4.scss
index f4a6895..858b666 100644
--- a/src/scss/compatibility/_fontawesome4.scss
+++ b/src/scss/compatibility/_fontawesome4.scss
@@ -1,2 +1,2 @@
$fa-font-path: ".";
-@import "../../../node_modules/font-awesome/scss/font-awesome";
+@import "font-awesome/scss/font-awesome";
diff --git a/src/scss/compatibility/_social-buttons.scss b/src/scss/compatibility/_social-buttons.scss
index 6acb4c5..d991e0f 100644
--- a/src/scss/compatibility/_social-buttons.scss
+++ b/src/scss/compatibility/_social-buttons.scss
@@ -1,5 +1,5 @@
@function calculateRem($target, $context: 16px) {
- @return ($target / $context) * 1rem;
+ @return calc($target / $context) * 1rem;
}
$line-height-computed: floor(($font-size-base * $line-height-base));
@@ -126,4 +126,4 @@ $bs-height-xs: (floor($font-size-small * 1.2) + $padding-small-vertical + 1) !
.btn-twitter { @include btn-social(#55acee); }
.btn-vimeo { @include btn-social(#1ab7ea); }
.btn-vk { @include btn-social(#587ea3); }
-.btn-yahoo { @include btn-social(#720e9e); } \ No newline at end of file
+.btn-yahoo { @include btn-social(#720e9e); }
diff --git a/src/scss/tyrian.scss b/src/scss/tyrian.scss
index 4c54b4d..464c83e 100644
--- a/src/scss/tyrian.scss
+++ b/src/scss/tyrian.scss
@@ -2,7 +2,7 @@
// Bootstrap
@import "./variables";
-@import '~bootstrap/scss/bootstrap';
+@import 'bootstrap/scss/bootstrap';
// Bootstrap