[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Solaris icons for light/dark mode #2237

Merged
merged 7 commits into from
Sep 14, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Temp test
  • Loading branch information
julien-deramond committed Sep 14, 2023
commit 9c3b19734677e8e2c220d692eaec257c2bad7cdb
6 changes: 4 additions & 2 deletions scss/helpers/_icon-link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
backface-visibility: hidden;

> .bi {
--test-icon-size: 30px;

flex-shrink: 0;
width: $icon-link-icon-size;
height: $icon-link-icon-size;
width: var(--test-icon-size);
height: var(--test-icon-size);
fill: currentcolor;
@include transition($icon-link-icon-transition);
}
Expand Down
6 changes: 6 additions & 0 deletions site/assets/scss/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
--bs-dropdown-line-height: #{$line-height-sm};
--bs-dropdown-item-padding-y: #{$dropdown-item-padding-y + .0625rem};

.bi {
--test-icon-size: 40px;
width: var(--test-icon-size) !important; // stylelint-disable-line declaration-no-important
height: var(--test-icon-size) !important; // stylelint-disable-line declaration-no-important
}

.active .bi {
display: block !important; // stylelint-disable-line declaration-no-important
}
Expand Down
Loading