themes icon indicating copy to clipboard operation
themes copied to clipboard

Blueberry Theme - phpMyadmin v5.1

Open movahhedi opened this issue 2 years ago • 11 comments

Blueberry PHPMyAdmin Theme

Blueberry is a modern dark theme for PHPMyAdmin, based on "pmahomme" theme (The default theme in PHPMyAdmin).

Developed by Shahab Movahhedi

Developments and Copyrights

To build it for development, you need these:

The icons used in Blueberry is from Fluency (Fluent UI) icon set by Microsoft (Thanks to Icons8)

My custom jQuery UI v1.13.1 CSS is also used. Check it out here

Any Ideas?

Tell me your ideas as an Issue at https://github.com/movahhedi/blueberry-pma-theme/issues

movahhedi avatar May 09 '22 09:05 movahhedi

Hi! Thank you for this new theme!

PMA doesn't support Bootstrap 5

I am not sure about that, @MauricioFauth do you have some feedback?

williamdes avatar May 09 '22 11:05 williamdes

At first I used Bootstrap 5 to compile and edit Blueberry theme, but there were errors and unintended changes compared to pmahomme. I found out Bootstrap 5 had at least a few changes that phpMyAdmin doesn't support [yet]. Such as:

  • Changing direction-specific values of left, right to direction-neutral values start, end, and thus change of some classnames such as ml-2 (margin-left) to ms-2 (margin-inline-start)
  • Changes in media queries and function names
  • Removing the sr-only class (screen-readers-only)

Plus, I suggest changing all the SCSS variables of $left, $right to direction-neutral names of $direction-start, $direction-end (used in Blueberry too) and gradually expanding it to the phpMyAdmin core.

movahhedi avatar May 09 '22 12:05 movahhedi

I love the new name!

williamdes avatar May 11 '22 10:05 williamdes

I renamed the theme from Shahab to Blueberry.

movahhedi avatar May 11 '22 10:05 movahhedi

Thanks. Added a screenshot of the database page.

movahhedi avatar May 11 '22 11:05 movahhedi

I think Blueberry 1.0.1 is quite ready for release now. I created a release for it too. Do you agree? @williamdes @MauricioFauth

movahhedi avatar May 14 '22 11:05 movahhedi

This looks very nice. I agree that we should incorporate this to phpMyAdmin. Thanks.

ibennetch avatar May 14 '22 12:05 ibennetch

I started trying it on 5.2 and I have some text display issues Did you make it compatible for 5.2 ?

image

williamdes avatar May 24 '22 14:05 williamdes

I am using it with version 5.1.3 There is a little issue ^^ the "Designer" and "Central colums" disappear from the navbar when i go with : localhost/phpmyadmin/index.php?route=%2Fdatabase%2Fstructure&db= they show up for a sec but they desappear whenever i click on anything :( you need to add them to The structure below where there is /database/ instead of %2Fdatabase%2F localhost/phpmyadmin/index.php?route=/database/structure&server=1&db=

I liked your theme a lot it's awsome but since i use a lot of relations and the Designier i need to add %2F every time manualy

nidhalom avatar May 25 '22 16:05 nidhalom

I am using it with version 5.1.3 There is a little issue ^^ the "Designer" and "Central colums" disappear from the navbar when i go with : localhost/phpmyadmin/index.php?route=%2Fdatabase%2Fstructure&db= they show up for a sec but they desappear whenever i click on anything :( you need to add them to The structure below where there is /database/ instead of %2Fdatabase%2F localhost/phpmyadmin/index.php?route=/database/structure&server=1&db=

I liked your theme a lot it's awsome but since i use a lot of relations and the Designier i need to add %2F every time manualy

Please open an issue on the phpMyAdmin repository for this because I do not think it is related to the theme :) Also I would recommend you to test 5.2.0 because no more 5.1 versions will be done normally, 5.2 is the new stable

williamdes avatar May 25 '22 19:05 williamdes

I've been very busy lately. I'll check and fix the issues soon.

movahhedi avatar Jun 08 '22 12:06 movahhedi

I'd love to release this for 5.2 if it could be updated.

ibennetch avatar Oct 23 '22 21:10 ibennetch

Aye, aye, captain. Will do.

movahhedi avatar Oct 24 '22 04:10 movahhedi

I made some changes to make Blueberry compatible with PMA v5.2 + The Bootstrap version is now v5.2.2. Any thoughts? @ibennetch @williamdes

movahhedi avatar Oct 24 '22 11:10 movahhedi

Personally, I really like this theme. The icons are bold and the whole thing is appropriately dark.

Anyway, I'm merging and releasing it. Thank you for your contribution and for the fixes.

ibennetch avatar Oct 30 '22 02:10 ibennetch