hugo-theme-zzo/assets/sass/prism/_prism.scss

47 lines
828 B
SCSS

@import 'dark';
@import 'light';
@import 'hacker';
@import 'solarized';
@import 'dracula';
@if $prism_theme == default {
.theme__light, .theme__custom {
@include theme-light;
}
.theme__dark {
@include theme-dark;
}
.theme__hacker {
@include theme-hacker;
}
.theme__solarized {
@include theme-solarized;
}
} @else if $prism_theme == dark {
.container {
@include theme-dark;
}
} @else if $prism_theme == hacker {
.container {
@include theme-hacker;
}
} @else if $prism_theme == light {
.container {
@include theme-light;
}
} @else if $prism_theme == solarized {
.container {
@include theme-solarized;
}
} @else if $prism_theme == dracula {
.container {
@include theme-dracula;
}
} @else {
.container {
@include theme-light;
}
}