diff --git a/app/javascript/gabsocial/assets/loading_icon.js b/app/javascript/gabsocial/assets/loading_icon.js index 4f0b9eda..5b403151 100644 --- a/app/javascript/gabsocial/assets/loading_icon.js +++ b/app/javascript/gabsocial/assets/loading_icon.js @@ -13,7 +13,7 @@ const LoadingIcon = ({ > - + @@ -21,7 +21,7 @@ const LoadingIcon = ({ - + @@ -29,7 +29,7 @@ const LoadingIcon = ({ - + @@ -37,7 +37,7 @@ const LoadingIcon = ({ - + @@ -45,7 +45,7 @@ const LoadingIcon = ({ - + @@ -53,7 +53,7 @@ const LoadingIcon = ({ - + @@ -61,7 +61,7 @@ const LoadingIcon = ({ - + @@ -69,7 +69,7 @@ const LoadingIcon = ({ - + diff --git a/app/javascript/gabsocial/base_polyfills.js b/app/javascript/gabsocial/base_polyfills.js index d54ed977..b2780077 100644 --- a/app/javascript/gabsocial/base_polyfills.js +++ b/app/javascript/gabsocial/base_polyfills.js @@ -8,6 +8,9 @@ import assign from 'object-assign'; import values from 'object.values'; import isNaN from 'is-nan'; import { decode as decodeBase64 } from './utils/base64'; +import cssVars from 'css-vars-ponyfill'; + +cssVars() if (!Array.prototype.includes) { includes.shim(); diff --git a/app/javascript/gabsocial/components/account.js b/app/javascript/gabsocial/components/account.js index 3399b680..85f3cd7d 100644 --- a/app/javascript/gabsocial/components/account.js +++ b/app/javascript/gabsocial/components/account.js @@ -151,7 +151,7 @@ class Account extends ImmutablePureComponent { ) return ( -
+
-
+
diff --git a/app/javascript/gabsocial/components/display_name.js b/app/javascript/gabsocial/components/display_name.js index b56cba41..18c37d04 100644 --- a/app/javascript/gabsocial/components/display_name.js +++ b/app/javascript/gabsocial/components/display_name.js @@ -180,7 +180,7 @@ class DisplayName extends ImmutablePureComponent { size='extraSmall' isBadge color='tertiary' - className={[_s.backgroundSubtle2, _s.py2].join(' ')} + className={[_s.backgroundColorSubtle2, _s.py2].join(' ')} > {relationshipLabel} diff --git a/app/javascript/gabsocial/components/divider.js b/app/javascript/gabsocial/components/divider.js index 0d48090c..7af4fce2 100644 --- a/app/javascript/gabsocial/components/divider.js +++ b/app/javascript/gabsocial/components/divider.js @@ -21,7 +21,7 @@ export default class Divider extends PureComponent { const classes = cx({ default: 1, borderBottom1PX: !isInvisible, - borderColorSecondary2: !isInvisible, + borderColorSecondary: !isInvisible, width100PC: 1, mb15: !isSmall, my10: isSmall || isInvisible, diff --git a/app/javascript/gabsocial/components/group_collection_item.js b/app/javascript/gabsocial/components/group_collection_item.js index a9c7ff12..f86dd34a 100644 --- a/app/javascript/gabsocial/components/group_collection_item.js +++ b/app/javascript/gabsocial/components/group_collection_item.js @@ -60,13 +60,14 @@ class GroupCollectionItem extends ImmutablePureComponent { noUnderline: 1, overflowHidden: 1, borderColorSecondary: 1, + boxShadowBlock: 1, radiusSmall: 1, - border1PX: 1, + borderTop1PX: 1, mb10: 1, ml5: 1, mr5: 1, backgroundColorPrimary: 1, - backgroundSubtle_onHover: isMember, + backgroundColorSubtle_onHover: isMember, }) return ( @@ -86,7 +87,7 @@ class GroupCollectionItem extends ImmutablePureComponent { { !coverSrc && (isMember || isAdmin) && -
+
} { @@ -122,7 +123,7 @@ class GroupCollectionItem extends ImmutablePureComponent { {group.get('title')} -
+
{shortNumberFormat(group.get('member_count'))}   diff --git a/app/javascript/gabsocial/components/group_list_item.js b/app/javascript/gabsocial/components/group_list_item.js index eb5f6f3a..77d779a3 100644 --- a/app/javascript/gabsocial/components/group_list_item.js +++ b/app/javascript/gabsocial/components/group_list_item.js @@ -57,7 +57,7 @@ class GroupListItem extends ImmutablePureComponent { default: 1, noUnderline: 1, overflowHidden: 1, - backgroundSubtle_onHover: 1, + backgroundColorSubtle_onHover: 1, borderColorSecondary: 1, radiusSmall: !slim, mt5: !slim, diff --git a/app/javascript/gabsocial/components/hashtag_item.js b/app/javascript/gabsocial/components/hashtag_item.js index 622d2733..21811a86 100644 --- a/app/javascript/gabsocial/components/hashtag_item.js +++ b/app/javascript/gabsocial/components/hashtag_item.js @@ -23,7 +23,7 @@ export default class HashtagItem extends ImmutablePureComponent { return (
diff --git a/app/javascript/gabsocial/components/image.js b/app/javascript/gabsocial/components/image.js index b5816d5b..ce109dd1 100644 --- a/app/javascript/gabsocial/components/image.js +++ b/app/javascript/gabsocial/components/image.js @@ -50,7 +50,7 @@ export default class Image extends PureComponent { const classes = cx(className, { default: 1, objectFitCover: !!src && fit === 'cover', - backgroundSubtle2: 1, + backgroundColorSubtle2: 1, }) //If error and not our own image diff --git a/app/javascript/gabsocial/components/input.js b/app/javascript/gabsocial/components/input.js index b574ca8a..7af3b122 100644 --- a/app/javascript/gabsocial/components/input.js +++ b/app/javascript/gabsocial/components/input.js @@ -54,7 +54,7 @@ export default class Input extends PureComponent { py10: !small, py5: small, backgroundTransparent: !readOnly, - backgroundSubtle2: readOnly, + backgroundColorSubtle2: readOnly, colorSecondary: readOnly, fontSize15PX: !small, fontSize13PX: small, @@ -91,7 +91,7 @@ export default class Input extends PureComponent {
{ !!prependIcon && - + } {linkFooterItem.text} diff --git a/app/javascript/gabsocial/components/list_item.js b/app/javascript/gabsocial/components/list_item.js index abc41bbb..fd38d862 100644 --- a/app/javascript/gabsocial/components/list_item.js +++ b/app/javascript/gabsocial/components/list_item.js @@ -45,7 +45,7 @@ export default class ListItem extends PureComponent { flexRow: 1, alignItemsCenter: 1, width100PC: 1, - backgroundSubtle_onHover: 1, + backgroundColorSubtle_onHover: 1, borderColorSecondary: !isLast, borderBottom1PX: !isLast, }) @@ -53,7 +53,7 @@ export default class ListItem extends PureComponent { const iconClasses = cx({ mr10: !large, mr15: large, - fillColorBlack: 1, + fillColorPrimary: 1, }) const textSize = small ? 'small' : large ? 'medium' : 'normal' diff --git a/app/javascript/gabsocial/components/media_gallery.js b/app/javascript/gabsocial/components/media_gallery.js index aed09ea5..ab49fd67 100644 --- a/app/javascript/gabsocial/components/media_gallery.js +++ b/app/javascript/gabsocial/components/media_gallery.js @@ -216,7 +216,7 @@ class Item extends ImmutablePureComponent { playsInline /> -
+
GIF
diff --git a/app/javascript/gabsocial/components/media_item.js b/app/javascript/gabsocial/components/media_item.js index 1d253091..dd195742 100644 --- a/app/javascript/gabsocial/components/media_item.js +++ b/app/javascript/gabsocial/components/media_item.js @@ -91,8 +91,8 @@ export default class MediaItem extends ImmutablePureComponent { height100PC: 1, overflowHidden: 1, border1PX: 1, - borderColorSecondary: !small, - borderColorWhite: small, + borderColorPrimary: !small, + borderColorPrimary: small, }) return ( @@ -137,7 +137,7 @@ export default class MediaItem extends ImmutablePureComponent { { !!badge && -
+
{badge} diff --git a/app/javascript/gabsocial/components/modal/embed_modal.js b/app/javascript/gabsocial/components/modal/embed_modal.js index af75a4d3..d6571a00 100644 --- a/app/javascript/gabsocial/components/modal/embed_modal.js +++ b/app/javascript/gabsocial/components/modal/embed_modal.js @@ -89,7 +89,7 @@ class EmbedModal extends ImmutablePureComponent { {intl.formatMessage(messages.preview)} -
+