Skip to content

Commit

Permalink
Design notice #4: border around sync code and Roboto Mono font
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyBarabash committed Jun 20, 2024
1 parent f8a4729 commit 5558416
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions android/brave_java_resources.gni
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,7 @@ brave_java_resources = [
"java/res/drawable/warning_circle_filled.xml",
"java/res/drawable/web_notification_small_icon_background.xml",
"java/res/drawable/white_rounded_holo_button_thin.xml",
"java/res/font/roboto_mono_regular.ttf",
"java/res/layout-land/brave_shields_stats_row.xml",
"java/res/layout-sw600dp-land/brave_shields_stats_row.xml",
"java/res/layout-sw600dp/brave_rewards_tippingpanel_fragment.xml",
Expand Down
4 changes: 2 additions & 2 deletions android/java/res/drawable/brave_sync_top_rounded.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

<shape xmlns:android="http://schemas.android.com/apk/res/android">

<solid android:color="@color/brave_sync_bg_secondary_color" />
<solid android:color="@color/container_background" />

<stroke android:width="1dp" android:color="@android:color/transparent" />
<stroke android:width="1dp" android:color="@color/divider_subtle" />

<corners android:radius="15dp"/>

Expand Down
Binary file added android/java/res/font/roboto_mono_regular.ttf
Binary file not shown.
4 changes: 2 additions & 2 deletions android/java/res/layout/brave_sync_add_laptop.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
android:gravity="start|top"
android:textSize="18sp"
android:background="@drawable/brave_sync_top_rounded"
android:paddingStart="15dip"
android:paddingEnd="15dip" />
android:padding="16dip"
android:fontFamily="@font/roboto_mono_regular" />
</FrameLayout>

<androidx.fragment.app.FragmentContainerView
Expand Down
1 change: 1 addition & 0 deletions android/java/res/values/brave_colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
<color name="systemfeedback_info_icon">#0061aa</color>
<color name="systemfeedback_info_text">#0061aa</color>
<color name="text_interactive">#3f39e8</color>
<color name="container_background">#ffffff</color>

<!-- Sync colors -->
<color name="brave_sync_bg_color">@android:color/transparent</color>
Expand Down

0 comments on commit 5558416

Please sign in to comment.