style(scss): update rule-empty-line-before config

This commit is contained in:
Cotes Chung 2023-09-28 01:21:30 +08:00
parent 2d56597571
commit b489da89ca
No known key found for this signature in database
GPG key ID: 0D9E54843167A808
4 changed files with 64 additions and 1 deletions

View file

@ -15,7 +15,7 @@
"scss/operator-no-newline-after": null, "scss/operator-no-newline-after": null,
"rule-empty-line-before": [ "rule-empty-line-before": [
"always", "always",
{ "ignore": ["after-comment", "first-nested", "inside-block"] } { "ignore": ["after-comment", "first-nested"] }
], ],
"value-keyword-case": ["lower", { "ignoreProperties": ["/^\\$/"] }], "value-keyword-case": ["lower", { "ignoreProperties": ["/^\\$/"] }],
"media-feature-range-notation": "prefix" "media-feature-range-notation": "prefix"

View file

@ -527,6 +527,7 @@ main {
0% { 0% {
transform: translateX(-100%); transform: translateX(-100%);
} }
100% { 100% {
transform: translateX(100%); transform: translateX(100%);
} }
@ -536,6 +537,7 @@ main {
0% { 0% {
transform: translateX(-100%); transform: translateX(-100%);
} }
100% { 100% {
transform: translateX(100%); transform: translateX(100%);
} }

View file

@ -24,18 +24,22 @@
.highlight table td { .highlight table td {
padding: 5px; padding: 5px;
} }
.highlight table pre { .highlight table pre {
margin: 0; margin: 0;
} }
.highlight, .highlight,
.highlight .w { .highlight .w {
color: #d0d0d0; color: #d0d0d0;
background-color: #151515; background-color: #151515;
} }
.highlight .err { .highlight .err {
color: #151515; color: #151515;
background-color: #ac4142; background-color: #ac4142;
} }
.highlight .c, .highlight .c,
.highlight .ch, .highlight .ch,
.highlight .cd, .highlight .cd,
@ -45,32 +49,40 @@
.highlight .cs { .highlight .cs {
color: #848484; color: #848484;
} }
.highlight .cp { .highlight .cp {
color: #f4bf75; color: #f4bf75;
} }
.highlight .nt { .highlight .nt {
color: #f4bf75; color: #f4bf75;
} }
.highlight .o, .highlight .o,
.highlight .ow { .highlight .ow {
color: #d0d0d0; color: #d0d0d0;
} }
.highlight .p, .highlight .p,
.highlight .pi { .highlight .pi {
color: #d0d0d0; color: #d0d0d0;
} }
.highlight .gi { .highlight .gi {
color: #90a959; color: #90a959;
} }
.highlight .gd { .highlight .gd {
color: #f08a8b; color: #f08a8b;
background-color: #320000; background-color: #320000;
} }
.highlight .gh { .highlight .gh {
color: #6a9fb5; color: #6a9fb5;
background-color: #151515; background-color: #151515;
font-weight: bold; font-weight: bold;
} }
.highlight .k, .highlight .k,
.highlight .kn, .highlight .kn,
.highlight .kp, .highlight .kp,
@ -78,15 +90,19 @@
.highlight .kv { .highlight .kv {
color: #aa759f; color: #aa759f;
} }
.highlight .kc { .highlight .kc {
color: #d28445; color: #d28445;
} }
.highlight .kt { .highlight .kt {
color: #d28445; color: #d28445;
} }
.highlight .kd { .highlight .kd {
color: #d28445; color: #d28445;
} }
.highlight .s, .highlight .s,
.highlight .sb, .highlight .sb,
.highlight .sc, .highlight .sc,
@ -98,30 +114,39 @@
.highlight .s1 { .highlight .s1 {
color: #90a959; color: #90a959;
} }
.highlight .sa { .highlight .sa {
color: #aa759f; color: #aa759f;
} }
.highlight .sr { .highlight .sr {
color: #75b5aa; color: #75b5aa;
} }
.highlight .si { .highlight .si {
color: #b76d45; color: #b76d45;
} }
.highlight .se { .highlight .se {
color: #b76d45; color: #b76d45;
} }
.highlight .nn { .highlight .nn {
color: #f4bf75; color: #f4bf75;
} }
.highlight .nc { .highlight .nc {
color: #f4bf75; color: #f4bf75;
} }
.highlight .no { .highlight .no {
color: #f4bf75; color: #f4bf75;
} }
.highlight .na { .highlight .na {
color: #6a9fb5; color: #6a9fb5;
} }
.highlight .m, .highlight .m,
.highlight .mb, .highlight .mb,
.highlight .mf, .highlight .mf,
@ -132,6 +157,7 @@
.highlight .mx { .highlight .mx {
color: #90a959; color: #90a959;
} }
.highlight .ss { .highlight .ss {
color: #90a959; color: #90a959;
} }

View file

@ -24,14 +24,17 @@
.highlight table td { .highlight table td {
padding: 5px; padding: 5px;
} }
.highlight table pre { .highlight table pre {
margin: 0; margin: 0;
} }
.highlight, .highlight,
.highlight .w { .highlight .w {
color: #24292f; color: #24292f;
background-color: #f6f8fa; background-color: #f6f8fa;
} }
.highlight .k, .highlight .k,
.highlight .kd, .highlight .kd,
.highlight .kn, .highlight .kn,
@ -41,41 +44,53 @@
.highlight .kv { .highlight .kv {
color: #cf222e; color: #cf222e;
} }
.highlight .gr { .highlight .gr {
color: #f6f8fa; color: #f6f8fa;
} }
.highlight .gd { .highlight .gd {
color: #82071e; color: #82071e;
background-color: #ffebe9; background-color: #ffebe9;
} }
.highlight .nb { .highlight .nb {
color: #953800; color: #953800;
} }
.highlight .nc { .highlight .nc {
color: #953800; color: #953800;
} }
.highlight .no { .highlight .no {
color: #953800; color: #953800;
} }
.highlight .nn { .highlight .nn {
color: #953800; color: #953800;
} }
.highlight .sr { .highlight .sr {
color: #116329; color: #116329;
} }
.highlight .na { .highlight .na {
color: #116329; color: #116329;
} }
.highlight .nt { .highlight .nt {
color: #116329; color: #116329;
} }
.highlight .gi { .highlight .gi {
color: #116329; color: #116329;
background-color: #dafbe1; background-color: #dafbe1;
} }
.highlight .kc { .highlight .kc {
color: #0550ae; color: #0550ae;
} }
.highlight .l, .highlight .l,
.highlight .ld, .highlight .ld,
.highlight .m, .highlight .m,
@ -88,21 +103,27 @@
.highlight .mx { .highlight .mx {
color: #0550ae; color: #0550ae;
} }
.highlight .sb { .highlight .sb {
color: #0550ae; color: #0550ae;
} }
.highlight .bp { .highlight .bp {
color: #0550ae; color: #0550ae;
} }
.highlight .ne { .highlight .ne {
color: #0550ae; color: #0550ae;
} }
.highlight .nl { .highlight .nl {
color: #0550ae; color: #0550ae;
} }
.highlight .py { .highlight .py {
color: #0550ae; color: #0550ae;
} }
.highlight .nv, .highlight .nv,
.highlight .vc, .highlight .vc,
.highlight .vg, .highlight .vg,
@ -110,18 +131,22 @@
.highlight .vm { .highlight .vm {
color: #0550ae; color: #0550ae;
} }
.highlight .o, .highlight .o,
.highlight .ow { .highlight .ow {
color: #0550ae; color: #0550ae;
} }
.highlight .gh { .highlight .gh {
color: #0550ae; color: #0550ae;
font-weight: bold; font-weight: bold;
} }
.highlight .gu { .highlight .gu {
color: #0550ae; color: #0550ae;
font-weight: bold; font-weight: bold;
} }
.highlight .s, .highlight .s,
.highlight .sa, .highlight .sa,
.highlight .sc, .highlight .sc,
@ -135,17 +160,21 @@
.highlight .ss { .highlight .ss {
color: #0a3069; color: #0a3069;
} }
.highlight .nd { .highlight .nd {
color: #8250df; color: #8250df;
} }
.highlight .nf, .highlight .nf,
.highlight .fm { .highlight .fm {
color: #8250df; color: #8250df;
} }
.highlight .err { .highlight .err {
color: #f6f8fa; color: #f6f8fa;
background-color: #82071e; background-color: #82071e;
} }
.highlight .c, .highlight .c,
.highlight .ch, .highlight .ch,
.highlight .cd, .highlight .cd,
@ -156,22 +185,28 @@
.highlight .cs { .highlight .cs {
color: #68717a; color: #68717a;
} }
.highlight .gl { .highlight .gl {
color: #68717a; color: #68717a;
} }
.highlight .gt { .highlight .gt {
color: #68717a; color: #68717a;
} }
.highlight .ni { .highlight .ni {
color: #24292f; color: #24292f;
} }
.highlight .si { .highlight .si {
color: #24292f; color: #24292f;
} }
.highlight .ge { .highlight .ge {
color: #24292f; color: #24292f;
font-style: italic; font-style: italic;
} }
.highlight .gs { .highlight .gs {
color: #24292f; color: #24292f;
font-weight: bold; font-weight: bold;