Skip to content

Commit fb75b28

Browse files
authored
added usage
1 parent 53992eb commit fb75b28

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

snippets/scss/layouts/dark-theme.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Dark Theme
3-
description: SCSS mixin to change styles for dark themes
3+
description: SCSS mixin to change styles for dark themes.
44
tags: scss, css, mixin, snippet, dark-theme, layout
55
author: gihanrangana
66
---
@@ -21,4 +21,12 @@ author: gihanrangana
2121
}
2222
}
2323
}
24+
25+
// Usage:
26+
.container{
27+
background: #f0f0f0;
28+
@include isDark {
29+
background: #222;
30+
}
31+
}
2432
```

0 commit comments

Comments
 (0)