Skip to content

Commit

Permalink
test: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Aug 19, 2024
1 parent c9ffa1d commit b467f41
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 0 deletions.
60 changes: 60 additions & 0 deletions test/sass/language-source-maps.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
@import "another/variables"
@import "./file.css"
@import "module"

$font-stack: Helvetica, sans-serif
$primary-color: #333
$pi: '\e0C6'

body
font: 100% $font-stack
color: $primary-color

nav
ul
margin: 0
padding: 0
list-style: none

li
display: inline-block

a
display: block
padding: 6px 12px
text-decoration: none

=border-radius($radius)
-webkit-border-radius: $radius
-moz-border-radius: $radius
-ms-border-radius: $radius
border-radius: $radius

.box
+border-radius(10px)

.message
border: 1px solid #ccc
padding: 10px
color: #333

.success
@extend .message
border-color: green

.error
@extend .message
border-color: red

.warning
@extend .message
border-color: yellow

.foo
&:before
content: $pi

.bar
&:before
content: $n-ary-summation

49 changes: 49 additions & 0 deletions test/scss/language-source-maps.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
@import "another/variables";
@import "./file.css";
@import 'module';

$font-stack: Helvetica, sans-serif;
$primary-color: #333;
$pi: '\e0C6';

body {
font: 100% $font-stack;
color: $primary-color;
}

nav {
ul {
margin: 0;
padding: 0;
list-style: none;
}

li { display: inline-block; }

a {
display: block;
padding: 6px 12px;
text-decoration: none;
}
}

@mixin border-radius($radius) {
-webkit-border-radius: $radius;
-moz-border-radius: $radius;
-ms-border-radius: $radius;
border-radius: $radius;
}

.box { @include border-radius(10px); }

.foo {
&:before {
content: $pi;
}
}

.bar {
&:before {
content: $n-ary-summation;
}
}

0 comments on commit b467f41

Please sign in to comment.