Merge branch 'feature/frontend_refactor' of https://code.gab.com/gab/social/gab-social into feature/frontend_refactor

This commit is contained in:
mgabdev 2020-05-12 13:05:51 -04:00
commit 79f310e844
3 changed files with 3 additions and 12 deletions

View File

@ -6,6 +6,7 @@ function padLeft(str, num) {
} }
exports.unicodeToUnifiedName = (str) => { exports.unicodeToUnifiedName = (str) => {
if (!str) return '';
let output = ''; let output = '';
for (let i = 0; i < str.length; i += 2) { for (let i = 0; i < str.length; i += 2) {
if (i > 0) { if (i > 0) {

View File

@ -1,5 +1,4 @@
:root { :root {
--color_highlight: #CCF3DF;
--color_brand-dark: #378e61; --color_brand-dark: #378e61;
--color_brand-light: #63DA9D; --color_brand-light: #63DA9D;
--color_brand-light-opaque: rgb(54, 233, 145, .125); --color_brand-light-opaque: rgb(54, 233, 145, .125);
@ -95,14 +94,6 @@
--navigation_brand: var(--color_brand) !important; --navigation_brand: var(--color_brand) !important;
} }
::selection {
background: var(--color_highlight);
}
::-moz-selection {
background: var(--color_highlight);
}
html, html,
body { body {
height: 100%; height: 100%;
@ -678,7 +669,7 @@ body {
.mb5 { margin-bottom: 5px; } .mb5 { margin-bottom: 5px; }
.mbNeg5PX { margin-bottom: -5px; } .mbNeg5PX { margin-bottom: -5px; }
.mt15 { margin-top: 10px; } .mt15 { margin-top: 15px; }
.mt10 { margin-top: 10px; } .mt10 { margin-top: 10px; }
.mt5 { margin-top: 5px; } .mt5 { margin-top: 5px; }
.mt2 { margin-top: 2px; } .mt2 { margin-top: 2px; }

View File

@ -81,8 +81,7 @@ module.exports = merge(sharedConfig, {
], ],
}, },
externals: [ externals: [
'/emoji/1f602.svg', // used for emoji picker dropdown '/emoji/sheet.png', // used in emoji-mart
'/emoji/sheet_10.png', // used in emoji-mart
], ],
excludes: [ excludes: [
'**/*.gz', '**/*.gz',