Skip to content

Commit 4d31324

Browse files
tbradshamatticbot
authored andcommitted
Stylelint: Apply color rules (#42920)
* Undisable color rules * Fix color-hex-length * color → hex (white, black, green, red) white → #fff black → #000 green → #008000 red → #ff2c2c * color → hex (the rest) aliceblue → #f0f8ff blue → #00f darkblue → #00008b fuchsia → #f0f gray → #808080 grey → #808080 lavender → #e6e6fa lightgrey → #d3d3d3 orange → #ffa500 * Add changelogs * Use proper red (#ff2c2c → #f00) Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/14343111511 Upstream-Ref: Automattic/jetpack@4692dab
1 parent fbc27f0 commit 4d31324

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ This is an alpha version! The changes listed here are not final.
1212
### Changed
1313
- Code: First pass of style coding standards.
1414

15+
### Fixed
16+
- Code: Update stylesheets to use hex instead of named colors.
17+
1518
## [2.0.1] - 2025-04-04
1619
### Changed
1720
- Code: Use function-style `exit()` and `die()` with a default status code of 0. [#41167]

styling/dashboard.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
/* Declare JP CSS variables */
88

99
/* TODO: Integrate root-variables.scss from base-styles package */
10-
--jp-black: #000000;
10+
--jp-black: #000;
1111
--jp-gray: #dcdcde;
1212
--jp-white-off: #f9f9f6;
13-
--jp-white: #ffffff;
13+
--jp-white: #fff;
1414
--font-headline-medium: 48px;
1515
--font-headline-small: 36px;
1616
--font-title-medium: 24px;

0 commit comments

Comments
 (0)