0

Rename css file for shared toolbar styles.

For the lit migration, we'll move the read-anything-toolbar specific
styles out of read_anything_toolbar.html to read_anything_toolbar.css.
However, read_anything_toolbar.css currently has shared styles, so I'm
renaming the file so it's clear that we differentiate between the
component specific styles and shared styles.

Bug: 352583619

Change-Id: I5f169409dc6a96be16f89d324c908ec359196de9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6317487
Reviewed-by: Kristi Saney <kristislee@google.com>
Commit-Queue: Eitan Goldberger <eitang@google.com>
Cr-Commit-Position: refs/heads/main@{#1427386}
This commit is contained in:
Eitan Goldberger
2025-03-03 14:21:58 -08:00
committed by Chromium LUCI CQ
parent 6fd8d8f93d
commit 782ab35542
10 changed files with 9 additions and 9 deletions

@ -41,7 +41,7 @@ build_webui("build") {
"app.css",
"language_menu.css",
"language_toast.css",
"read_anything_toolbar.css",
"toolbar_styles_shared.css",
"voice_selection_menu.css",
]
icons_html_files = [ "icons.html" ]

@ -3,7 +3,7 @@
// found in the LICENSE file.
import './simple_action_menu.js';
import '../read_anything_toolbar.css.js';
import '../toolbar_styles_shared.css.js';
import {WebUiListenerMixin} from '//resources/cr_elements/web_ui_listener_mixin.js';
import {loadTimeData} from '//resources/js/load_time_data.js';

@ -3,7 +3,7 @@
// found in the LICENSE file.
import './simple_action_menu.js';
import '../read_anything_toolbar.css.js';
import '../toolbar_styles_shared.css.js';
import {WebUiListenerMixin} from '//resources/cr_elements/web_ui_listener_mixin.js';
import {loadTimeData} from '//resources/js/load_time_data.js';

@ -3,7 +3,7 @@
// found in the LICENSE file.
import './simple_action_menu.js';
import '../read_anything_toolbar.css.js';
import '../toolbar_styles_shared.css.js';
import {WebUiListenerMixin} from '//resources/cr_elements/web_ui_listener_mixin.js';
import {loadTimeData} from '//resources/js/load_time_data.js';

@ -3,7 +3,7 @@
// found in the LICENSE file.
import './simple_action_menu.js';
import '../read_anything_toolbar.css.js';
import '../toolbar_styles_shared.css.js';
import {WebUiListenerMixin} from '//resources/cr_elements/web_ui_listener_mixin.js';
import {loadTimeData} from '//resources/js/load_time_data.js';

@ -1,4 +1,4 @@
<style include="read-anything-toolbar">
<style include="toolbar-styles-shared">
.has-icon-false {
display: none;
}

@ -4,7 +4,7 @@
import '//resources/cr_elements/cr_action_menu/cr_action_menu.js';
import '//resources/cr_elements/cr_lazy_render/cr_lazy_render.js';
import '../read_anything_toolbar.css.js';
import '../toolbar_styles_shared.css.js';
import type {CrActionMenuElement} from '//resources/cr_elements/cr_action_menu/cr_action_menu.js';
import type {CrLazyRenderElement} from '//resources/cr_elements/cr_lazy_render/cr_lazy_render.js';

@ -1,4 +1,4 @@
<style include="cr-icons md-select read-anything-toolbar">
<style include="cr-icons md-select toolbar-styles-shared">
#play-pause {
--cr-icon-button-icon-size: 20px;
--cr-icon-button-fill-color: var(--color-sys-primary);

@ -9,7 +9,7 @@ import './menus/color_menu.js';
import './menus/line_spacing_menu.js';
import './menus/letter_spacing_menu.js';
import './menus/highlight_menu.js';
import './read_anything_toolbar.css.js';
import './toolbar_styles_shared.css.js';
import '//resources/cr_elements/cr_action_menu/cr_action_menu.js';
import '//resources/cr_elements/cr_button/cr_button.js';
import '//resources/cr_elements/cr_icon_button/cr_icon_button.js';