not enough space on Arduino Explore

hi guys
I just wrote a super simple code for the Arduino Esplora, using 3 libraries. However, when I'm about to build it, the IDE says that there's not enough space. Some help?
Esplora library: 4,2 kb
Keyboard library: 3 kb
OneSheeld library (pushbutton only): about 2kb
total: 9kb
Esplora's flash size: 32kb, 4kb used by the bootloader.

code link: Arduino Cloud

What's the exact compiler error? Copy and paste it

U'll get theese numbers..

Skissen bruker 30 566 bytes (106%) av program lagrings minnet. Maks er 28 672 bytes
Globale variabler bruker 2 213 bytes (86%) av dynamisk minne

without "onesheeld" : 6 426 bytes (22%)

J-M-L:
What's the exact compiler error? Copy and paste it

here it is:

Sketch uses 30554 bytes (106%) of program storage space. Maximum is 28672 bytes.

Global variables use 2212 bytes (86%) of dynamic memory, leaving 348 bytes for local variables. Maximum is 2560 bytes.

Sketch too big; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing it.

Btw that's strange: with #define CUSTOM_SETTINGS and #define INCLUDE_PUSH_BUTTON_SHIELD I should include only a little part of the library. I'll ask in OneSheeld forum