This repository has been archived by the owner on Apr 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add theme_openspp_muk backend theme that extends MuK theme
- Loading branch information
1 parent
cd6cdce
commit 98217dd
Showing
11 changed files
with
537 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "OpenSPP Theme (Muk Theme)", | ||
"author": "OpenSPP.org", | ||
"website": "https://github.com/openspp/openspp-modules", | ||
"category": "Theme", | ||
"version": "17.0.1.0.0", | ||
"depends": ["web", "muk_web_theme"], | ||
"license": "AGPL-3", | ||
"development_status": "Beta", | ||
"maintainers": ["jeremi", "gonzalesedwin1123"], | ||
"data": [], | ||
"assets": { | ||
"web._assets_primary_variables": [ | ||
"theme_openspp_muk/static/src/scss/colors.scss", | ||
"theme_openspp_muk/static/src/scss/colors_light.scss", | ||
], | ||
"web.assets_web_dark": ["theme_openspp_muk/static/src/scss/colors_dark.scss"], | ||
"web.assets_backend": ["theme_openspp_muk/static/src/scss/navbar.scss"], | ||
}, | ||
"application": True, | ||
"installable": True, | ||
"auto_install": False, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import res_config_settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from odoo import models | ||
|
||
|
||
class ResConfigSettings(models.TransientModel): | ||
|
||
_inherit = "res.config.settings" | ||
|
||
@property | ||
def COLOR_ASSET_THEME_URL(self): | ||
return "/theme_openspp_muk/static/src/scss/colors.scss" | ||
|
||
@property | ||
def COLOR_ASSET_LIGHT_URL(self): | ||
return "/theme_openspp_muk/static/src/scss/colors_light.scss" | ||
|
||
@property | ||
def COLOR_ASSET_DARK_URL(self): | ||
return "/theme_openspp_muk/static/src/scss/colors_dark.scss" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.