mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 15:35:46 +07:00

Express (re-express) a bunch of SCSS rules in terms of CSS variables, and create a darkified version. Based entirely on prefers-color-scheme, as apparently there's no native in-document way to force that out and I can't be arsed to add an entire override on a stick. If you want to toggle the page, use toggley. Not claiming the scheme looks any good tho, it's very dark indeed. But it should limit the levels of flashbanging... until you open the backend and die anyway. Fix #1021
42 lines
1.3 KiB
Python
42 lines
1.3 KiB
Python
{
|
|
'name': 'merge bot',
|
|
'version': '1.16',
|
|
'depends': ['contacts', 'mail', 'website'],
|
|
'data': [
|
|
'security/security.xml',
|
|
'security/ir.model.access.csv',
|
|
|
|
'data/merge_cron.xml',
|
|
'models/crons/git_maintenance.xml',
|
|
'models/crons/cleanup_scratch_branches.xml',
|
|
'models/crons/issues_closer.xml',
|
|
'data/runbot_merge.pull_requests.feedback.template.csv',
|
|
'views/res_partner.xml',
|
|
'views/runbot_merge_project.xml',
|
|
'views/batch.xml',
|
|
'views/mergebot.xml',
|
|
'views/queues.xml',
|
|
'views/configuration.xml',
|
|
'views/templates.xml',
|
|
'models/project_freeze/views.xml',
|
|
'models/staging_cancel/views.xml',
|
|
'models/backport/views.xml',
|
|
'models/ir_cron/views.xml',
|
|
],
|
|
'assets': {
|
|
'web._assets_primary_variables': [
|
|
('prepend', 'runbot_merge/static/scss/primary_variables.scss'),
|
|
],
|
|
'web.assets_frontend': [
|
|
'runbot_merge/static/scss/revariable.scss',
|
|
'runbot_merge/static/scss/runbot_merge.scss',
|
|
],
|
|
'web.assets_backend': [
|
|
'runbot_merge/static/scss/runbot_merge_backend.scss',
|
|
],
|
|
},
|
|
'post_load': 'enable_sentry',
|
|
'pre_init_hook': '_check_citext',
|
|
'license': 'LGPL-3',
|
|
}
|