Verified Commit 228b6aec authored by Green Lightning's avatar Green Lightning Committed by Marc Jeanmougin
Browse files

Remove hexadecimal color names from palette files

There is some fallback code in _loadPaletteFile that formats a
hexadecimal representation from the color value if the name is empty,
therefore the application behavior is not changed. However, this avoids
looking up translations for these names, which improves startup time by
about 300 ms on my Windows machine. Colors with regular names
(like 'blue') are not affected by this change and still properly
translated.

The following command was run inside share/palettes/ to generate this commit:

sed -i -E "s/(^\s*[0-9]+\s+[0-9]*\s+[0-9]*)\s+#?[0-9A-Fa-f]{6}/\1/" *.gpl
parent 341a0ec6
Pipeline #367471479 canceled with stages
in 5 minutes and 48 seconds
......@@ -2,18 +2,18 @@ GIMP Palette
Name: Android icon palette
Columns: 1
#
255 255 255 FFFFFF
191 191 191 BFBFBF
128 128 128 808080
64 64 64 404040
0 0 0 000000
102 153 255 6699FF
51 102 204 3366CC
0 51 153 003399
153 204 51 99CC33
0 204 0 00CC00
102 153 0 669900
255 204 0 FFCC00
255 153 0 FF9900
255 102 0 FF6600
204 0 0 CC0000
255 255 255
191 191 191
128 128 128
64 64 64
0 0 0
102 153 255
51 102 204
0 51 153
153 204 51
0 204 0
102 153 0
255 204 0
255 153 0
255 102 0
204 0 0
......@@ -3,259 +3,259 @@ Name: Blues
#
# For them rainy days ... by Daniel Egnor
#
0 0 0 #000000
128 128 128 #808080
255 255 255 #FFFFFF
0 0 4 #000004
0 0 12 #00000C
0 0 16 #000010
0 0 24 #000018
0 0 32 #000020
0 0 36 #000024
0 0 44 #00002C
0 0 48 #000030
0 0 56 #000038
0 0 64 #000040
0 0 68 #000044
0 0 76 #00004C
0 0 80 #000050
0 0 88 #000058
0 0 96 #000060
0 0 100 #000064
0 0 108 #00006C
0 0 116 #000074
0 0 120 #000078
0 0 128 #000080
0 0 132 #000084
0 0 140 #00008C
0 0 148 #000094
0 0 152 #000098
0 0 160 #0000A0
0 0 164 #0000A4
0 0 172 #0000AC
0 0 180 #0000B4
0 0 184 #0000B8
0 0 192 #0000C0
0 0 200 #0000C8
0 4 200 #0004C8
0 12 200 #000CC8
0 16 204 #0010CC
0 24 204 #0018CC
0 28 208 #001CD0
0 36 208 #0024D0
0 40 208 #0028D0
0 48 212 #0030D4
0 56 212 #0038D4
0 60 216 #003CD8
0 68 216 #0044D8
0 72 216 #0048D8
0 80 220 #0050DC
0 84 220 #0054DC
0 92 224 #005CE0
0 100 224 #0064E0
0 104 224 #0068E0
0 112 228 #0070E4
0 116 228 #0074E4
0 124 232 #007CE8
0 128 232 #0080E8
0 136 232 #0088E8
0 140 236 #008CEC
0 148 236 #0094EC
0 156 240 #009CF0
0 160 240 #00A0F0
0 168 240 #00A8F0
0 172 244 #00ACF4
0 180 244 #00B4F4
0 184 248 #00B8F8
0 192 248 #00C0F8
0 200 252 #00C8FC
4 200 252 #04C8FC
12 200 252 #0CC8FC
20 204 252 #14CCFC
28 204 252 #1CCCFC
36 208 252 #24D0FC
44 208 252 #2CD0FC
52 208 252 #34D0FC
60 212 252 #3CD4FC
68 212 252 #44D4FC
76 216 252 #4CD8FC
84 216 252 #54D8FC
92 216 252 #5CD8FC
100 220 252 #64DCFC
108 220 252 #6CDCFC
116 224 252 #74E0FC
124 224 252 #7CE0FC
132 224 252 #84E0FC
140 228 252 #8CE4FC
148 228 252 #94E4FC
156 232 252 #9CE8FC
164 232 252 #A4E8FC
172 232 252 #ACE8FC
180 236 252 #B4ECFC
188 236 252 #BCECFC
196 240 252 #C4F0FC
204 240 252 #CCF0FC
212 240 252 #D4F0FC
220 244 252 #DCF4FC
228 244 252 #E4F4FC
236 248 252 #ECF8FC
244 248 252 #F4F8FC
252 252 252 #FCFCFC
248 252 252 #F8FCFC
244 252 252 #F4FCFC
240 252 252 #F0FCFC
232 252 252 #E8FCFC
228 252 252 #E4FCFC
224 252 252 #E0FCFC
216 252 252 #D8FCFC
212 252 252 #D4FCFC
208 252 252 #D0FCFC
200 252 252 #C8FCFC
196 252 252 #C4FCFC
192 252 252 #C0FCFC
184 252 252 #B8FCFC
180 252 252 #B4FCFC
176 252 252 #B0FCFC
168 252 252 #A8FCFC
164 252 252 #A4FCFC
160 252 252 #A0FCFC
156 252 252 #9CFCFC
148 252 252 #94FCFC
144 252 252 #90FCFC
140 252 252 #8CFCFC
132 252 252 #84FCFC
128 252 252 #80FCFC
124 252 252 #7CFCFC
116 252 252 #74FCFC
112 252 252 #70FCFC
108 252 252 #6CFCFC
100 252 252 #64FCFC
96 252 252 #60FCFC
92 252 252 #5CFCFC
84 252 252 #54FCFC
80 252 252 #50FCFC
76 252 252 #4CFCFC
72 252 252 #48FCFC
64 252 252 #40FCFC
60 252 252 #3CFCFC
56 252 252 #38FCFC
48 252 252 #30FCFC
44 252 252 #2CFCFC
40 252 252 #28FCFC
32 252 252 #20FCFC
28 252 252 #1CFCFC
24 252 252 #18FCFC
16 252 252 #10FCFC
12 252 252 #0CFCFC
8 252 252 #08FCFC
0 252 252 #00FCFC
0 248 252 #00F8FC
0 244 252 #00F4FC
0 240 252 #00F0FC
0 232 252 #00E8FC
0 228 252 #00E4FC
0 224 252 #00E0FC
0 216 252 #00D8FC
0 212 252 #00D4FC
0 208 252 #00D0FC
0 200 252 #00C8FC
0 196 252 #00C4FC
0 192 252 #00C0FC
0 184 252 #00B8FC
0 180 252 #00B4FC
0 176 252 #00B0FC
0 168 252 #00A8FC
0 164 252 #00A4FC
0 160 252 #00A0FC
0 156 252 #009CFC
0 148 252 #0094FC
0 144 252 #0090FC
0 140 252 #008CFC
0 132 252 #0084FC
0 128 252 #0080FC
0 124 252 #007CFC
0 116 252 #0074FC
0 112 252 #0070FC
0 108 252 #006CFC
0 100 252 #0064FC
0 96 252 #0060FC
0 92 252 #005CFC
0 84 252 #0054FC
0 80 252 #0050FC
0 76 252 #004CFC
0 72 252 #0048FC
0 64 252 #0040FC
0 60 252 #003CFC
0 56 252 #0038FC
0 48 252 #0030FC
0 44 252 #002CFC
0 40 252 #0028FC
0 32 252 #0020FC
0 28 252 #001CFC
0 24 252 #0018FC
0 16 252 #0010FC
0 12 252 #000CFC
0 8 252 #0008FC
0 0 252 #0000FC
0 0 248 #0000F8
0 0 244 #0000F4
0 0 240 #0000F0
0 0 236 #0000EC
0 0 232 #0000E8
0 0 228 #0000E4
0 0 224 #0000E0
0 0 220 #0000DC
0 0 216 #0000D8
0 0 212 #0000D4
0 0 208 #0000D0
0 0 204 #0000CC
0 0 200 #0000C8
0 0 196 #0000C4
0 0 192 #0000C0
0 0 188 #0000BC
0 0 184 #0000B8
0 0 180 #0000B4
0 0 176 #0000B0
0 0 172 #0000AC
0 0 168 #0000A8
0 0 164 #0000A4
0 0 160 #0000A0
0 0 156 #00009C
0 0 152 #000098
0 0 148 #000094
0 0 144 #000090
0 0 140 #00008C
0 0 136 #000088
0 0 132 #000084
0 0 128 #000080
0 0 124 #00007C
0 0 120 #000078
0 0 116 #000074
0 0 112 #000070
0 0 108 #00006C
0 0 104 #000068
0 0 100 #000064
0 0 96 #000060
0 0 92 #00005C
0 0 88 #000058
0 0 84 #000054
0 0 80 #000050
0 0 76 #00004C
0 0 72 #000048
0 0 68 #000044
0 0 64 #000040
0 0 60 #00003C
0 0 56 #000038
0 0 52 #000034
0 0 48 #000030
0 0 44 #00002C
0 0 40 #000028
0 0 36 #000024
0 0 32 #000020
0 0 28 #00001C
0 0 24 #000018
0 0 20 #000014
0 0 16 #000010
0 0 12 #00000C
0 0 8 #000008
0 0 0 #000000
0 0 0
128 128 128
255 255 255
0 0 4
0 0 12
0 0 16
0 0 24
0 0 32
0 0 36
0 0 44
0 0 48
0 0 56
0 0 64
0 0 68
0 0 76
0 0 80
0 0 88
0 0 96
0 0 100
0 0 108
0 0 116
0 0 120
0 0 128
0 0 132
0 0 140
0 0 148
0 0 152
0 0 160
0 0 164
0 0 172
0 0 180
0 0 184
0 0 192
0 0 200
0 4 200
0 12 200
0 16 204
0 24 204
0 28 208
0 36 208
0 40 208
0 48 212
0 56 212
0 60 216
0 68 216
0 72 216
0 80 220
0 84 220
0 92 224
0 100 224
0 104 224
0 112 228
0 116 228
0 124 232
0 128 232
0 136 232
0 140 236
0 148 236
0 156 240
0 160 240
0 168 240
0 172 244
0 180 244
0 184 248
0 192 248
0 200 252
4 200 252
12 200 252
20 204 252
28 204 252
36 208 252
44 208 252
52 208 252
60 212 252
68 212 252
76 216 252
84 216 252
92 216 252
100 220 252
108 220 252
116 224 252
124 224 252
132 224 252
140 228 252
148 228 252
156 232 252
164 232 252
172 232 252
180 236 252
188 236 252
196 240 252
204 240 252
212 240 252
220 244 252
228 244 252
236 248 252
244 248 252
252 252 252
248 252 252
244 252 252
240 252 252
232 252 252
228 252 252
224 252 252
216 252 252
212 252 252
208 252 252
200 252 252
196 252 252
192 252 252
184 252 252
180 252 252
176 252 252
168 252 252
164 252 252
160 252 252
156 252 252
148 252 252
144 252 252
140 252 252
132 252 252
128 252 252
124 252 252
116 252 252
112 252 252
108 252 252
100 252 252
96 252 252
92 252 252
84 252 252
80 252 252
76 252 252
72 252 252
64 252 252
60 252 252
56 252 252
48 252 252
44 252 252
40 252 252
32 252 252
28 252 252
24 252 252
16 252 252
12 252 252
8 252 252
0 252 252
0 248 252
0 244 252
0 240 252
0 232 252
0 228 252
0 224 252
0 216 252
0 212 252
0 208 252
0 200 252
0 196 252
0 192 252
0 184 252
0 180 252
0 176 252
0 168 252
0 164 252
0 160 252
0 156 252
0 148 252
0 144 252
0 140 252
0 132 252
0 128 252
0 124 252
0 116 252
0 112 252
0 108 252
0 100 252
0 96 252
0 92 252
0 84 252
0 80 252
0 76 252
0 72 252
0 64 252
0 60 252
0 56 252
0 48 252
0 44 252
0 40 252
0 32 252
0 28 252
0 24 252
0 16 252
0 12 252
0 8 252
0 0 252
0 0 248
0 0 244
0 0 240
0 0 236
0 0 232
0 0 228
0 0 224
0 0 220
0 0 216
0 0 212
0 0 208
0 0 204
0 0 200
0 0 196
0 0 192
0 0 188
0 0 184
0 0 180
0 0 176
0 0 172
0 0 168
0 0 164
0 0 160
0 0 156
0 0 152
0 0 148
0 0 144
0 0 140
0 0 136
0 0 132
0 0 128
0 0 124
0 0 120
0 0 116
0 0 112
0 0 108
0 0 104
0 0 100
0 0 96
0 0 92
0 0 88
0 0 84
0 0 80
0 0 76
0 0 72
0 0 68
0 0 64
0 0 60
0 0 56
0 0 52
0 0 48
0 0 44
0 0 40
0 0 36
0 0 32
0 0 28
0 0 24
0 0 20
0 0 16
0 0 12
0 0 8
0 0 0
......@@ -4,93 +4,93 @@ Name: Bootstrap 5
# Generated with Inkscape Generate Palette
# Assembled by meetdilip
#
5 40 91 #05285b
7 57 132 #073984
9 75 172 #094bac
11 92 213 #0b5cd5
13 110 253 #0d6efd
52 133 253 #3485fd
90 156 254 #5a9cfe
129 180 254 #81b4fe
168 203 254 #a8cbfe
37 6 87 #250657
53 8 126 #35087e
69 11 165 #450ba5
86 13 203 #560dcb
102 16 242 #6610f2
126 54 244 #7e36f4
151 92 246 #975cf6
175 131 248 #af83f8
200 169 250 #c8a9fa
40 24 69 #281845
58 34 100 #3a2264
75 45 131 #4b2d83
93 55 162 #5d37a2
111 66 193 #6f42c1
134 96 203 #8660cb
157 126 213 #9d7ed5
180 157 223 #b49ddf
203 187 233 #cbbbe9
77 18 48 #4d1230
111 27 69 #6f1b45
146 35 90 #92235a
180 43 111 #b42b6f
214 51 132 #d63384
221 84 152 #dd5498
227 116 171 #e374ab
234 149 191 #ea95bf
240 182 211 #f0b6d3
79 19 25 #4f1319
114 28 36 #721c24
150 36 47 #96242f
185 45 58 #b92d3a
220 53 69 #dc3545
226 85 99 #e25563
231 118 129 #e77681
237 150 158 #ed969e
242 182 188 #f2b6bc
91 45 7 #5b2d07
132 66 10 #84420a
172 86 14 #ac560e
213 106 17 #d56a11
253 126 20 #fd7e14
253 147 58 #fd933a
254 167 95 #fea75f
254 188 133 #febc85
254 209 170 #fed1aa
92 69 3 #5c4503
133 100 4 #856404
173 131 5 #ad8305
214 162 6 #d6a206
255 193 7 #ffc107
255 203 47 #ffcb2f
255 213 86 #ffd556
255 223 126 #ffdf7e
255 233 166 #ffe9a6
14 60 25 #0e3c19
21 87 36 #155724
27 114 47 #1b722f
34 140 58 #228c3a
40 167 69 #28a745
74 181 99 #4ab563
109 195 129 #6dc381
143 209 158 #8fd19e
178 223 188 #b2dfbc
12 72 54 #0c4836
17 105 79 #11694f
22 137 103 #168967
27 169 127 #1ba97f
32 201 151 #20c997
68 210 168 #44d2a8
103 218 184 #67dab8
139 227 201 #8be3c9
175 236 218 #afecda
8 58 66 #083a42
12 84 96 #0c5460
16 110 125 #106e7d
19 136 155 #13889b
23 162 184 #17a2b8
60 177 195 #3cb1c3