Files
Marshall Bowers e60123bbdc Allow icon themes to provide their own file associations (#24926)
This PR adds the ability for icon themes to provide their own file
associations.

The old `file_types.json` that was previously used to make these
associations has been removed in favor of storing them on the default
theme.

Icon themes have two new fields on them:

- `file_stems`: A mapping of file stems to icon keys.
- `file_suffixes`: A mapping of file suffixes to icon keys.

These mappings produce icon keys which can then be used in `file_icons`
to associate them to a particular icon:

```json
{
  "file_stems": {
    "Makefile": "make"
  },
  "file_suffixes": {
    "idr": "idris"
  },
  "file_icons": {
    "idris": { "path": "./icons/idris.svg" },
    "make": { "path": "./icons/make.svg" }
  }
}
```

When loading an icon theme, the `file_stems` and `file_icons` fields
will be merged with the ones from the base icon theme, with the values
from the icon theme being loaded overriding ones in the base theme.

Release Notes:

- Added the ability for icon themes to provide their own file
associations.
2025-02-15 00:35:13 +00:00
..
2025-01-27 13:40:59 -05:00
2024-08-12 09:55:00 -04:00
2024-08-12 09:55:00 -04:00
2024-08-01 21:57:51 -04:00
2024-08-01 21:57:51 -04:00
kb
2023-11-20 10:46:23 -05:00
kb
2023-11-20 10:46:23 -05:00
kb
2023-11-20 10:46:23 -05:00
kb
2023-11-20 10:46:23 -05:00
2024-01-03 11:45:41 -05:00
2024-09-13 21:12:29 -04:00
2024-09-13 21:12:29 -04:00
2024-06-25 11:43:30 -04:00
2024-09-13 21:12:29 -04:00
2023-08-14 15:50:42 -04:00
2023-08-14 15:50:42 -04:00
2023-08-14 15:50:42 -04:00
2023-08-14 15:50:42 -04:00
2025-02-05 12:13:32 -07:00
2024-09-13 21:12:29 -04:00
kb
2023-11-20 10:46:23 -05:00
2024-06-11 12:39:45 +02:00
kb
2023-11-20 10:46:23 -05:00
2023-08-14 15:50:42 -04:00
2023-11-05 01:06:41 -05:00
2023-08-16 13:48:12 -04:00
2024-09-13 21:12:29 -04:00
2024-07-26 11:08:42 -04:00
2024-09-13 21:12:29 -04:00
2024-09-13 21:12:29 -04:00
2024-09-13 21:12:29 -04:00
2024-09-13 21:12:29 -04:00
2024-09-13 21:12:29 -04:00
2024-09-13 21:12:29 -04:00
2024-09-13 21:12:29 -04:00
2024-09-13 21:12:29 -04:00
2024-09-13 21:12:29 -04:00
2024-06-26 13:02:58 -04:00
2023-12-18 12:56:57 -05:00
2023-08-14 15:57:31 -04:00
2024-05-07 16:36:13 -04:00
2023-08-16 23:38:11 +03:00
2024-05-16 16:55:54 -04:00
2023-10-17 13:34:51 -04:00
2024-04-23 13:31:21 -04:00
2023-12-19 10:30:46 -05:00
2024-01-03 11:45:41 -05:00
kb
2023-11-20 10:46:23 -05:00
2024-01-03 11:45:41 -05:00
2024-01-03 11:45:41 -05:00
2024-04-11 18:36:58 +02:00
2024-09-05 16:00:32 -03:00
2024-12-17 09:40:16 -03:00
2023-10-17 13:30:09 -06:00
2023-12-19 10:30:46 -05:00
2024-04-11 23:07:29 -06:00
2024-06-18 12:16:54 -07:00
2024-09-13 21:12:29 -04:00
2024-04-23 15:33:09 -06:00
2024-09-13 21:12:29 -04:00
kb
2023-11-20 10:46:23 -05:00
2023-12-19 10:30:46 -05:00
2024-01-03 11:45:41 -05:00
2023-08-14 15:50:42 -04:00
2024-05-07 16:36:13 -04:00
2024-05-03 12:50:42 -07:00
2024-05-03 12:50:42 -07:00
2024-05-03 12:50:42 -07:00
2024-05-03 12:50:42 -07:00
2024-09-16 00:24:18 -04:00
2024-04-23 13:31:21 -04:00
2024-09-05 16:00:32 -03:00
2023-10-16 15:53:29 -04:00
2024-09-13 21:12:29 -04:00
2024-06-26 13:02:58 -04:00
2023-11-18 00:54:01 -05:00
2024-09-13 21:12:29 -04:00
2024-09-13 21:12:29 -04:00
2024-12-06 09:17:48 -03:00