Skip to content

Commit

Permalink
feat: readd favorite_selected and bookmark_selected attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasGGamerM committed Aug 20, 2023
1 parent 8c321c4 commit 3b3d98d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 19 deletions.
3 changes: 3 additions & 0 deletions mastodon/src/main/res/values/attrs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@
<attr name="colorNeutral800" format="color" />
<attr name="colorNeutral900" format="color" />

<attr name="bookmark_selected" format="color" />
<attr name="favorite_selected" format="color" />

<declare-styleable name="MaxWidthFrameLayout">
<attr name="android:maxWidth" format="dimension"/>
<attr name="defaultWidth" format="dimension" />
Expand Down
18 changes: 9 additions & 9 deletions mastodon/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<color name="gray_600">#403b45</color>
<color name="gray_500">#5b565f</color>

<color name="gray_400t">#4d9998b3</color>
<!-- <color name="gray_400t">#4d9998b3</color>-->
<color name="gray_400">#9998b3</color>
<color name="gray_300">#d1d1de</color>
<color name="gray_200">#e6e6ed</color>
Expand Down Expand Up @@ -243,7 +243,7 @@
<color name="brownish_gray_600">#3b373a</color>
<color name="brownish_gray_500">#625d60</color>

<color name="green_gray_400t">#4Da2b095</color>
<!-- <color name="green_gray_400t">#4Da2b095</color>-->
<color name="green_gray_400">#a2b095</color>
<color name="green_gray_300">#bdcbaf</color>
<color name="green_gray_200">#d9e7ca</color>
Expand All @@ -264,7 +264,7 @@
<color name="blue_primary_800">#003354</color>
<color name="blue_primary_900">#001d33</color>

<color name="blue_gray_400t">#4d9998b3</color>
<!-- <color name="blue_gray_400t">#4d9998b3</color>-->
<color name="blue_gray_400">#9eadbe</color>
<color name="blue_gray_300">#b9c8da</color>
<color name="blue_gray_200">#d5e4f7</color>
Expand All @@ -285,7 +285,7 @@
<color name="brown_primary_800">#482900</color>
<color name="brown_primary_900">#2b1700</color>

<color name="brown_gray_400t">#4dc3a689</color>
<!-- <color name="brown_gray_400t">#4dc3a689</color>-->
<color name="brown_gray_400">#c3a689</color>
<color name="brown_gray_300">#e0c1a3</color>
<color name="brown_gray_200">#feddbd</color>
Expand All @@ -306,7 +306,7 @@
<color name="yellow_primary_800">#3c2f00</color>
<color name="yellow_primary_900">#231b00</color>

<color name="yellow_gray_400t">#4db8aa87</color>
<!-- <color name="yellow_gray_400t">#4db8aa87</color>-->
<color name="yellow_gray_400">#b8aa87</color>
<color name="yellow_gray_300">#d4c5a1</color>
<color name="yellow_gray_200">#f1e1bb</color>
Expand All @@ -327,7 +327,7 @@
<color name="red_primary_800">#912018</color>
<color name="red_primary_900">#7A271A</color>

<color name="red_gray_400t">#4dd69f84</color>
<!-- <color name="red_gray_400t">#4dd69f84</color>-->
<color name="red_gray_400">#d69f84</color>
<color name="red_gray_300">#f4ba9e</color>
<color name="red_gray_200">#ffdbcb</color>
Expand All @@ -349,7 +349,7 @@
<color name="nord_primary_900">#2e3440</color>

<color name="nord_gray_900">#3B4252</color>
<color name="nord_gray_800t">#cc2D343F</color>
<!-- <color name="nord_gray_800t">#cc2D343F</color>-->
<color name="nord_gray_800">#2D343F</color>
<color name="nord_gray_700">#3A4250</color>
<color name="nord_gray_600">#404C5C</color>
Expand All @@ -358,7 +358,7 @@
<color name="nord_favorite_selected">#ebcb8b</color>
<color name="nord_bookmark_selected">#a3be8c</color>

<color name="nord_gray_400t">#4d8C96B4</color>
<!-- <color name="nord_gray_400t">#4d8C96B4</color>-->
<color name="nord_gray_400">#8C96B4</color>
<color name="nord_gray_300">#c5c6d0</color>
<color name="nord_gray_200">#D5DCE6</color>
Expand All @@ -385,7 +385,7 @@
<color name="white_gray_200">#CCCCCC</color>
<color name="white_gray_300">#BFBFBF</color>
<color name="white_gray_400">#B3B3B3</color>
<color name="white_gray_400t">#4dB3B3B3</color>
<!-- <color name="white_gray_400t">#4dB3B3B3</color>-->
<color name="white_gray_500">#595959</color>
<color name="white_gray_600">#404040</color>
<color name="white_gray_700">#262626</color>
Expand Down
20 changes: 10 additions & 10 deletions mastodon/src/main/res/values/palettes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<item name="colorGray700">@color/gray_700</item>
<item name="colorGray600">@color/gray_600</item>
<item name="colorGray500">@color/gray_500</item>
<item name="colorGray400t">@color/gray_400t</item>
<!-- <item name="colorGray400t">@color/gray_400t</item>-->
<item name="colorGray400">@color/gray_400</item>
<item name="colorGray300">@color/gray_300</item>
<item name="colorGray200">@color/gray_200</item>
Expand Down Expand Up @@ -316,7 +316,7 @@
<item name="colorGray600">@color/brownish_gray_600</item>
<item name="colorGray500">@color/brownish_gray_500</item>

