Skip to content

Commit

Permalink
Merge pull request #9265 from brave/speedreader_icon_touchups
Browse files Browse the repository at this point in the history
views/speedreader: icon touchups
  • Loading branch information
Kevin Kuehler authored Jun 29, 2021
2 parents 54b6473 + 535283c commit 06beaa8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
42 changes: 21 additions & 21 deletions app/vector_icons/speedreader.icon
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
CANVAS_DIMENSIONS, 24,
MOVE_TO, 17.46f, 8.17f,
H_LINE_TO, 5.54f,
R_ARC_TO, 0.54f, 0.54f, 0, 0, 1, 0, -1.08f,
R_H_LINE_TO, 11.92f,
R_ARC_TO, 0.54f, 0.54f, 0, 0, 1, 0, 1.08f,
CANVAS_DIMENSIONS, 12,
MOVE_TO, 11.5f, 2,
H_LINE_TO, 0.5f,
R_ARC_TO, 0.5f, 0.5f, 0, 0, 1, 0, -1,
R_H_LINE_TO, 11,
R_ARC_TO, 0.5f, 0.5f, 0, 0, 1, 0, 1,
CLOSE,
MOVE_TO, 5.54f, 10.33f,
R_H_LINE_TO, 7.58f,
R_ARC_TO, 0.54f, 0.54f, 0, 0, 1, 0, 1.08f,
H_LINE_TO, 5.54f,
R_ARC_TO, 0.54f, 0.54f, 0, 0, 1, 0, -1.08f,
MOVE_TO, 0.5f, 4,
R_H_LINE_TO, 7,
R_ARC_TO, 0.5f, 0.5f, 0, 0, 1, 0, 1,
R_H_LINE_TO, -7,
R_ARC_TO, 0.5f, 0.5f, 0, 0, 1, 0, -1,
CLOSE,
R_MOVE_TO, 0, 3.25f,
R_H_LINE_TO, 11.92f,
R_ARC_TO, 0.54f, 0.54f, 0, 0, 1, 0, 1.08f,
H_LINE_TO, 5.54f,
R_ARC_TO, 0.54f, 0.54f, 0, 0, 1, 0, -1.08f,
R_MOVE_TO, 0, 3,
R_H_LINE_TO, 11,
R_ARC_TO, 0.5f, 0.5f, 0, 0, 1, 0, 1,
H_LINE_TO, 0.5f,
R_ARC_TO, 0.5f, 0.5f, 0, 0, 1, 0, -1,
CLOSE,
R_MOVE_TO, 0, 3.25f,
R_H_LINE_TO, 7.58f,
R_ARC_TO, 0.54f, 0.54f, 0, 0, 1, 0, 1.08f,
H_LINE_TO, 5.54f,
R_ARC_TO, 0.54f, 0.54f, 0, 0, 1, 0, -1.08f,
R_MOVE_TO, 0, 3,
R_H_LINE_TO, 7,
R_ARC_TO, 0.5f, 0.5f, 0, 0, 1, 0, 1,
R_H_LINE_TO, -7,
R_ARC_TO, 0.5f, 0.5f, 0, 0, 1, 0, -1,
CLOSE
4 changes: 2 additions & 2 deletions browser/ui/views/speedreader/speedreader_icon_view.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include "brave/components/speedreader/features.h"
#include "brave/grit/brave_generated_resources.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/themes/theme_properties.h"
#include "chrome/browser/ui/omnibox/omnibox_theme.h"
#include "chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.h"
#include "chrome/browser/ui/views/page_action/page_action_icon_view.h"
#include "chrome/grit/generated_resources.h"
Expand Down Expand Up @@ -94,7 +94,7 @@ void SpeedreaderIconView::UpdateImpl() {
// Reset the icon color
const ui::ThemeProvider* tp = GetThemeProvider();
SkColor icon_color_default =
tp->GetColor(ThemeProperties::COLOR_TOOLBAR_BUTTON_ICON);
GetOmniboxColor(tp, OmniboxPart::RESULTS_ICON);
SetIconColor(icon_color_default);
}
}
Expand Down

0 comments on commit 06beaa8

Please sign in to comment.