Commit a4c9bbd
Feat: Global Color Schemes (#3457)
* init
* feat: inspector-sub-header for new global settings
* working responsive in editor and frontend
* hover state
* hover states
* fix: use onClick properly
* feat: global font pairs
* fix: use new scraped font pairs; adjust code to simpler json structure
* fix: make scrolling to current font pair independent from current view
* fix: rename stackable_font_pair_name to stackable_selected_font_pair
* fix: rename stackable_font_pair_name to stackable_selected_font_pair, reset previous commit
* fix: move bulk of code to FontPairPicker, restructure with consistent naming
* apply other block layouts
* init
* change request part 1
* feat: separate pro features
* fix: proper resetting in editingMode and in not
* feat: add confirmation when changing font pair while dirty
* styling tweaks
* fix: make typography settings headings consistent
* fix: error when no previously selected font pair
* fix: pro notice update, translation, renaming default theme
* change request part 2
-hover state notice
-orange indicator
-reset button
-bug fixes
* fix: move editingMode to pro code
* fix: error when resetting
* change block components placeholder
* fix: reset display bug
* fix css
* feat: inspector-sub-header for new global settings
* fix: use onClick properly
* feat: global font pairs
* fix: use new scraped font pairs; adjust code to simpler json structure
* fix: make scrolling to current font pair independent from current view
* fix: rename stackable_font_pair_name to stackable_selected_font_pair
* fix: rename stackable_font_pair_name to stackable_selected_font_pair, reset previous commit
* fix: move bulk of code to FontPairPicker, restructure with consistent naming
* feat: separate pro features
* styling tweaks
* fix: proper resetting in editingMode and in not
* feat: add confirmation when changing font pair while dirty
* fix: make typography settings headings consistent
* fix: error when no previously selected font pair
* fix: pro notice update, translation, renaming default theme
* fix: move editingMode to pro code
* fix: error when resetting
* fix: reset display bug
* Revert "Merge branch 'feat/3448-global-font-pairs' of https://github.com/gambitph/Stackable into feat/3448-global-font-pairs"
This reverts commit 52ca1c1, reversing
changes made to 889ed65.
* fix: pro notice button
* separate into spacing and borders, buttons and icons
* fix code
* rename functions
* fix four range control initial position
* border width in block editor override default
* include defaults.json
* add script for animation if block layout has hover
* fix bug (border width and border type)
* add import
* tweaks to the reset all button
* fix borderWidth override
* fix breakpoints
- use only 1 hook
- fix typography breakpoint issue
* fix hover animations, use stackable_frontend_css
* add desc and tooltips
* fix bug with shadow colors that uses rgba
* tweaked and rearranged settings. added correct docs. updated text
* use block-design-system.json
* remove defaults.json from buildInclude in gulp
* add documentation
* custom icons
* update block-design-system files
* create array/object for four-range values
* default color schemes
- add color scheme attributes
- save default color schemes to database
* add presets, proControl, filters for premium
* fix missing cssvar
* add reset and delete func, rearranged stuff
* fix block color scheme selector
* update pro notice
* init apply color scheme styles
* apply color schemes to editor and frontend
* remove bg color for :root
* fix typo
* fix color schemes if empty
* update comment
* update preset picker, add duplicate fx
* show color scheme colors in picker
* fix add function, fix frontend if default is empty
* only add colors that have value in the picker
* move toggle to color palette, rearrange settings
* update global colors test
* update global-settings test
* hover state
* update toggle in color palette
* update color scheme preview and color picker
* fix preview in edit
* fix color palette controls
* update editor loader
* apply parent-hover styles on frontend, add theme compatibility
* hover states
* fix array_map function
* fix other array_map functions
* fix theme compatibility
* add more presets, move theme compatibility code
* add documentation
* Update src/components/pro-control/index.js [skip ci]
* fix for moving background image on hover
* remove static from function
* minor fixes
translatable text,
use lodash's kebabCase,
add prefix,
use array_column,
rename namespace
* cache color scheme css
---------
Co-authored-by: Alquen Sarmiento <[email protected]>
Co-authored-by: Gambit <[email protected]>
Co-authored-by: [email protected] <>
Co-authored-by: Benjamin Intal <[email protected]>1 parent 8e4a0ce commit a4c9bbd
File tree
61 files changed
+2644
-96
lines changed- .vscode
- e2e/tests
- src
- block-components
- block-div
- container-div
- block
- countdown
- divider
- icon-list-item
- number-box
- progress-bar
- progress-circle
- table-of-contents
- timeline
- compatibility/blocksy
- components
- advanced-select-control
- advanced-text-control
- base-control2
- color-palette-control
- color-scheme-preview
- inspector-sub-header
- pro-control
- section-settings
- sortable-picker
- hooks
- plugins
- editor-device-preview-class
- global-settings
- buttons-and-icons
- color-schemes
- colors
- spacing-and-borders
- utils
- styles
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
61 files changed
+2644
-96
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| 236 | + | |
236 | 237 | | |
237 | 238 | | |
238 | 239 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
37 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
38 | 47 | | |
39 | 48 | | |
40 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
41 | 56 | | |
42 | 57 | | |
43 | 58 | | |
| |||
75 | 90 | | |
76 | 91 | | |
77 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
78 | 104 | | |
79 | 105 | | |
80 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
| 136 | + | |
135 | 137 | | |
136 | 138 | | |
137 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
36 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
37 | 45 | | |
38 | 46 | | |
39 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
40 | 54 | | |
41 | 55 | | |
42 | 56 | | |
| |||
46 | 60 | | |
47 | 61 | | |
48 | 62 | | |
49 | | - | |
50 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
51 | 75 | | |
52 | 76 | | |
53 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
| |||
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
42 | | - | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
49 | 56 | | |
50 | 57 | | |
51 | 58 | | |
| |||
0 commit comments