89 lines
3.3 KiB
JavaScript
89 lines
3.3 KiB
JavaScript
import classNames from 'classnames/bind'
|
|
export const CX = classNames.bind(_s)
|
|
|
|
export const APP_NAME = 'Gab Social'
|
|
|
|
export const DEFAULT_REL = 'noopener noreferrer'
|
|
|
|
export const BREAKPOINT_EXTRA_LARGE = 1480
|
|
export const BREAKPOINT_LARGE = 1280
|
|
export const BREAKPOINT_MEDIUM = 1160
|
|
export const BREAKPOINT_SMALL = 1080
|
|
export const BREAKPOINT_EXTRA_SMALL = 992
|
|
|
|
export const ALLOWED_AROUND_SHORT_CODE = '><\u0085\u0020\u00a0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\u0009\u000a\u000b\u000c\u000d'
|
|
export const MAX_POST_CHARACTER_COUNT = 3000
|
|
|
|
export const URL_DISSENTER_SHOP = 'https://shop.dissenter.com'
|
|
|
|
export const PLACEHOLDER_MISSING_HEADER_SRC = '/original/missing.png'
|
|
|
|
export const POPOVER_CONTENT_WARNING = 'CONTENT_WARNING'
|
|
export const POPOVER_DATE_PICKER = 'DATE_PICKER'
|
|
export const POPOVER_EMOJI_PICKER = 'EMOJI_PICKER'
|
|
export const POPOVER_GROUP_INFO = 'GROUP_INFO'
|
|
export const POPOVER_PROFILE_OPTIONS = 'PROFILE_OPTIONS'
|
|
export const POPOVER_REPOST_OPTIONS = 'REPOST_OPTIONS'
|
|
export const POPOVER_SEARCH = 'SEARCH'
|
|
export const POPOVER_SIDEBAR_MORE = 'SIDEBAR_MORE'
|
|
export const POPOVER_STATUS_OPTIONS = 'STATUS_OPTIONS'
|
|
export const POPOVER_STATUS_SHARE = 'STATUS_SHARE'
|
|
export const POPOVER_STATUS_VISIBILITY = 'STATUS_VISIBILITY'
|
|
export const POPOVER_USER_INFO = 'USER_INFO'
|
|
|
|
export const MODAL_ACTIONS = 'ACTIONS'
|
|
export const MODAL_BLOCK_ACCOUNT = 'BLOCK_ACCOUNT'
|
|
export const MODAL_BLOCK_DOMAIN = 'BLOCK_DOMAIN'
|
|
export const MODAL_BOOST = 'BOOST'
|
|
export const MODAL_COMMUNITY_TIMELINE_SETTINGS = 'COMMUNITY_TIMELINE_SETTINGS'
|
|
export const MODAL_COMPOSE = 'COMPOSE'
|
|
export const MODAL_CONFIRM = 'CONFIRM'
|
|
export const MODAL_DISPLAY_OPTIONS = 'DISPLAY_OPTIONS'
|
|
export const MODAL_EDIT_PROFILE = 'EDIT_PROFILE'
|
|
export const MODAL_EMBED = 'EMBED'
|
|
export const MODAL_GIF_PICKER = 'GIF_PICKER'
|
|
export const MODAL_GROUP_CREATE = 'GROUP_CREATE'
|
|
export const MODAL_GROUP_DELETE = 'GROUP_DELETE'
|
|
export const MODAL_GROUP_EDITOR = 'GROUP_EDITOR'
|
|
export const MODAL_HASHTAG_TIMELINE_SETTINGS = 'HASHTAG_TIMELINE_SETTINGS'
|
|
export const MODAL_HOME_TIMELINE_SETTINGS = 'HOME_TIMELINE_SETTINGS'
|
|
export const MODAL_HOTKEYS = 'HOTKEYS'
|
|
export const MODAL_LIST_CREATE = 'LIST_CREATE'
|
|
export const MODAL_LIST_DELETE = 'LIST_DELETE'
|
|
export const MODAL_LIST_EDITOR = 'LIST_EDITOR'
|
|
export const MODAL_LIST_TIMELINE_SETTINGS = 'LIST_TIMELINE_SETTINGS'
|
|
export const MODAL_MEDIA = 'MEDIA'
|
|
export const MODAL_MUTE = 'MUTE'
|
|
export const MODAL_PRO_UPGRADE = 'PRO_UPGRADE'
|
|
export const MODAL_REPORT = 'REPORT'
|
|
export const MODAL_STATUS_LIKES = 'STATUS_LIKES'
|
|
export const MODAL_STATUS_REPOSTS = 'STATUS_REPOSTS'
|
|
export const MODAL_STATUS_REVISIONS = 'STATUS_REVISIONS'
|
|
export const MODAL_UNAUTHORIZED = 'UNAUTHORIZED'
|
|
export const MODAL_UNFOLLOW = 'UNFOLLOW'
|
|
export const MODAL_VIDEO = 'VIDEO'
|
|
|
|
export const FONT_SIZES_EXTRA_SMALL = '12px'
|
|
export const FONT_SIZES_SMALL = '13px'
|
|
export const FONT_SIZES_NORMAL = '14px'
|
|
export const FONT_SIZES_MEDIUM = '15px'
|
|
export const FONT_SIZES_LARGE = '16px'
|
|
export const FONT_SIZES_EXTRA_LARGE = '17px'
|
|
|
|
export const FONT_SIZES = {
|
|
'extra-small': '12px',
|
|
small: '13px',
|
|
normal: '14px',
|
|
medium: '15px',
|
|
large: '16px',
|
|
'extra-large': '17px',
|
|
}
|
|
|
|
export const THEMES = [
|
|
'light',
|
|
'muted',
|
|
'black',
|
|
]
|
|
|
|
export const DEFAULT_THEME = 'light'
|
|
export const DEFAULT_FONT_SIZE = 'normal' |