<item name="colorGray400t">@color/green_gray_400t</item>
<!-- <item name="colorGray400t">@color/green_gray_400t</item>-->
<item name="colorGray400">@color/green_gray_400</item>
<item name="colorGray300">@color/green_gray_300</item>
<item name="colorGray200">@color/green_gray_200</item>
Expand All @@ -339,7 +339,7 @@
<item name="colorPrimary800">@color/blue_primary_800</item>
<item name="colorPrimary900">@color/blue_primary_900</item>

<item name="colorGray400t">@color/green_gray_400t</item>
<!-- <item name="colorGray400t">@color/green_gray_400t</item>-->
<item name="colorGray400">@color/blue_gray_400</item>
<item name="colorGray300">@color/blue_gray_300</item>
<item name="colorGray200">@color/blue_gray_200</item>
Expand Down Expand Up @@ -368,7 +368,7 @@
<item name="colorGray600">@color/brownish_gray_600</item>
<item name="colorGray500">@color/brownish_gray_500</item>

<item name="colorGray400t">@color/brown_gray_400t</item>
<!-- <item name="colorGray400t">@color/brown_gray_400t</item>-->
<item name="colorGray400">@color/brown_gray_400</item>
<item name="colorGray300">@color/brown_gray_300</item>
<item name="colorGray200">@color/brown_gray_200</item>
Expand Down Expand Up @@ -397,7 +397,7 @@
<item name="colorGray600">@color/brownish_gray_600</item>
<item name="colorGray500">@color/brownish_gray_500</item>

<item name="colorGray400t">@color/yellow_gray_400t</item>
<!-- <item name="colorGray400t">@color/yellow_gray_400t</item>-->
<item name="colorGray400">@color/yellow_gray_400</item>
<item name="colorGray300">@color/yellow_gray_300</item>
<item name="colorGray200">@color/yellow_gray_200</item>
Expand Down Expand Up @@ -427,7 +427,7 @@
<item name="colorGray600">@color/brownish_gray_600</item>
<item name="colorGray500">@color/brownish_gray_500</item>

<item name="colorGray400t">@color/red_gray_400t</item>
<!-- <item name="colorGray400t">@color/red_gray_400t</item>-->
<item name="colorGray400">@color/red_gray_400</item>
<item name="colorGray300">@color/red_gray_300</item>
<item name="colorGray200">@color/red_gray_200</item>
Expand All @@ -454,13 +454,13 @@
<item name="favorite_selected">@color/nord_favorite_selected</item>

<item name="colorGray900">@color/nord_gray_900</item>
<item name="colorGray800t">@color/nord_gray_800t</item>
<!-- <item name="colorGray800t">@color/nord_gray_800t</item>-->
<item name="colorGray800">@color/nord_gray_800</item>
<item name="colorGray700">@color/nord_gray_700</item>
<item name="colorGray600">@color/nord_gray_600</item>
<item name="colorGray500">@color/nord_gray_500</item>

<item name="colorGray400t">@color/nord_gray_400t</item>
<!-- <item name="colorGray400t">@color/nord_gray_400t</item>-->
<item name="colorGray400">@color/nord_gray_400</item>
<item name="colorGray300">@color/nord_gray_300</item>
<item name="colorGray200">@color/nord_gray_200</item>
Expand All @@ -484,13 +484,13 @@
<item name="colorPrimary900">@color/white_primary_900</item>

<item name="colorGray900">@color/white_gray_900</item>
<item name="colorGray800t">@color/white_gray_800</item>
<!-- <item name="colorGray800t">@color/white_gray_800</item>-->
<item name="colorGray800">@color/white_gray_800</item>
<item name="colorGray700">@color/white_gray_700</item>
<item name="colorGray600">@color/white_gray_600</item>
<item name="colorGray500">@color/white_gray_500</item>

<item name="colorGray400t">@color/white_gray_400t</item>
<!-- <item name="colorGray400t">@color/white_gray_400t</item>-->
<item name="colorGray400">@color/white_gray_400</item>
<item name="colorGray300">@color/white_gray_300</item>
<item name="colorGray200">@color/white_gray_200</item>
Expand Down

0 comments on commit 3b3d98d

Please sign in to comment.