Split message content into its own module

This is laying some groundwork for the rich text chatbar.
This commit is contained in:
James Graham
2025-06-29 12:43:48 +01:00
parent a1447ebd6f
commit f6e8491bf1
117 changed files with 122 additions and 104 deletions

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22">
<defs id="defs3051">
<style type="text/css" id="current-color-scheme">
.ColorScheme-Text {
color:#4d4d4d;
}
</style>
</defs>
<path
style="color:#4d4d4d;fill:currentColor;fill-opacity:1;stroke:none"
d="m 16.15861,18.818425 c 0,0.264672 -0.118157,0.527767 -0.354472,0.789284 -0.236311,0.261523 -0.486803,0.392284 -0.751475,0.392284 -0.327683,0 -0.58605,-0.189053 -0.775102,-0.567158 -0.15124,-0.30878 -0.22686,-0.645917 -0.22686,-1.011411 V 13.439957 C 13.73562,12.65225 13.57808,11.684944 13.57808,10.538039 V 4.3372017 c 0,-0.5545465 0.110277,-1.0744333 0.330832,-1.5596604 0.283579,-0.6049597 0.671132,-0.9074396 1.16266,-0.9074396 0.724692,0 1.087038,0.5955067 1.087038,1.7865202 z M 10.146822,6.9839006 c 0,0.8948384 -0.5621719,2.2156104 -1.639757,2.6063117 l 0.1368084,2.9612067 c 0.00627,0.126037 -0.1449733,-0.743594 0,0 0.2279252,5.263533 0.2279252,4.53254 0.2279252,5.263533 0,0.724692 0.039954,1.19782 -0.067173,1.512902 -0.1953527,0.554546 -0.1386973,0.738301 -0.7184505,0.738301 -0.5734481,0 -0.4871106,-0.247591 -0.6761628,-0.789532 -0.1134277,-0.385224 -0.09777,-0.685562 -0.076624,-1.391031 0.1577864,-5.264035 0,0 0.2045452,-5.334173 0.2268599,-1.304447 -0.081925,0.579757 0,0 L 7.6279841,9.5902123 C 6.5503984,9.199511 6.034985,7.878739 6.034985,6.9839006 c 0,-0.037808 0.00315,-0.1071252 0.00944,-0.2079516 L 6.1733048,2.8909713 h 0.4253606 l 0.022376,3.724287 c -0.0063,0.1386343 0.051989,0.875934 0.1748671,1.0429299 0.122883,0.1669912 0.2536416,0.2504868 0.3922759,0.2504868 0.1512399,0 0.2946042,-0.086648 0.4300929,-0.2599445 0.1354855,-0.1732963 0.2032283,-0.920049 0.2032283,-1.071289 V 2.8909713 h 0.5387972 v 3.6864702 c 0,0.15124 0.067742,0.8979927 0.2032267,1.071289 0.135484,0.1732963 0.278846,0.2599445 0.430086,0.2599445 0.1386387,0 0.2693993,-0.083496 0.392282,-0.2504868 0.1228833,-0.1669959 0.1811723,-0.9042956 0.174867,-1.0429299 l 0.022377,-3.724287 h 0.4253607 l 0.128865,3.8849777 c 0.0063,0.1008267 0.0095,0.1701439 0.0095,0.2079516 z M 15.61982,11.955917 V 2.8342596 c 0,-0.3465927 -0.15124,-0.519889 -0.45372,-0.519889 -0.308785,0 -0.567155,0.2174069 -0.775109,0.6522206 -0.176447,0.3591938 -0.26467,0.7152373 -0.26467,1.0681306 v 6.7585362 c 0,1.22252 0.242614,1.83378 0.727842,1.83378 0.151239,0 0.316657,-0.07404 0.496254,-0.222127 0.179602,-0.14809 0.269403,-0.297755 0.269403,-0.448994 z"
class="ColorScheme-Text"/>
</svg>

After

Width:  |  Height:  |  Size: 2.5 KiB