Add USWDS color scheme.
As a first draft of a U.S. Web Design Standards theme, this selects uses reasonable colors from its 508-compliant color pallet.pull/26/head
parent
486bfa9aba
commit
cbd414485f
|
|
@ -50,12 +50,15 @@ This package ships with optional themes as fixtures, they can be installed using
|
||||||
##### Django theme (default):
|
##### Django theme (default):
|
||||||
Run ``python manage.py loaddata admin_interface_theme_django.json``
|
Run ``python manage.py loaddata admin_interface_theme_django.json``
|
||||||
|
|
||||||
##### Bootstrap theme:
|
##### [Bootstrap](http://getbootstrap.com/) theme:
|
||||||
Run ``python manage.py loaddata admin_interface_theme_bootstrap.json``
|
Run ``python manage.py loaddata admin_interface_theme_bootstrap.json``
|
||||||
|
|
||||||
##### Foundation theme:
|
##### [Foundation](http://foundation.zurb.com/) theme:
|
||||||
Run ``python manage.py loaddata admin_interface_theme_foundation.json``
|
Run ``python manage.py loaddata admin_interface_theme_foundation.json``
|
||||||
|
|
||||||
|
##### [U.S. Web Design Standards](https://standards.usa.gov/) theme:
|
||||||
|
Run ``python manage.py loaddata admin_interface_theme_uswds.json``
|
||||||
|
|
||||||
### Add more themes
|
### Add more themes
|
||||||
You can add a theme you've created through the admin to this repository by [sending us a PR](http://makeapullrequest.com/). Here are the steps to follow to add :
|
You can add a theme you've created through the admin to this repository by [sending us a PR](http://makeapullrequest.com/). Here are the steps to follow to add :
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,39 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"model": "admin_interface.theme",
|
||||||
|
"fields": {
|
||||||
|
"name": "USWDS",
|
||||||
|
"active": true,
|
||||||
|
"title": "Site administration",
|
||||||
|
"title_color": "#FFFFFF",
|
||||||
|
"title_visible": true,
|
||||||
|
"logo": "",
|
||||||
|
"logo_color": "#FFFFFF",
|
||||||
|
"logo_visible": false,
|
||||||
|
"css_header_background_color": "#112E51",
|
||||||
|
"css_header_text_color": "#FFFFFF",
|
||||||
|
"css_header_link_color": "#FFFFFF",
|
||||||
|
"css_header_link_hover_color": "#E1F3F8",
|
||||||
|
"css_module_background_color": "#205493",
|
||||||
|
"css_module_text_color": "#FFFFFF",
|
||||||
|
"css_module_link_color": "#FFFFFF",
|
||||||
|
"css_module_link_hover_color": "#E1F3F8",
|
||||||
|
"css_module_rounded_corners": true,
|
||||||
|
"css_generic_link_color": "#205493",
|
||||||
|
"css_generic_link_hover_color": "#0071BC",
|
||||||
|
"css_save_button_background_color": "#205493",
|
||||||
|
"css_save_button_background_hover_color": "#112E51",
|
||||||
|
"css_save_button_text_color": "#FFFFFF",
|
||||||
|
"css_delete_button_background_color": "#CD2026",
|
||||||
|
"css_delete_button_background_hover_color": "#981B1E",
|
||||||
|
"css_delete_button_text_color": "#FFFFFF",
|
||||||
|
"css": "",
|
||||||
|
"related_modal_active": true,
|
||||||
|
"related_modal_background_color": "#000000",
|
||||||
|
"related_modal_background_opacity": 0.8,
|
||||||
|
"related_modal_rounded_corners": true,
|
||||||
|
"list_filter_dropdown": false,
|
||||||
|
"recent_actions_visible": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
Loading…
Reference in New Issue