openvk/themepacks
Mikita Wiśniewski 4f126d1b05
update(openvk_modern): expand & actualize stylesheet, add minor fixes (#1341)
* сайдбар больше не становится прозрачным и не прячется за странными
элементами когда ему не хватает места
* новые стили для всплывающего окна лайкнувших
* новые стили для кнопки поиска в шапке
* чуть меньше бордеров на разных элементах
* beautified ™️
2025-06-29 16:21:56 +03:00
..
midnight fix: resolve issues related to API listens field, anonymous notifications, and UX bugs (#1279) 2025-05-03 16:53:14 +03:00
openvk_modern update(openvk_modern): expand & actualize stylesheet, add minor fixes (#1341) 2025-06-29 16:21:56 +03:00
.gitkeep Add themepack support 2020-06-11 23:21:49 +03:00
readme.md /themepacks/readme.md: fix grammar (#740) 2022-10-09 15:47:23 +00:00
readme.ru.md English, Ukrainian localization: Added and corrected spelling errors (#741) 2022-10-09 23:18:14 +03:00

OpenVK Themepacks

This folder contains all themes that can be used by any user on an instance.

How do I create a theme?

Create a directory, the name of which should contain only Latin letters and numbers, then create a file in this directory called theme.yml, and fill it with the following content:

id: vk2007
version: "0.0.1.0"
openvk_version: 0
enabled: 1
metadata:
    name:
        _: "V Kontakte 2007"
        en: "V Kontakte 2007"
        ru: "В Контакте 2007"
    author: "Veselcraft"
    description: "V Kontakte-stylized theme by 2007 era"

Where:

id is the name of the folder

version is the version of the theme

openvk_version is the version of OpenVK (it is necessary to leave the value to 0)

metadata:

  • name - the name of the theme for the end user. Inside it you can leave names for different languages. _ (underscore) is for all languages.

Next, in stylesheet.css you can insert any CSS code, with which you can change the elements of the site. If you need additional pictures or resources, just create a res folder, and access the resources via the /themepack/{directory name}/{theme version}/resource/{resource} path.

To support the New Year's mood, which turns on automatically from December 1st to January 15th, create the file xmas.css in the res folder, and make the necessary changes.

After all, the directory hierarchy should look like this:

vk2007:
- res
  - {resources}
- stylesheet.css
- theme.yml