← All changes
|
backend/views/components/Main/components/FontStyleButtons.jsx
+13
-13
1.4.4
→
1.4.19
View file →
| @@ -8,19 +8,19 @@ | ||
| 8 | 8 | disabled = false, |
| 9 | 9 | }) => { |
| 10 | 10 | return ( |
| 11 | 11 | <div |
| 12 | - className={`disco-flex disco-bg-gray-50 disco-rounded disco-items-center disco-gap-1 disco-p-1 ${disabled ? 'disco-opacity-50' : ''}`} | |
| 12 | + className={`disco:flex disco:bg-gray-50 disco:rounded disco:items-center disco:gap-1 disco:p-1 ${disabled ? 'disco:opacity-50' : ''}`} | |
| 13 | 13 | > |
| 14 | 14 | <button |
| 15 | 15 | type="button" |
| 16 | 16 | onClick={onBoldToggle} |
| 17 | 17 | disabled={disabled} |
| 18 | - className={`disco-px-2 disco-py-1 disco-rounded disco-font-bold disco-text-sm ${ | |
| 18 | + className={`disco:px-2 disco:py-1 disco:rounded-sm disco:font-bold disco:text-sm ${ | |
| 19 | 19 | isBold |
| 20 | - ? 'disco-bg-primary disco-text-white' | |
| 21 | - : 'disco-bg-white disco-text-gray-700 hover:disco-bg-gray-100' | |
| 22 | - } ${disabled ? 'disco-cursor-not-allowed' : ''}`} | |
| 20 | + ? 'disco:bg-primary disco:text-white' | |
| 21 | + : 'disco:bg-white disco:text-gray-700 disco:hover:bg-gray-100' | |
| 22 | + } ${disabled ? 'disco:cursor-not-allowed' : ''}`} | |
| 23 | 23 | > |
| 24 | 24 | B |
| 25 | 25 | </button> |
| 26 | 26 | <button |
| @@ -26,13 +26,13 @@ | ||
| 26 | 26 | <button |
| 27 | 27 | type="button" |
| 28 | 28 | onClick={onItalicToggle} |
| 29 | 29 | disabled={disabled} |
| 30 | - className={`disco-px-2 disco-py-1 disco-rounded disco-italic disco-text-sm ${ | |
| 30 | + className={`disco:px-2 disco:py-1 disco:rounded-sm disco:italic disco:text-sm ${ | |
| 31 | 31 | isItalic |
| 32 | - ? 'disco-bg-primary disco-text-white' | |
| 33 | - : 'disco-bg-white disco-text-gray-700 hover:disco-bg-gray-100' | |
| 34 | - } ${disabled ? 'disco-cursor-not-allowed' : ''}`} | |
| 32 | + ? 'disco:bg-primary disco:text-white' | |
| 33 | + : 'disco:bg-white disco:text-gray-700 disco:hover:bg-gray-100' | |
| 34 | + } ${disabled ? 'disco:cursor-not-allowed' : ''}`} | |
| 35 | 35 | > |
| 36 | 36 | I |
| 37 | 37 | </button> |
| 38 | 38 | <button |
| @@ -38,13 +38,13 @@ | ||
| 38 | 38 | <button |
| 39 | 39 | type="button" |
| 40 | 40 | onClick={onUnderlineToggle} |
| 41 | 41 | disabled={disabled} |
| 42 | - className={`disco-px-2 disco-py-1 disco-rounded disco-underline disco-text-sm ${ | |
| 42 | + className={`disco:px-2 disco:py-1 disco:rounded-sm disco:underline disco:text-sm ${ | |
| 43 | 43 | isUnderline |
| 44 | - ? 'disco-bg-primary disco-text-white' | |
| 45 | - : 'disco-bg-white disco-text-gray-700 hover:disco-bg-gray-100' | |
| 46 | - } ${disabled ? 'disco-cursor-not-allowed' : ''}`} | |
| 44 | + ? 'disco:bg-primary disco:text-white' | |
| 45 | + : 'disco:bg-white disco:text-gray-700 disco:hover:bg-gray-100' | |
| 46 | + } ${disabled ? 'disco:cursor-not-allowed' : ''}`} | |
| 47 | 47 | > |
| 48 | 48 | U |
| 49 | 49 | </button> |
| 50 | 50 | </div> |