Commit graph

24 commits

Author SHA1 Message Date
James Koster
6da59b8b59 revert static var 2016-03-17 10:53:28 +00:00
Ernesto Méndez
767a1467fe Optimize calls for Storefront_Customizer::get_storefront_theme_mods()
Currently, each call to `Storefront_Customizer::get_storefront_theme_mods()` incurs several calls to `get_theme_mod()`. Since the method is used in other places, it is a good idea to cache the results during runtime to improve performance. Subsequent calls to the method will use the cached data instead.
2016-03-16 12:10:58 -04:00
James Koster
9dd25a244c Assign Storefront theme mods to a single option. #348
That option is update on theme switch and customizer save.
The inline styles add that option, or the raw settings/styles if the
Customiser is open.
Also adds various new methods to the Storefront_Customizer class to get
styles/theme mods.
2016-03-16 14:15:39 +00:00
James Koster
25bd98c449 improve cart on handheld devices. 2016-03-16 10:24:48 +00:00
James Koster
1d6eec5cac animate the menu toggle button icon 2016-03-15 16:06:04 +00:00
James Koster
f66f11ce9d automate the styling of the menu toggle button. closes #342 2016-03-15 15:57:26 +00:00
James Koster
34aad619e5 revert the default settings 2016-03-03 13:38:40 +00:00
James Koster
335c59035b spacing 2016-03-03 13:27:26 +00:00
James Koster
7b52f2e393 use get_storefront_default_setting_values to set defaults 2016-03-03 11:45:09 +00:00
James Koster
1409ee5c66 lots of coding standards tweaks. #326 2016-02-19 16:57:56 +00:00
James Koster
c4920aad86 add priorities for clarity 2016-02-17 17:50:07 +00:00
James Koster
d9d593a2f9 Ensure our defaults are set if no setting is found. 2016-02-15 16:27:06 +00:00
James Koster
5873a44aeb search icon color 2016-02-09 14:35:41 +00:00
James Koster
fd4c2b4972 adds a menu bar on handheld devices. #315 2016-02-08 17:13:41 +00:00
James Koster
27991ac746 active menu color 2016-02-08 11:02:56 +00:00
James Koster
9fb4fc3405 breadcrumb background color now calculated based on body background color 2016-02-05 10:04:10 +00:00
James Koster
cb910f4256 more color tweaks 2016-02-04 16:15:42 +00:00
James Koster
97eebe0924 A large code cleanup and sets $storefront_version as a global var
* Strip spaces
* more efficient syntax
* Coding standards compliance
2016-02-04 13:16:31 +00:00
James Koster
918a97ad49 remove unnecessary $default declarations in instances of get_theme_mod()
We don’t need to declare the default because it’s already set in
add_setting()
2016-02-04 10:17:04 +00:00
James Koster
edcc8fc068 tweak header link colors 2016-02-04 09:56:17 +00:00
James Koster
8f3ae14baf reset accent colors to grey 2016-02-03 14:45:30 +00:00
James Koster
0d924bf319 set the default accent color to 'storefront orange' and adjust dropdown background colors 2016-02-03 13:58:55 +00:00
James Koster
ea98d8019b Some styling tweaks 2016-01-28 11:34:37 +00:00
James Koster
7bb9c30d8f file restructuring 2016-01-21 13:50:52 +00:00
Renamed from inc/class-storefront-customizer.php (Browse further)