diff --git a/labscore/constants.js b/labscore/constants.js index 72bd2ec..2e37c92 100644 --- a/labscore/constants.js +++ b/labscore/constants.js @@ -36,7 +36,7 @@ module.exports.COLORS = Object.freeze({ error: 16404060, success: 8191849, warning: 15708731, - embed: 3618622, + embed: 2368553, brand: 65381, nsfw: 15159978, incognito: 10057726, @@ -84,10 +84,8 @@ module.exports.BADGE_ICONS = Object.freeze({ "staff": "<:b:1263605715688231035>" }) -// nextgen icons +// labscore_nxt/nextgen icons module.exports.ICONS_NEXTGEN = Object.freeze({ - // TODO: mini icons - "button_mag": "<:ico_button_mag:1271212564122173552>", "button_thermometer": "<:ico_button_thermometer:1263593823016062987>", "button_trash": "<:ico_button_trash:1271212355883372716>", @@ -97,8 +95,7 @@ module.exports.ICONS_NEXTGEN = Object.freeze({ "button_chevron_left": "<:button_chevron_left:1263594121256374413>", "button_chevron_right": "<:button_chevron_right:1263594132023279669>", - "open_in_new": "<:nextgen_ico_open_in_new:1336075848528429086>", - "open_in_new_alt": "<:nextgen_ico_open_in_new_alt:1336075859181965322>", + "open_in_new": "<:nxt_ico_open_in_new:1363577624252649675>", "button_full_coverage": "<:ico_full_coverage:1341535912017793045>", "button_wolfram_compute": "<:ico_wolfram_compute:1342276477269577758>", @@ -106,120 +103,113 @@ module.exports.ICONS_NEXTGEN = Object.freeze({ "gs_auto_awesome": "<:ico_gs_auto_awesome:1352186988416995380>", /* Brands */ - "brand": "<:nextgen_ico_brand:1336064940670193780>", - "brand_discord": "<:nextgen_ico_brand_discord:1336064953727320256>", - "brand_gitlab": "<:nextgen_ico_brand_gitlab:1336065428182794331>", - "brand_google": "<:nextgen_ico_brand_google:1336065438647582792>", + "brand": "<:nxt_ico_brand:1363557610573533365>", + "brand_gray": "<:nxt_ico_brand_gray:1363557640617329001>", + "brand_discord": "<:nxt_ico_discord:1363557748951748668>", + "brand_gitlab": "<:nxt_ico_brand_gitlab:1363557620404850791>", + "brand_google": "<:nxt_ico_brand_google:1363557630156476446>", /* Icon Toolkit */ - "analytics": "<:nextgen_ico_analytics:1336064796969406565>", - "ai_writing": "<:nextgen_ico_ai_writing:1336064782364835870>", - "book_search": "<:nextgen_ico_book_search:1336064929442037945>", - "calendar": "<:nextgen_ico_calendar:1336065448017662012>", - "clock": "<:nextgen_ico_clock:1336065457366634496>", - "example": "<:nextgen_ico_example:1336065514170093608>", - "flag": "<:nextgen_ico_flag:1336065578443477164>", - "hashmark": "<:nextgen_ico_hashmark:1336065601319469096>", - "hashmark_alt": "<:nextgen_ico_hashmark_alt:1336065610727030916>", - "hashmark_alt_warning": "<:nextgen_ico_hashmark_alt_warning:1336065621464580216>", - "home": "<:nextgen_ico_home:1336065630721282099>", - "home_alt": "<:nextgen_ico_home_alt:1336065639831441518>", - "image": "<:nextgen_ico_image:1336065650606608465>", - "image_stack": "<:nextgen_ico_image_stack:1336065659611910306>", - "latency": "<:nextgen_ico_latency:1336065677827510302>", - "list": "<:nextgen_ico_list:1336065701101703209>", - "mag": "<:nextgen_ico_mag:1336065732777218118>", - "metrics": "<:nextgen_ico_metrics:1336065764209328222>", - "music": "<:nextgen_ico_music:1336065788771041300>", - "newspaper": "<:nextgen_ico_newspaper:1336065797776212039>", - "padlock": "<:nextgen_ico_lock:1336065722123681865>", - "pencil": "<:nextgen_ico_pencil_v2:1336423182659489793>", - "planet": "<:nextgen_ico_planet:1336065816319229962>", - "privacy_policy": "<:nextgen_ico_privacy_policy:1336065826691748012>", - "qr": "<:nextgen_ico_qr:1336065836674191380>", - "robot": "<:nextgen_ico_robot:1336065881691914270>", - "rocket": "<:nextgen_ico_rocket:1336065891078766602>", - "search": "<:nextgen_ico_mag_circle:1336065745200611422>", - "settings": "<:nextgen_ico_settings:1336065903279865946>", - "shapes": "<:nextgen_ico_apps:1336064807459360770>", - "shield": "<:nextgen_ico_shield:1336065915330232463>", - "sparkles": "<:nextgen_ico_sparkles:1336065946892242995>", - "tools": "<:nextgen_ico_tools:1336066112244154520>", - "visible": "<:nextgen_ico_visibility:1336066193710125147>", + "analytics": "<:nxt_ico_analytics:1363556442103218358>", + "calendar": "<:nxt_ico_calendar:1363557651224461402>", + "clock": "<:nxt_ico_clock:1363557682853974188>", + "connection": "<:nxt_ico_connection:1363557703594672148>", + "connection_warning": "<:nxt_ico_connection_warning:1363557714747457556>", + "flag": "<:nxt_ico_flag:1363558782726049792>", + "hashmark": "<:nxt_ico_hashmark:1363557659977977978>", + "hashmark_alt_warning": "<:nxt_ico_hashmask_warning:1363557670782632106>", + "home": "<:nxt_ico_home:1363558803324276968>", + "image": "<:nxt_ico_image:1363558822907613215>", + "image_stack": "<:nxt_ico_image_stack:1363558834043617370>", + "list_stack": "<:nxt_ico_list_stack:1363558867698712748>", + "newspaper": "<:nxt_ico_newspaper:1363559949950517518>", + "note": "<:nxt_ico_note:1363559965603926116>", + "padlock": "<:nxt_ico_lock:1363558889592721658>", + "pencil": "<:nxt_ico_pencil:1363559974189662279>", + "pencil_note": "<:nxt_ico_pencil_note:1363559984801124502>", + "planet": "<:nxt_ico_planet:1363559994729168906>", + "privacy_policy": "<:nxt_ico_privacy_policy:1363560893459464392>", + "qr": "<:nxt_ico_qr:1363560903894634557>", + "robot": "<:nxt_ico_robot:1363560971263541520>", + "rocket": "<:nxt_ico_rocket:1363573889359151275>", + "search": "<:nxt_ico_search:1363573898125381882>", + "search_square": "<:nxt_ico_search_square:1363573906505465986>", + "settings": "<:nxt_ico_settings:1363573916081197096>", + "shield": "<:nxt_ico_shield:1363573923177955470>", + "sparkles": "<:nxt_ico_sparkles:1363573949535096963>", + "tools": "<:nxt_ico_tools:1363574671227883591>", /* Discord */ - "discord_boost": "<:nextgen_ico_disc_boost:1336065466744963122>", - "discord_nitro": "<:nextgen_ico_disc_nitro:1336065475880419389>", - "discord_status_offline": "<:nextgen_ico_disc_status_offline:1336065484734337044>", - "discord_status_online": "<:nextgen_ico_disc_status_online:1336065494112800880>", + "discord_boost": "<:nxt_ico_boost:1363556530670272602>", + "discord_nitro": "<:nxt_ico_nitro:1363559957483749487>", + "discord_status_offline": "<:nxt_ico_disc_status_offline:1363557729855082697>", + "discord_status_online": "<:nxt_ico_disc_status_online:1363557739527409794>", - "attachment": "<:nextgen_ico_attachment_image:1336064891928444940>", - "attachment_file": "<:nextgen_ico_attachment_file:1336064865206272026>", - "emoji": "<:nextgen_ico_emoji_v2:1336422444935938131>", - "forward": "<:nextgen_ico_forward:1336065589910700032>", - "id": "<:nextgen_ico_id:1336075182984532009>", - "link": "<:nextgen_ico_link:1336065688225447976>", - "locale": "<:nextgen_ico_locale:1336065711323222119>", - "message": "<:nextgen_ico_message:1336065755287916546>", - "reply": "<:nextgen_ico_reply:1336065869662650368>", - "slash": "<:nextgen_ico_slash:1336065926575030312>", - "sticker": "<:nextgen_ico_sticker:1336066077129576569>", + "attachment": "<:nxt_ico_attachment_image:1363556507811184780>", + "attachment_file": "<:nxt_ico_attachment_file:1363556499162534049>", + "emoji": "<:nxt_ico_emoji:1363557759701876937>", + "forward": "<:nxt_ico_forward:1363558792746369045>", + "id": "<:nxt_ico_id:1363558813055189073>", + "link": "<:nxt_ico_link:1363558856776486982>", + "locale": "<:nxt_ico_locale:1363558878872080414>", + "message": "<:nxt_ico_message:1363559929524261074>", + "reply": "<:nxt_ico_reply:1363560954725535845>", + "slash": "<:nxt_ico_slash:1363573933567377448>", + "sticker": "<:nxt_ico_sticker:1363574636343853167>", - "at": "<:nextgen_ico_at:1336064854263464041>", - "audio": "<:nextgen_ico_audio:1336064917299527731>", - "microphone": "<:nextgen_ico_microphone:1336065776926462022>", - "stage": "<:nextgen_ico_stage:1336066039053680670>", + "at": "<:nxt_ico_at:1363556490169946254>", + "audio": "<:nxt_ico_audio:1363556520809201724>", + "microphone": "<:nxt_ico_microphone:1363559939297116410>", + "stage": "<:nxt_ico_stage:1363573950684332263>", /* Users */ - "user": "<:nextgen_ico_user_v2:1336422416271806506>", - "user_card": "<:nextgen_ico_user_card:1336066136453812364>", - "user_circle": "<:nextgen_ico_user_circle:1336066145551253525>", - "user_king": "<:nextgen_ico_user_king:1336066168624250880>", - "user_group": "<:nextgen_ico_user_group_v2:1336422430981488774>", - "user_shield": "<:nextgen_ico_user_shield:1336066184235450482>", + "user": "<:nxt_ico_user:1363574680337780796>", + "user_circle": "<:nxt_ico_user_circle:1363574689087098990>", + "user_king": "<:nxt_ico_user_king:1363574707441373215>", + "user_group": "<:nxt_ico_user_group:1363574698570416358>", + "user_shield": "<:nxt_ico_user_shield:1363575244568137870>", + "user_stack": "<:nxt_ico_user_stack:1363575255016149224>", - "arrow_down": "<:nextgen_ico_arrow_down:1336064816095170684>", - "arrow_left": "<:nextgen_ico_arrow_left:1336064824714727508>", - "arrow_right": "<:nextgen_ico_arrow_right:1336064835691090043>", - "arrow_up": "<:nextgen_ico_arrow_up:1336064844519964722>", + "arrow_down": "<:nxt_ico_arrow_down:1363556451574092037>", + "arrow_left": "<:nxt_ico_arrow_left:1363556461355073566>", + "arrow_right": "<:nxt_ico_arrow_right:1363556471303831552>", + "arrow_up": "<:nxt_ico_arrow_up:1363556479486922862>", - // TODO: nextgen stat_ icons - "downvote": "<:nextgen_ico_rate_downvote:1336065847780835389>", - "upvote": "<:nextgen_ico_rate_upvote:1336065859659235449>", + "downvote": "<:nxt_ico_rate_downvote:1363560934676893918>", + "upvote": "<:nxt_ico_rate_upvote:1363560945103667380>", - "album": "<:nextgen_ico_album:1360923644892680303>", - "comments": "<:nextgen_ico_comments:1360923702862151731>", - "thumb_up": "<:nextgen_ico_thumb_up:1360924181059080253>", - "playlist": "<:nextgen_ico_playlist:1360923671514058902>", - "eye": "<:nextgen_ico_eye:1360923659296051230>", + "album": "<:nxt_ico_album:1363556433848827954>", + "comments": "<:nxt_ico_comments:1363557692643344547>", + "playlist": "<:nxt_ico_playlist:1363560877537759342>", + "thumb_up": "<:nxt_ico_thumb_up:1363574661572591797>", + "thumb_down": "<:nxt_ico_thumb_down:1363574653213212682>", + "eye": "<:nxt_ico_eye:1363558773469479093>", - "exclaim": "<:nextgen_ico_exclaim:1336065523716325548>", - "exclaim_green": "<:nextgen_ico_exclaim_green:1336065532645998713>", - "exclaim_pink": "<:nextgen_ico_exclaim_pink:1336065542653612102>", - "exclaim_red": "<:nextgen_ico_exclaim_red:1336065555211489372>", - "exclaim_yellow": "<:nextgen_ico_exclaim_yellow:1336065564468187317>", + "exclaim": "<:nxt_ico_exclaim:1363557770158411888>", + "exclaim_green": "<:nxt_ico_exclaim_green:1363558735955493207>", + "exclaim_pink": "<:nxt_ico_exclaim_pink:1363558745811980458>", + "exclaim_red": "<:nxt_ico_exclaim_red:1363558755245096991>", + "exclaim_yellow": "<:nxt_ico_exclaim_yellow:1363558764661182465>", - "question_mark": "<:nextgen_ico_question_mark:1336074602484596746>", - - "information": "<:nextgen_ico_information:1336065668906356837>", - "question": "<:nextgen_ico_question:1336073651266785343>", - "warning": "<:nextgen_ico_warning:1336066206964252692>", + "information": "<:nxt_ico_information:1363558844696887406>", + "question": "<:nxt_ico_question:1363560925407219792>", + "warning": "<:nxt_ico_warning:1363575266030391557>", /* Weds */ - "weds_air_quality_0": "<:nextgen_ico_weds_quality_0:1336066219174002782>", - "weds_air_quality_1": "<:nextgen_ico_weds_quality_1:1336066233187172513>", - "weds_air_quality_2": "<:nextgen_ico_weds_quality_2:1336066244645879900>", - "weds_air_quality_3": "<:nextgen_ico_weds_quality_3:1336066259518885918>", - "weds_air_quality_4": "<:nextgen_ico_weds_quality_4:1336066269090156554>", + "weds_air_quality_0": "<:nxt_ico_weds_quality_0:1363575285395492955>", + "weds_air_quality_1": "<:nxt_ico_weds_quality_1:1363575293671112735>", + "weds_air_quality_2": "<:nxt_ico_weds_quality_2:1363575303754088800>", + "weds_air_quality_3": "<:nxt_ico_weds_quality_3:1363575320925700248>", + "weds_air_quality_4": "<:nxt_ico_weds_quality_4:1363576106673770546>", - "weds_uv_index_0": "<:nextgen_ico_weds_uv_0:1336066279374590035>", - "weds_uv_index_1": "<:nextgen_ico_weds_uv_1:1336066290451742840>", - "weds_uv_index_2": "<:nextgen_ico_weds_uv_2:1336066300560019459>", - "weds_uv_index_3": "<:nextgen_ico_weds_uv_3:1336066309426778152>", - "weds_uv_index_4": "<:nextgen_ico_weds_uv_4:1336066320684290169>", + "weds_uv_index_0": "<:nxt_ico_weds_uv_0:1363576126177284106>", + "weds_uv_index_1": "<:nxt_ico_weds_uv_1:1363576146469453975>", + "weds_uv_index_2": "<:nxt_ico_weds_uv_2:1363576155499659395>", + "weds_uv_index_3": "<:nxt_ico_weds_uv_3:1363576164651630743>", + "weds_uv_index_4": "<:nxt_ico_weds_uv_4:1363576174638403634>", - "weds_moon": "<:nextgen_ico_weds_moon:1336076547773304853> ", - "weds_sun": "<:nextgen_ico_weds_sun:1336076533609009223> ", + "weds_moon": "<:nxt_ico_weds_moon:1363575276931645742> ", + "weds_sun": "<:nxt_ico_weds_sun:1363576116492632307> ", "weds_warning": "<:nextgen_ico_weds_warning:1329933496780722357>", // These icon names (weds_warning_:warningId) have to be synced with the server (/utils_service/endpoints/weather.js). @@ -236,8 +226,12 @@ module.exports.ICONS_NEXTGEN_LEGACY_MAPPINGS = Object.freeze({ "link_open_external": "open_in_new", "stars": "sparkles", + "example": "pencil_note", + "list": "list_stack", "definition": "book_search", - "note": "music", + "latency": "connection", + "mag": "search", + "search": "search_square", "trend": "analytics", "activity": "rocket", @@ -260,6 +254,10 @@ module.exports.ICONS_NEXTGEN_LEGACY_MAPPINGS = Object.freeze({ "moon": "weds_moon", "sun": "weds_sun", + "user_card": "user_stack", + + "visible": "eye", + "status_offline": "discord_status_offline", "status_online": "discord_status_online", @@ -281,8 +279,6 @@ module.exports.ICONS_NEXTGEN_LEGACY_MAPPINGS = Object.freeze({ "air_quality_3": "weds_air_quality_3", "air_quality_4": "weds_air_quality_4", - "question_large": "question_mark", - "stat_comments": "comments", "stat_likes": "thumb_up", "stat_people": "user_group",