Skip to content

Commit

Permalink
chore(initial): first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
adorade committed Oct 4, 2022
0 parents commit 9de2c59
Show file tree
Hide file tree
Showing 295 changed files with 8,571 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# https://github.com/browserslist/browserslist#readme

>= 0.5%
last 2 major versions
not dead
Chrome >= 60
Firefox >= 60
Firefox ESR
iOS >= 12
Safari >= 12
not Explorer <= 11
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# EditorConfig.org

root = true

[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
indent_style = space
indent_size = 4

[{*.{sql,scss,css,twig,yml},package.json}]
indent_size = 2

[*.twig]
insert_final_newline = false

[test/test_data/*]
insert_final_newline = false
25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# https://git-scm.com/docs/gitignore
# Files to ignore
.todo
desktop.ini
*_*.ico
themes/boodark/scss/__debug.scss

# OS or Editor folders
._*
.cache
.DS_Store
.idea
.project
.settings
.tmproj
*.esproj
*.sublime-project
*.sublime-workspace
nbproject
Thumbs.db
/.vscode/

# Folders to ignore
/archive/
/node_modules/
3 changes: 3 additions & 0 deletions .rtlcssrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"map": true
}
55 changes: 55 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"extends": [
"stylelint-config-standard-scss",
"stylelint-config-recommended-scss"
],
"rules": {
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"block-closing-brace-newline-after": ["always", {
"ignoreAtRules": ["if", "else"]
}],
"at-rule-empty-line-before": ["always", {
"except": [
"blockless-after-same-name-blockless",
"first-nested"
],
"ignore": ["after-comment"],
"ignoreAtRules": ["else"]
}],
"value-keyword-case": [
"lower",
{
"ignoreProperties": [
"$font-family-monospace"
],
"camelCaseSvgKeywords": true
}
],
"alpha-value-notation": null,
"block-closing-brace-empty-line-before": null,
"color-function-notation": null,
"color-hex-case": null,
"custom-property-empty-line-before": null,
"declaration-bang-space-before": null,
"declaration-block-no-redundant-longhand-properties": null,
"declaration-block-trailing-semicolon": null,
"declaration-empty-line-before": null,
"function-url-quotes": null,
"length-zero-no-unit": null,
"max-empty-lines": null,
"max-line-length": null,
"number-leading-zero": null,
"property-no-vendor-prefix": null,
"rule-empty-line-before": null,
"selector-attribute-quotes": null,
"selector-class-pattern": null,
"selector-id-pattern": null,
"selector-list-comma-newline-after": null,
"shorthand-property-no-redundant-values": null,
"string-quotes": null,
"scss/double-slash-comment-empty-line-before": null,
"scss/double-slash-comment-whitespace-inside": null,
"scss/no-global-function-names": null
}
}
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2022 Adorade

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Boodark

![Screenshot](themes/boodark/screen.png)

[![GitHub package.json version](https://img.shields.io/github/package-json/v/adorade/boodark.svg?label=&color=green&logo=github)](https://github.com/adorade/boodark/blob/main/package.json)
[![license](https://img.shields.io/github/license/adorade/boodark.svg?label=)](https://mit-license.org)

> Bootstrap Dark theme for phpMyAdmin
- Supported versions: 5.1, 5.2
- Bootstrap v5.1.3

## Changes

- Background color changed: shades of gray & black
- Fonts color changed: shades of white & light gray
- Default SQL Query editor color theme changed
- jQuery UI improved: ui-darkness
- Designer adjusted for dark theme
- Console adjusted for dark theme
- Inline SVG using `escape-svg` function

## Building

```sh
yarn install
yarn run build
```

## Bugs and feature requests

Have a bug or a feature request? Please search for existing and closed issues. If your problem or idea is not addressed yet, [please open a new issue](https://github.com/adorade/boodark/issues/new).
36 changes: 36 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "boodark",
"version": "1.0.0",
"description": "Bootstrap Dark theme for phpMyAdmin",
"repository": "https://github.com/adorade/boodark.git",
"author": "Adorade",
"scripts": {
"postinstall": "yarn run build",
"build": "yarn run css-compile && yarn run css-prefix && yarn run css-rtl",
"css-compile": "sass themes/boodark/scss:themes/boodark/css --style=compressed",
"css-dev": "sass themes/boodark/scss:themes/boodark/css --style=expanded --watch",
"css-lint": "stylelint themes/boodark/scss/*.scss",
"css-prefix": "postcss themes/boodark/css/*.css --use autoprefixer --replace",
"css-rtl": "rtlcss -c .rtlcssrc.json themes/boodark/css/theme.css"
},
"dependencies": {
"@popperjs/core": "2.11.6",
"autoprefixer": "10.4.12",
"bootstrap": "5.1.3",
"postcss": "8.4.16",
"postcss-cli": "10.0.0",
"rtlcss": "4.0.0",
"sass": "1.54.9"
},
"devDependencies": {
"stylelint": "14.12.0",
"stylelint-config-recommended-scss": "7.0.0",
"stylelint-config-standard-scss": "5.0.0",
"stylelint-scss": "4.3.0"
},
"engines": {
"node": ">=14"
},
"license": "MIT",
"private": true
}
3 changes: 3 additions & 0 deletions themes/boodark/css/theme.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions themes/boodark/css/theme.css.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions themes/boodark/css/theme.rtl.css

Large diffs are not rendered by default.

Binary file added themes/boodark/img/PhpMyAdmin_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/ajax_clock_small.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/arrow_ltr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/arrow_rtl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/asc_order.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/b_calendar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/b_dbstatistics.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/b_docsql.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/b_firstpage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/b_inline_edit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/b_key.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/b_lastpage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/b_left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/b_newtbl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/b_nextpage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/b_pdfdoc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/b_prevpage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions themes/boodark/img/b_rename.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/b_right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/b_sdb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/b_snewtbl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/b_sqldoc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/b_tipp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/b_undo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/b_view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/boodark/img/bd_browse.png
Binary file added themes/boodark/img/bd_deltbl.png
Binary file added themes/boodark/img/bd_drop.png
Binary file added themes/boodark/img/bd_edit.png
Binary file added themes/boodark/img/bd_empty.png
Binary file added themes/boodark/img/bd_export.png
Binary file added themes/boodark/img/bd_firstpage.png
Binary file added themes/boodark/img/bd_ftext.png
Binary file added themes/boodark/img/bd_index.png
Binary file added themes/boodark/img/bd_insrow.png
Binary file added themes/boodark/img/bd_lastpage.png
Binary file added themes/boodark/img/bd_nextpage.png
Binary file added themes/boodark/img/bd_prevpage.png
Binary file added themes/boodark/img/bd_routine_add.png
Binary file added themes/boodark/img/bd_sbrowse.png
Binary file added themes/boodark/img/bd_select.png
Binary file added themes/boodark/img/bd_spatial.png
Binary file added themes/boodark/img/bd_unique.png
1 change: 1 addition & 0 deletions themes/boodark/img/bookmark-plus.svg
1 change: 1 addition & 0 deletions themes/boodark/img/caret-up-stop.svg
1 change: 1 addition & 0 deletions themes/boodark/img/charset.svg
1 change: 1 addition & 0 deletions themes/boodark/img/chart.svg
1 change: 1 addition & 0 deletions themes/boodark/img/check.svg
1 change: 1 addition & 0 deletions themes/boodark/img/close.svg
1 change: 1 addition & 0 deletions themes/boodark/img/col-minus.svg
1 change: 1 addition & 0 deletions themes/boodark/img/col-move.svg
1 change: 1 addition & 0 deletions themes/boodark/img/col-plus.svg
1 change: 1 addition & 0 deletions themes/boodark/img/col.svg
Binary file added themes/boodark/img/col_drop.png
Binary file added themes/boodark/img/col_pointer.png
Binary file added themes/boodark/img/col_pointer_ver.png
1 change: 1 addition & 0 deletions themes/boodark/img/collapse-all.svg
1 change: 1 addition & 0 deletions themes/boodark/img/comment.svg
1 change: 1 addition & 0 deletions themes/boodark/img/console.svg
1 change: 1 addition & 0 deletions themes/boodark/img/database-engine.svg
1 change: 1 addition & 0 deletions themes/boodark/img/database-minus.svg
1 change: 1 addition & 0 deletions themes/boodark/img/database-plus.svg
1 change: 1 addition & 0 deletions themes/boodark/img/database-vars.svg
1 change: 1 addition & 0 deletions themes/boodark/img/database.svg
1 change: 1 addition & 0 deletions themes/boodark/img/databases.svg
1 change: 1 addition & 0 deletions themes/boodark/img/designer.svg
Binary file added themes/boodark/img/designer/1.png
Binary file added themes/boodark/img/designer/2.png
Binary file added themes/boodark/img/designer/2leftarrow.png
Binary file added themes/boodark/img/designer/2leftarrow_m.png
Binary file added themes/boodark/img/designer/2rightarrow.png
Binary file added themes/boodark/img/designer/2rightarrow_m.png
Binary file added themes/boodark/img/designer/3.png
Binary file added themes/boodark/img/designer/4.png
Binary file added themes/boodark/img/designer/5.png
Binary file added themes/boodark/img/designer/6.png
Binary file added themes/boodark/img/designer/7.png
Binary file added themes/boodark/img/designer/8.png
Binary file added themes/boodark/img/designer/FieldKey_small.png
Binary file added themes/boodark/img/designer/Field_small.png
Binary file added themes/boodark/img/designer/Field_small_char.png
Binary file added themes/boodark/img/designer/Field_small_date.png
Binary file added themes/boodark/img/designer/Field_small_int.png
Binary file added themes/boodark/img/designer/anchor.png
Binary file added themes/boodark/img/designer/and_icon.png
Binary file added themes/boodark/img/designer/ang_direct.png
Binary file added themes/boodark/img/designer/bord.png
Binary file added themes/boodark/img/designer/bottom.png
Binary file added themes/boodark/img/designer/def.png
Binary file added themes/boodark/img/designer/display_field.png
Binary file added themes/boodark/img/designer/downarrow1.png
Binary file added themes/boodark/img/designer/downarrow2.png
Binary file added themes/boodark/img/designer/downarrow2_m.png
Binary file added themes/boodark/img/designer/exec.png
Binary file added themes/boodark/img/designer/exec_small.png
Binary file added themes/boodark/img/designer/exitFullscreen.png
Binary file added themes/boodark/img/designer/export.png
Binary file added themes/boodark/img/designer/favicon.ico
Binary file not shown.
Binary file added themes/boodark/img/designer/grid.png
Binary file added themes/boodark/img/designer/help.png
Binary file added themes/boodark/img/designer/help_relation.png
Binary file added themes/boodark/img/designer/left_panel_tab.png
Binary file added themes/boodark/img/designer/minus.png
Binary file added themes/boodark/img/designer/or_icon.png
Binary file added themes/boodark/img/designer/other_table.png
Binary file added themes/boodark/img/designer/page_add.png
Binary file added themes/boodark/img/designer/page_delete.png
Binary file added themes/boodark/img/designer/page_edit.png
Binary file added themes/boodark/img/designer/pdf.png
Binary file added themes/boodark/img/designer/plus.png
Binary file added themes/boodark/img/designer/query_builder.png
Binary file added themes/boodark/img/designer/relation.png
Binary file added themes/boodark/img/designer/reload.png
Binary file added themes/boodark/img/designer/resize.png
Binary file added themes/boodark/img/designer/resizeright.png
Binary file added themes/boodark/img/designer/rightarrow1.png
Binary file added themes/boodark/img/designer/rightarrow2.png
Binary file added themes/boodark/img/designer/save.png
Binary file added themes/boodark/img/designer/save_as.png
Binary file added themes/boodark/img/designer/small_tab.png
Binary file added themes/boodark/img/designer/table.png
Binary file added themes/boodark/img/designer/toggle_lines.png
Binary file added themes/boodark/img/designer/top_panel.png
Binary file added themes/boodark/img/designer/uparrow2_m.png
Binary file added themes/boodark/img/designer/viewInFullscreen.png
Binary file added themes/boodark/img/east-mini.png
1 change: 1 addition & 0 deletions themes/boodark/img/edit.svg
Binary file added themes/boodark/img/error.ico
Binary file not shown.
1 change: 1 addition & 0 deletions themes/boodark/img/error.svg
1 change: 1 addition & 0 deletions themes/boodark/img/event-plus.svg
1 change: 1 addition & 0 deletions themes/boodark/img/event.svg
1 change: 1 addition & 0 deletions themes/boodark/img/export.svg
Binary file added themes/boodark/img/eye_grey.png
1 change: 1 addition & 0 deletions themes/boodark/img/favorite-alt.svg
1 change: 1 addition & 0 deletions themes/boodark/img/favorite.svg
1 change: 1 addition & 0 deletions themes/boodark/img/field-index-text.svg
1 change: 1 addition & 0 deletions themes/boodark/img/field-index-uinique.svg
1 change: 1 addition & 0 deletions themes/boodark/img/field-index.svg
1 change: 1 addition & 0 deletions themes/boodark/img/field-spatial.svg
1 change: 1 addition & 0 deletions themes/boodark/img/flag-plus.svg
1 change: 1 addition & 0 deletions themes/boodark/img/flag.svg
1 change: 1 addition & 0 deletions themes/boodark/img/gear.svg
1 change: 1 addition & 0 deletions themes/boodark/img/glasses.svg
1 change: 1 addition & 0 deletions themes/boodark/img/globe-alt.svg
Loading

0 comments on commit 9de2c59

Please sign in to comment.