Skip to content

Commit a01b8d9

Browse files
authored
Merge pull request #789 from GyulyVGC/a11y
Improve color contrast on hover
2 parents 1db0572 + dc34ed5 commit a01b8d9

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/package.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,16 @@ jobs:
7272
with:
7373
targets: ${{ matrix.target }}
7474

75+
- name: Check crate
76+
if: matrix.os == 'macos' || matrix.os == 'windows' || matrix.os == 'ubuntu' && matrix.arch == 'amd64'
77+
run: cargo publish --dry-run --target ${{ matrix.target }}
78+
7579
- name: Clippy (release mode)
7680
run: cargo clippy --release -- -D warnings
7781

7882
- name: Test (release mode)
79-
run: cargo test --release --verbose -- --nocapture
80-
81-
- name: Check crate
82-
if: matrix.os == 'macos' || matrix.os == 'windows' || matrix.os == 'ubuntu' && matrix.arch == 'amd64'
8383
run: |
84-
cargo publish --dry-run --target ${{ matrix.target }} &&
84+
cargo test --release --verbose -- --nocapture &&
8585
cargo clean
8686
8787
- name: Install Cross

src/gui/styles/button.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ impl ButtonType {
147147
ButtonType::Gradient(gradient_type) => Background::Gradient(
148148
get_gradient_hovered_buttons(&colors, *gradient_type, ext.is_nightly),
149149
),
150+
ButtonType::BorderedRoundSelected => Background::Color(ext.buttons_color),
150151
_ => Background::Color(mix_colors(colors.primary, ext.buttons_color)),
151152
}),
152153
border: Border {

0 commit comments

Comments
 (0)