File tree Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ Please see LICENSE files in the repository root for full details.
77
88/* TODO: Match the user's theme: https://github.com/element-hq/element-web/issues/12794 */
99
10+ @import url("@vector-im/compound-design-tokens/assets/web/css/compound-design-tokens.css" );
1011/* Path to `res` dir in the source tree */
1112$res : ../ ../ ../ res;
1213
@@ -70,16 +71,22 @@ html {
7071}
7172
7273#joinButton {
73- /* A mix of AccessibleButton styles */
74- cursor : pointer;
75- padding : 7 px 18 px ;
74+ /* Copy of Compound Button styles */
75+ border : 1 px solid var (--cpd-color-bg-action-primary-rest );
76+ color : var (--cpd-color-text-on-solid-primary );
77+ background-color : var (--cpd-color-bg-action-primary-rest );
78+ padding-block : var (--cpd-space-2x );
79+ padding-inline : var (--cpd-space-8x );
80+ min-block-size : var (--cpd-space-12x );
7681 text-align : center;
77- border-radius : 4 px ;
78- display : inline-block;
79- font-size : 14 px ;
80- color : #ffffff ;
81- background-color : #03b381 ;
82- border : 0 ;
82+ border-radius : 24 px ;
83+ display : inline-flex;
84+ align-items : center;
85+ justify-content : center;
86+ font : var (--cpd-font-body-lg-semibold );
87+ border : none;
88+ word-break : keep-all;
89+ cursor : pointer;
8390}
8491
8592.icon {
You can’t perform that action at this time.
0 commit comments