Skip to content

Commit

Permalink
Merge pull request #44 from adorade/v1-dev
Browse files Browse the repository at this point in the history
Update theme version to 1.1.0
  • Loading branch information
adorade authored Mar 10, 2023
2 parents 31287e3 + 4f2dfff commit ce35388
Show file tree
Hide file tree
Showing 17 changed files with 36 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [14]
node: [18]

runs-on: ${{ matrix.os }}

Expand Down
3 changes: 3 additions & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://stylelint.io/user-guide/configuration/#stylelintignore
**/*.min.css
**/*.css
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 - 2023 Adorade
Copyright (c) 2022-23 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
Expand Down
22 changes: 14 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

![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)
[![GitHub package.json version](https://img.shields.io/github/package-json/v/adorade/boodark?color=green&logo=github)](https://github.com/adorade/boodark/blob/main/package.json)
[![license](https://img.shields.io/github/license/adorade/boodark)](https://mit-license.org)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/adorade/boodark/node.yml?label=Test%20CI&logo=github)](https://github.com/adorade/boodark/actions/workflows/node.yml)


> Bootstrap Dark theme for phpMyAdmin
Expand All @@ -19,6 +21,7 @@
- Designer adjusted for dark theme
- Console adjusted for dark theme
- Inline SVG using `escape-svg` function
- Color Schemes: `cyan` (main), `teal`, `nord` and `orange`

## Demo

Expand Down Expand Up @@ -70,9 +73,10 @@ To build the theme or customize it with your preferences you must have **Node**,

6. Theme files are in `themes/boodark`.

## Color Scheme
## Color Schemes

BooDark has several color schemes: _cyan_ (default), _teal_, _nord_ and _orange_. There is currently no way to change the color scheme in GUI.
BooDark has several color schemes: `cyan` (main), `teal`, `nord` and `orange`.
**There is currently no way to change the color scheme in GUI.**

**How to change color scheme?**

Expand All @@ -83,12 +87,14 @@ Option 1. Edit `scss/_variables.scss` (see [Building](#building))
// Values: "cyan", "teal", "nord", "orange"
// Default: "cyan"
// Set this value for the desired color scheme
// Change cyan
// --- Change cyan
$color-scheme: cyan !default;
// to nord
// --- to nord
$color-scheme: nord !default;
// then run `yarn run build`
// --- then run `yarn run build`
```

Option 2. Replace the CSS files. For example:
Expand All @@ -105,7 +111,7 @@ Have a bug or a feature request? Please search for existing and closed issues. I
## License

BooDark Theme is licensed under [MIT](LICENSE).
Copyright (c) 2022 - 2023 [Adorade](https://github.com/adorade)
Copyright (c) 2022-23 [Adorade](https://github.com/adorade)

## Thanks for use

Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "boodark",
"version": "1.1.0-beta",
"version": "1.1.0",
"description": "Bootstrap Dark theme for phpMyAdmin",
"repository": "https://github.com/adorade/boodark.git",
"author": "Adorade",
Expand All @@ -15,7 +15,6 @@
"css-rtl": "rtlcss -c .rtlcssrc.json themes/boodark/css/theme.css"
},
"dependencies": {
"@popperjs/core": "2.11.6",
"autoprefixer": "10.4.13",
"bootstrap": "5.2.3",
"postcss": "8.4.21",
Expand Down
4 changes: 2 additions & 2 deletions themes/boodark/css/theme-nord.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/boodark/css/theme-nord.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions themes/boodark/css/theme-orange.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/boodark/css/theme-orange.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions themes/boodark/css/theme-teal.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/boodark/css/theme-teal.css.map

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/boodark/css/theme.css.map

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/boodark/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// =============================================================================

// Theme version
$pma-theme-version: "1.1.0-beta";
$pma-theme-version: "1.1.0";

// PMA color system
// -----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion themes/boodark/theme.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "BooDark",
"version": "1.1.0-beta",
"version": "1.1.0",
"description": "Bootstrap Dark theme for phpMyAdmin",
"author": "adorade",
"url": "https://github.com/adorade/boodark",
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@
"@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0"

"@popperjs/core@2.11.6":
version "2.11.6"
resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45"
integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw==

"@types/minimist@^1.2.0":
version "1.2.2"
resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.2.tgz#ee771e2ba4b3dc5b372935d549fd9617bf345b8c"
Expand Down

0 comments on commit ce35388

Please sign in to comment.