* [Android] Migrate private NTP to Leo tokens and fix VPN icon visibility - Drop Brave-local duplicates of ic_product_vpn / ic_antenna / ic_product_private_window so the private NTP renders the Leo (Nala) icons via resource_overlay; tint the inner icon layer to primitive_private_window_60 in IncognitoNewTabPageView so the designed purple still wins on the fixed-dark surface. - Remove Brave-local primitive_private_window_5/10/20/60/80/90 from brave_colors.xml; references now resolve through Leo's primitive scale (same hex for _60/80/90; slight neutral shift for _5/10/20). - Remove the runtime setBackgroundColor on the scroll view that was masking the gradient drawable defined in the layout XML. - Switch the private-tab logo to ic_social_brave_release_favicon_- fullheight_color (Leo) and size in dp (42 phone, 56 tablet) to match Figma and to stop scaling with accessibility font size. - Resize circle drawable to 32x32 (was 32x33), constrain inner icon via new_tab_page_incognito_icon_inner_size (20dp / 24dp tablet), and grow circle to 48dp on tablets. - Introduce per-form-factor style aliases (IncognitoNtpTitle / SectionTitle / SectionDescription / Cta) under values/ + values-sw600dp/ so phones and tablets land on the right Leo typography ramp without per-TextView attributes. - Delete the now-dead ntp_bg_incognito and incognito_modern_- primary_color color entries. Resolves: https://github.com/brave/brave-browser/issues/53958
22 lines
971 B
XML
22 lines
971 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (c) 2020 The Brave Authors. All rights reserved.
|
|
This Source Code Form is subject to the terms of the Mozilla Public
|
|
License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
-->
|
|
|
|
<resources>
|
|
<dimen name="onboarding_2_title_size">24sp</dimen>
|
|
<dimen name="onboarding_2_text_size">20sp</dimen>
|
|
<dimen name="onboarding_2_layout_height">400dp</dimen>
|
|
<dimen name="onboarding_2_animation_height">300dp</dimen>
|
|
<dimen name="onboarding_2_animation_width">500dp</dimen>
|
|
|
|
<dimen name="new_tab_page_incognito_logo_size">56dp</dimen>
|
|
<dimen name="new_tab_page_incognito_icon_size">48dp</dimen>
|
|
<dimen name="new_tab_page_incognito_icon_inner_size">24dp</dimen>
|
|
|
|
<!-- Match this value with the upstream for Accessibility -->
|
|
<dimen name="omnibox_search_engine_logo_composed_size">24dp</dimen>
|
|
</resources>
|