diff --git a/common-ui/src/main/java/com/duckduckgo/mobile/android/ui/view/text/DaxTextView.kt b/common-ui/src/main/java/com/duckduckgo/mobile/android/ui/view/text/DaxTextView.kt index 3d30afc4d1ed..6fc88a23ef77 100644 --- a/common-ui/src/main/java/com/duckduckgo/mobile/android/ui/view/text/DaxTextView.kt +++ b/common-ui/src/main/java/com/duckduckgo/mobile/android/ui/view/text/DaxTextView.kt @@ -88,9 +88,13 @@ constructor( H4, H5, Body1, + Body1Bold, Body2, + Body2Bold, Button, Caption, + CaptionAllCaps, + ; companion object { @@ -104,9 +108,12 @@ constructor( 4 -> H4 5 -> H5 6 -> Body1 - 7 -> Body2 - 8 -> Button - 9 -> Caption + 7 -> Body1Bold + 8 -> Body2 + 9 -> Body2Bold + 10 -> Button + 11 -> Caption + 12 -> CaptionAllCaps else -> Body1 } } @@ -120,9 +127,12 @@ constructor( H4 -> R.style.Typography_DuckDuckGo_H4 H5 -> R.style.Typography_DuckDuckGo_H5 Body1 -> R.style.Typography_DuckDuckGo_Body1 + Body1Bold -> R.style.Typography_DuckDuckGo_Body1_Bold Body2 -> R.style.Typography_DuckDuckGo_Body2 + Body2Bold -> R.style.Typography_DuckDuckGo_Body2_Bold Button -> R.style.Typography_DuckDuckGo_Button Caption -> R.style.Typography_DuckDuckGo_Caption + CaptionAllCaps -> R.style.Typography_DuckDuckGo_Caption_AllCaps } } } diff --git a/common-ui/src/main/res/layout/fragment_components_typography.xml b/common-ui/src/main/res/layout/fragment_components_typography.xml index 60d93ac4b0e3..ff5479766d33 100644 --- a/common-ui/src/main/res/layout/fragment_components_typography.xml +++ b/common-ui/src/main/res/layout/fragment_components_typography.xml @@ -45,6 +45,16 @@ android:text="Text Appearance Title" tools:ignore="HardcodedText"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + + diff --git a/common-ui/src/main/res/values/design-system-dimensions.xml b/common-ui/src/main/res/values/design-system-dimensions.xml index bcc0142252d1..dbbdd9765cd8 100644 --- a/common-ui/src/main/res/values/design-system-dimensions.xml +++ b/common-ui/src/main/res/values/design-system-dimensions.xml @@ -99,5 +99,4 @@ 22dp 9dp - \ No newline at end of file diff --git a/common-ui/src/main/res/values/design-system-theming.xml b/common-ui/src/main/res/values/design-system-theming.xml index 13194f11254e..22ad2edc60f6 100644 --- a/common-ui/src/main/res/values/design-system-theming.xml +++ b/common-ui/src/main/res/values/design-system-theming.xml @@ -133,7 +133,6 @@ ?attr/daxColorRipple - @color/black60 @color/white diff --git a/common-ui/src/main/res/values/design-system-typograhy.xml b/common-ui/src/main/res/values/design-system-typograhy.xml index 0b7670a2019a..de497595caaa 100644 --- a/common-ui/src/main/res/values/design-system-typograhy.xml +++ b/common-ui/src/main/res/values/design-system-typograhy.xml @@ -14,7 +14,8 @@ ~ limitations under the License. --> - + + + \ No newline at end of file