0
mirror of https://github.com/valentineus/popov.link.git synced 2025-07-03 16:10:26 +03:00

chore: migrate sass imports to use (#49)

This commit is contained in:
2025-06-10 18:27:34 +04:00
committed by GitHub
parent d74eec1c47
commit f3cc07e92c
6 changed files with 9 additions and 7 deletions

View File

@ -1,5 +1,5 @@
<style lang="scss"> <style lang="scss">
@import "../scss/_variables.scss"; @use "../scss/variables" as *;
header { header {
padding-bottom: 1rem; padding-bottom: 1rem;

View File

@ -12,7 +12,7 @@ const formattedDate = dayjs(post.data.pubDate.toString()).format("MMMM DD, YYYY"
--- ---
<style lang="scss"> <style lang="scss">
@import "../scss/_variables.scss"; @use "../scss/variables" as *;
small { small {
font-size: $fontSizeBase * 0.75; font-size: $fontSizeBase * 0.75;

View File

@ -12,7 +12,7 @@ const formattedDate = dayjs(post.data.pubDate.toString()).format("MMMM DD, YYYY"
--- ---
<style lang="scss"> <style lang="scss">
@import "../scss/_variables.scss"; @use "../scss/variables" as *;
a { a {
color: $colorText; color: $colorText;

View File

@ -23,7 +23,7 @@ const formattedDate = dayjs(post.data.pubDate.toString()).format("MMMM DD, YYYY"
--- ---
<style lang="scss"> <style lang="scss">
@import "../../scss/_variables.scss"; @use "../../scss/variables" as *;
p { p {
opacity: 0.5; opacity: 0.5;

View File

@ -1,3 +1,5 @@
@use "variables" as *;
*, *,
*::after, *::after,
*::before { *::before {

View File

@ -1,3 +1,3 @@
@import "variables"; @use "variables";
@import "framework"; @use "framework";
@import "print"; @use "print";