diff options
Diffstat (limited to 'examples/fast-build/src')
-rw-r--r-- | examples/fast-build/src/pages/index.astro | 4 | ||||
-rw-r--r-- | examples/fast-build/src/styles/_global.scss | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/examples/fast-build/src/pages/index.astro b/examples/fast-build/src/pages/index.astro index 4d13ae5a5..0b7e7ff21 100644 --- a/examples/fast-build/src/pages/index.astro +++ b/examples/fast-build/src/pages/index.astro @@ -17,9 +17,9 @@ import ExternalHoisted from '../components/ExternalHoisted.astro'; } </style> <style lang="scss"> - $color: purple; + @import "../styles/_global.scss"; h2 { - color: purple; + color: $color; } </style> <style define:vars={{ color: 'blue' }}> diff --git a/examples/fast-build/src/styles/_global.scss b/examples/fast-build/src/styles/_global.scss new file mode 100644 index 000000000..27620a746 --- /dev/null +++ b/examples/fast-build/src/styles/_global.scss @@ -0,0 +1 @@ +$color: tan; |