mirror of https://github.com/zulip/zulip.git
lint: Ban color names in CSS.
We already lint using HSL rather than RGB consistently.
This commit is contained in:
parent
f1ae0e2e94
commit
8f3a0927c3
|
@ -62,5 +62,6 @@
|
||||||
|
|
||||||
# Limit language features
|
# Limit language features
|
||||||
"color-no-hex": true,
|
"color-no-hex": true,
|
||||||
|
"color-named": "never",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -265,7 +265,7 @@ div[id^="message-edit-send-status"],
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: hsl(0, 0%, 0%);
|
color: hsl(0, 0%, 0%);
|
||||||
text-shadow: 0 1px 0 white;
|
text-shadow: 0 1px 0 hsl(0, 0%, 100%);
|
||||||
opacity: .2;
|
opacity: .2;
|
||||||
filter: alpha(opacity=20);
|
filter: alpha(opacity=20);
|
||||||
float: right;
|
float: right;
|
||||||
|
@ -303,7 +303,7 @@ div[id^="message-edit-send-status"],
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: hsl(0, 0%, 0%);
|
color: hsl(0, 0%, 0%);
|
||||||
text-shadow: 0 1px 0 white;
|
text-shadow: 0 1px 0 hsl(0, 0%, 100%);
|
||||||
opacity: .2;
|
opacity: .2;
|
||||||
filter: alpha(opacity=20);
|
filter: alpha(opacity=20);
|
||||||
}
|
}
|
||||||
|
|
|
@ -62,7 +62,7 @@ body.night-mode {
|
||||||
/* this one makes the border of the reactions highlighted on hovering. */
|
/* this one makes the border of the reactions highlighted on hovering. */
|
||||||
.message_reaction:hover,
|
.message_reaction:hover,
|
||||||
.reaction_button:hover {
|
.reaction_button:hover {
|
||||||
border-color: white !important;
|
border-color: hsl(0, 0%, 100%) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* do not turn the .message_header .stream_label text dark on hover because they're
|
/* do not turn the .message_header .stream_label text dark on hover because they're
|
||||||
|
|
|
@ -496,7 +496,7 @@ img.screenshot {
|
||||||
.integration {
|
.integration {
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
padding-top: 1em;
|
padding-top: 1em;
|
||||||
border-top: 1px dashed black;
|
border-top: 1px dashed hsl(0, 0%, 0%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.integration p {
|
.integration p {
|
||||||
|
@ -1005,7 +1005,7 @@ a.bottom-signup-button {
|
||||||
|
|
||||||
.team input:checked + label {
|
.team input:checked + label {
|
||||||
border: 1px solid hsl(0, 0%, 93%);
|
border: 1px solid hsl(0, 0%, 93%);
|
||||||
border-top: 2px solid yellowgreen;
|
border-top: 2px solid hsl(80, 61%, 50%);
|
||||||
border-bottom-color: hsl(0, 0%, 100%);
|
border-bottom-color: hsl(0, 0%, 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -185,14 +185,14 @@ a.button:hover {
|
||||||
|
|
||||||
.recipient_block {
|
.recipient_block {
|
||||||
background-color: #f0f4f5;
|
background-color: #f0f4f5;
|
||||||
border: 1px solid black;
|
border: 1px solid #000000;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.recipient_header {
|
.recipient_header {
|
||||||
color: #e0dada;
|
color: #e0dada;
|
||||||
background-color: #444444;
|
background-color: #444444;
|
||||||
border-bottom: 1px solid black;
|
border-bottom: 1px solid #000000;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
@ -221,13 +221,13 @@ a.button:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
.hot_convo_recipient_block {
|
.hot_convo_recipient_block {
|
||||||
border: 1px solid black;
|
border: 1px solid #000000;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hot_convo_recipient_header {
|
.hot_convo_recipient_header {
|
||||||
background-color: #9ec9ff;
|
background-color: #9ec9ff;
|
||||||
border-bottom: 1px solid black;
|
border-bottom: 1px solid #000000;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
@ -243,13 +243,13 @@ a.button:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
.recipient_block_with_messages {
|
.recipient_block_with_messages {
|
||||||
border: 1px solid black;
|
border: 1px solid #000000;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.recipient_header_with_messages {
|
.recipient_header_with_messages {
|
||||||
background-color: #9ecaff;
|
background-color: #9ecaff;
|
||||||
border-bottom: 1px solid black;
|
border-bottom: 1px solid #000000;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
@ -261,14 +261,14 @@ a.button:hover {
|
||||||
|
|
||||||
.recipient_block_without_messages {
|
.recipient_block_without_messages {
|
||||||
background-color: #f0f4f5;
|
background-color: #f0f4f5;
|
||||||
border: 1px solid black;
|
border: 1px solid #000000;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.recipient_header_without_messages {
|
.recipient_header_without_messages {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
background-color: #444444;
|
background-color: #444444;
|
||||||
border-bottom: 1px solid black;
|
border-bottom: 1px solid #000000;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,4 +11,4 @@ LATEST_RELEASE_ANNOUNCEMENT = "https://blog.zulip.org/2018/11/07/zulip-1-9-relea
|
||||||
# Typically, adding a dependency only requires a minor version bump, and
|
# Typically, adding a dependency only requires a minor version bump, and
|
||||||
# removing a dependency requires a major version bump.
|
# removing a dependency requires a major version bump.
|
||||||
|
|
||||||
PROVISION_VERSION = '27.1'
|
PROVISION_VERSION = '27.2'
|
||||||
|
|
Loading…
Reference in New Issue