Browse Source

Apply stylelint fixes to SCSS

The stylelint rules are extremely minimal so far, so this just fixes
some single-quotes to double-quotes.
merge-requests/70/head
Deimos 6 years ago
parent
commit
8ce9235ae0
  1. 2
      tildes/scss/_spectre_variables.scss
  2. 4
      tildes/scss/modules/_label.scss
  3. 80
      tildes/scss/styles.scss

2
tildes/scss/_spectre_variables.scss

@ -1,7 +1,7 @@
// This file should be imported at the top of Spectre's _variables.scss // This file should be imported at the top of Spectre's _variables.scss
// Since Spectre uses !default declarations, these values won't be overwritten // Since Spectre uses !default declarations, these values won't be overwritten
@import 'variables';
@import "variables";
$primary-color: #268bd2; // Solarized $primary-color: #268bd2; // Solarized

4
tildes/scss/modules/_label.scss

@ -20,7 +20,7 @@
.label-topic-tag-spoiler, .label-topic-tag-spoiler,
.label-topic-tag-nsfw, .label-topic-tag-nsfw,
.label-topic-tag[class*='label-topic-tag-nsfw-'],
.label-topic-tag[class*='label-topic-tag-spoiler-'] {
.label-topic-tag[class*="label-topic-tag-nsfw-"],
.label-topic-tag[class*="label-topic-tag-spoiler-"] {
font-weight: bold; font-weight: bold;
} }

80
tildes/scss/styles.scss

@ -1,46 +1,46 @@
@import 'variables';
@import 'spectre-0.5.1/_variables.scss';
@import "variables";
@import "spectre-0.5.1/_variables.scss";
@import 'mixins';
@import 'placeholders';
@import "mixins";
@import "placeholders";
@import 'base';
@import 'layout';
@import "base";
@import "layout";
@import 'modules/btn';
@import 'modules/chip';
@import 'modules/comment';
@import 'modules/divider';
@import 'modules/empty';
@import 'modules/form';
@import 'modules/group';
@import 'modules/heading';
@import 'modules/input';
@import 'modules/label';
@import 'modules/link';
@import 'modules/listing';
@import 'modules/logged-in-user';
@import 'modules/menu';
@import 'modules/message';
@import 'modules/nav';
@import 'modules/pagination';
@import 'modules/post';
@import 'modules/settings';
@import 'modules/sidebar';
@import 'modules/site-footer';
@import 'modules/site-header';
@import 'modules/static-site';
@import 'modules/tab';
@import 'modules/text';
@import 'modules/time';
@import 'modules/toast';
@import 'modules/topic';
@import "modules/btn";
@import "modules/chip";
@import "modules/comment";
@import "modules/divider";
@import "modules/empty";
@import "modules/form";
@import "modules/group";
@import "modules/heading";
@import "modules/input";
@import "modules/label";
@import "modules/link";
@import "modules/listing";
@import "modules/logged-in-user";
@import "modules/menu";
@import "modules/message";
@import "modules/nav";
@import "modules/pagination";
@import "modules/post";
@import "modules/settings";
@import "modules/sidebar";
@import "modules/site-footer";
@import "modules/site-header";
@import "modules/static-site";
@import "modules/tab";
@import "modules/text";
@import "modules/time";
@import "modules/toast";
@import "modules/topic";
// Note: if you add a new theme, you may also want to add a new theme-color // Note: if you add a new theme, you may also want to add a new theme-color
// meta tag inside the base.jinja2 template, so mobile browsers can match // meta tag inside the base.jinja2 template, so mobile browsers can match
@import 'themes/theme_base';
@import 'themes/default';
@import 'themes/black';
@import 'themes/dracula';
@import 'themes/atom_one_dark';
@import 'themes/solarized';
@import "themes/theme_base";
@import "themes/default";
@import "themes/black";
@import "themes/dracula";
@import "themes/atom_one_dark";
@import "themes/solarized";
Loading…
Cancel
Save