|
| 1 | +package com.crosspaste.paste |
| 2 | + |
| 3 | +import androidx.compose.material.icons.Icons |
| 4 | +import androidx.compose.material.icons.automirrored.outlined.Article |
| 5 | +import androidx.compose.material.icons.outlined.Code |
| 6 | +import androidx.compose.material.icons.outlined.Description |
| 7 | +import androidx.compose.material.icons.outlined.Image |
| 8 | +import androidx.compose.material.icons.outlined.Link |
| 9 | +import androidx.compose.material.icons.outlined.Palette |
| 10 | +import androidx.compose.material.icons.outlined.TextFields |
| 11 | +import androidx.compose.ui.graphics.Color |
| 12 | +import androidx.compose.ui.graphics.vector.ImageVector |
| 13 | + |
| 14 | +data class PasteTypeExt( |
| 15 | + val imageVector: ImageVector, |
| 16 | + val color: Color, |
| 17 | + val bgColor: Color, |
| 18 | +) { |
| 19 | + companion object { |
| 20 | + // Text |
| 21 | + val LIGHT_TEXT_PASTE_TYPE_EXT = |
| 22 | + PasteTypeExt( |
| 23 | + imageVector = Icons.Outlined.TextFields, |
| 24 | + color = Color(0xFF1B6EF3), |
| 25 | + bgColor = Color(0xFFE8F0FE), |
| 26 | + ) |
| 27 | + val DARK_TEXT_PASTE_TYPE_EXT = |
| 28 | + PasteTypeExt( |
| 29 | + imageVector = Icons.Outlined.TextFields, |
| 30 | + color = Color(0xFF60A5FA), |
| 31 | + bgColor = Color(0xFF1E3A5F), |
| 32 | + ) |
| 33 | + |
| 34 | + // Image |
| 35 | + val LIGHT_IMAGE_PASTE_TYPE_EXT = |
| 36 | + PasteTypeExt( |
| 37 | + imageVector = Icons.Outlined.Image, |
| 38 | + color = Color(0xFFEF4444), |
| 39 | + bgColor = Color(0xFFFEE2E2), |
| 40 | + ) |
| 41 | + val DARK_IMAGE_PASTE_TYPE_EXT = |
| 42 | + PasteTypeExt( |
| 43 | + imageVector = Icons.Outlined.Image, |
| 44 | + color = Color(0xFFF87171), |
| 45 | + bgColor = Color(0xFF5C1A1A), |
| 46 | + ) |
| 47 | + |
| 48 | + // File |
| 49 | + val LIGHT_FILE_PASTE_TYPE_EXT = |
| 50 | + PasteTypeExt( |
| 51 | + imageVector = Icons.Outlined.Description, |
| 52 | + color = Color(0xFF7C3AED), |
| 53 | + bgColor = Color(0xFFF3E8FF), |
| 54 | + ) |
| 55 | + val DARK_FILE_PASTE_TYPE_EXT = |
| 56 | + PasteTypeExt( |
| 57 | + imageVector = Icons.Outlined.Description, |
| 58 | + color = Color(0xFFA78BFA), |
| 59 | + bgColor = Color(0xFF3B1F6E), |
| 60 | + ) |
| 61 | + |
| 62 | + // URL |
| 63 | + val LIGHT_URL_PASTE_TYPE_EXT = |
| 64 | + PasteTypeExt( |
| 65 | + imageVector = Icons.Outlined.Link, |
| 66 | + color = Color(0xFF1EA446), |
| 67 | + bgColor = Color(0xFFE6F4EA), |
| 68 | + ) |
| 69 | + val DARK_URL_PASTE_TYPE_EXT = |
| 70 | + PasteTypeExt( |
| 71 | + imageVector = Icons.Outlined.Link, |
| 72 | + color = Color(0xFF4ADE80), |
| 73 | + bgColor = Color(0xFF14412A), |
| 74 | + ) |
| 75 | + |
| 76 | + // Color |
| 77 | + val LIGHT_COLOR_PASTE_TYPE_EXT = |
| 78 | + PasteTypeExt( |
| 79 | + imageVector = Icons.Outlined.Palette, |
| 80 | + color = Color(0xFFD97706), |
| 81 | + bgColor = Color(0xFFFEF3C7), |
| 82 | + ) |
| 83 | + val DARK_COLOR_PASTE_TYPE_EXT = |
| 84 | + PasteTypeExt( |
| 85 | + imageVector = Icons.Outlined.Palette, |
| 86 | + color = Color(0xFFFBBF24), |
| 87 | + bgColor = Color(0xFF4A3310), |
| 88 | + ) |
| 89 | + |
| 90 | + // HTML |
| 91 | + val LIGHT_HTML_PASTE_TYPE_EXT = |
| 92 | + PasteTypeExt( |
| 93 | + imageVector = Icons.Outlined.Code, |
| 94 | + color = Color(0xFFE8710A), |
| 95 | + bgColor = Color(0xFFFEF0E1), |
| 96 | + ) |
| 97 | + val DARK_HTML_PASTE_TYPE_EXT = |
| 98 | + PasteTypeExt( |
| 99 | + imageVector = Icons.Outlined.Code, |
| 100 | + color = Color(0xFFFB923C), |
| 101 | + bgColor = Color(0xFF4A2A0A), |
| 102 | + ) |
| 103 | + |
| 104 | + // RTF |
| 105 | + val LIGHT_RTF_PASTE_TYPE_EXT = |
| 106 | + PasteTypeExt( |
| 107 | + imageVector = Icons.AutoMirrored.Outlined.Article, |
| 108 | + color = Color(0xFF0891B2), |
| 109 | + bgColor = Color(0xFFE0F7FA), |
| 110 | + ) |
| 111 | + val DARK_RTF_PASTE_TYPE_EXT = |
| 112 | + PasteTypeExt( |
| 113 | + imageVector = Icons.AutoMirrored.Outlined.Article, |
| 114 | + color = Color(0xFF22D3EE), |
| 115 | + bgColor = Color(0xFF164E63), |
| 116 | + ) |
| 117 | + } |
| 118 | +} |
0 commit comments