styles: Enable stylelint font-family-name-quotes rule.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2020-08-04 15:43:16 -07:00
parent ca2dc639c4
commit 18ce4aed8b
7 changed files with 10 additions and 7 deletions

View File

@ -175,7 +175,7 @@ $alert-error-red: hsl(0, 80%, 40%);
top: 10px; top: 10px;
left: 12px; left: 12px;
font-family: "FontAwesome"; font-family: FontAwesome;
font-size: 1.3em; font-size: 1.3em;
content: "\f071"; content: "\f071";

View File

@ -473,7 +473,7 @@
display: inline; display: inline;
margin-right: 8px; margin-right: 8px;
font-family: FontAwesome, "Yantramanav", Source Sans Pro; font-family: FontAwesome, Yantramanav, "Source Sans Pro";
font-weight: 600; font-weight: 600;
} }
} }

View File

@ -1,5 +1,5 @@
.billing-upgrade-page { .billing-upgrade-page {
font-family: Source Sans Pro, Helvetica, Arial, sans-serif; font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
background-color: hsl(0, 0%, 98%); background-color: hsl(0, 0%, 98%);
height: 100vh; height: 100vh;

View File

@ -241,14 +241,14 @@
.tip::before { .tip::before {
display: inline; display: inline;
content: "\f0eb Tip: "; content: "\f0eb Tip: ";
font-family: FontAwesome, "Yantramanav", Source Sans Pro; font-family: FontAwesome, Yantramanav, "Source Sans Pro";
font-weight: 600; font-weight: 600;
} }
.keyboard_tip::before { .keyboard_tip::before {
display: inline; display: inline;
content: "\f11c Keyboard Shortcut: "; content: "\f11c Keyboard Shortcut: ";
font-family: FontAwesome, "Yantramanav", Source Sans Pro; font-family: FontAwesome, Yantramanav, "Source Sans Pro";
font-weight: 600; font-weight: 600;
} }

View File

@ -896,7 +896,7 @@ input[type="checkbox"] {
} }
.api_key .api-key-value-and-button { .api_key .api-key-value-and-button {
font-family: "Inconsolata", Menlo, monospace; font-family: Inconsolata, Menlo, monospace;
font-size: 0.85em; font-size: 0.85em;
display: flex; display: flex;
} }

View File

@ -943,7 +943,7 @@ form#add_new_subscription {
&:empty::before { &:empty::before {
content: "\f040"; content: "\f040";
font-family: "FontAwesome"; font-family: FontAwesome;
font-size: 0.8rem; font-size: 0.8rem;
font-weight: normal; font-weight: normal;
} }

View File

@ -19,6 +19,9 @@ module.exports = {
"declaration-empty-line-before": null, "declaration-empty-line-before": null,
"length-zero-no-unit": null, "length-zero-no-unit": null,
// Additional stylistic rules
"font-family-name-quotes": "always-where-recommended",
// Limit language features // Limit language features
"color-no-hex": true, "color-no-hex": true,
"color-named": "never", "color-named": "never",