Skip to content

Commit a1765c2

Browse files
authored
Lint: always use long-form hex color (5) (#40685)
1 parent 0663959 commit a1765c2

File tree

45 files changed

+121
-91
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+121
-91
lines changed

files/en-us/mozilla/add-ons/webextensions/api/theme/update/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const sunTheme = {
3737
},
3838
colors: {
3939
frame: "#CF723F",
40-
tab_background_text: "#111",
40+
tab_background_text: "#111111",
4141
},
4242
};
4343

@@ -53,7 +53,7 @@ const day = {
5353
},
5454
colors: {
5555
frame: "#CF723F",
56-
tab_background_text: "#111",
56+
tab_background_text: "#111111",
5757
},
5858
};
5959

files/en-us/mozilla/add-ons/webextensions/api/webrequest/onbeforerequest/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ let pattern = "https://developer.mozilla.org/*";
257257

258258
let image = `
259259
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%">
260-
<rect style="stroke-width: 10; stroke: #666;" width="100%" height="100%" fill="#d4d0c8" />
261-
<text transform="translate(0, 9)" x="50%" y="50%" width="100%" fill="#666" height="100%" style="text-anchor: middle; font: bold 10pt 'Segoe UI', Arial, Helvetica, Sans-serif;">Blocked</text>
260+
<rect style="stroke-width: 10; stroke: #666666;" width="100%" height="100%" fill="#d4d0c8" />
261+
<text transform="translate(0, 9)" x="50%" y="50%" width="100%" fill="#666666" height="100%" style="text-anchor: middle; font: bold 10pt 'Segoe UI', Arial, Helvetica, Sans-serif;">Blocked</text>
262262
</svg>
263263
`;
264264

files/en-us/mozilla/add-ons/webextensions/user_interface/browser_styles/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ button.panel-section-tabs-button {
392392
}
393393

394394
.panel-list-item.disabled {
395-
color: #999;
395+
color: #999999;
396396
}
397397

398398
.panel-list-item > .icon {

files/en-us/web/accessibility/aria/reference/roles/menuitemradio_role/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ The visual appearance of the selected state is a checked radio button which we c
125125
width: 1em;
126126
height: 1em;
127127
padding: 0.1em;
128-
border: 2px solid #333;
128+
border: 2px solid #333333;
129129
border-radius: 50%;
130130
box-sizing: border-box;
131131
background-clip: content-box;

files/en-us/web/accessibility/aria/reference/roles/switch_role/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,13 @@ button.switch span {
153153

154154
[role="switch"][aria-checked="false"] :first-child,
155155
[role="switch"][aria-checked="true"] :last-child {
156-
background: #262;
157-
color: #eef;
156+
background: #226622;
157+
color: #eeeeff;
158158
}
159159

160160
[role="switch"][aria-checked="false"] :last-child,
161161
[role="switch"][aria-checked="true"] :first-child {
162-
color: #bbd;
162+
color: #bbbbdd;
163163
}
164164

165165
label.switch {

files/en-us/web/html/reference/attributes/pattern/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ div {
153153

154154
p {
155155
font-size: 80%;
156-
color: #999;
156+
color: #999999;
157157
}
158158

159159
input + span {

files/en-us/web/html/reference/elements/a/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ canvas {
410410
}
411411
a {
412412
display: inline-block;
413-
background: #69c;
413+
background: #6699cc;
414414
color: white;
415415
padding: 5px 10px;
416416
}

files/en-us/web/html/reference/elements/article/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The **`<article>`** [HTML](/en-US/docs/Web/HTML) element represents a self-conta
3232
.forecast {
3333
margin: 0;
3434
padding: 0.3rem;
35-
background-color: #eee;
35+
background-color: #eeeeee;
3636
}
3737

3838
.forecast > h1,

files/en-us/web/html/reference/elements/code/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The **`<code>`** [HTML](/en-US/docs/Web/HTML) element displays its contents styl
1919

2020
```css interactive-example
2121
code {
22-
background-color: #eee;
22+
background-color: #eeeeee;
2323
border-radius: 3px;
2424
font-family: courier, monospace;
2525
padding: 0 3px;

files/en-us/web/html/reference/elements/del/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ The **`<del>`** [HTML](/en-US/docs/Web/HTML) element represents a range of text
2020
```css interactive-example
2121
del {
2222
text-decoration: line-through;
23-
background-color: #fbb;
24-
color: #555;
23+
background-color: #ffbbbb;
24+
color: #555555;
2525
}
2626

2727
ins {

0 commit comments

Comments
 (0)