Compare commits

..

5 Commits

10 changed files with 64 additions and 11 deletions

View File

@ -4,3 +4,15 @@ A plugin to add more pride flags to your Nextcloud!
The app supports setting pride-flags for various UI elements of your The app supports setting pride-flags for various UI elements of your
Nextcloud per-user, in the user settings section. Nextcloud per-user, in the user settings section.
![Nextcloud showing various elements in pan, trans, lesbian and rainbow pride flags](img/pride_flag_variants.png)
## Currently supported pride flags
- 'rainbow' pride flag
- trans pride flag
- pansexual pride flag
- non-binary pride flag
- bisexual pride flag
- asexual pride flag
- lesbian pride flag

View File

@ -13,14 +13,20 @@ Currently supported "targets":
Currently supported pride flags: Currently supported pride flags:
- Original 6 color rainbow pride flag - Original 6 color rainbow pride flag
- Trans pride flag - Trans pride flag
- Pansexual pride flag
- Non-binary pride flag
- Bisexual pride flag
- Asexual pride flag
- Lesbian pride flag
more flags to follow soon!</description> more flags to follow soon!</description>
<version>0.1.0</version> <version>1.0.0</version>
<licence>gpl3</licence> <licence>gpl3</licence>
<author mail="transcaffeine@finally.coffee" homepage="https://github.com/finally-coffee-nextcloud-pride-flags">transcaffeine</author> <author mail="transcaffeine@finally.coffee" homepage="https://github.com/finally-coffee-nextcloud-pride-flags">transcaffeine</author>
<namespace>PrideFlags</namespace> <namespace>PrideFlags</namespace>
<category>customization</category> <category>customization</category>
<bugs>https://github.com/finally-coffee/nextcloud-pride-flags/issues</bugs> <bugs>https://github.com/finally-coffee/nextcloud-pride-flags/issues</bugs>
<screenshot>https://raw.githubusercontent.com/finally-coffee/nextcloud-pride-flags/main/img/pride_flag_variants.png</screenshot>
<dependencies> <dependencies>
<nextcloud min-version="26" max-version="29"/> <nextcloud min-version="26" max-version="29"/>
</dependencies> </dependencies>

View File

@ -1,4 +1,4 @@
<? <?php
return [ return [
'routes' => [ 'routes' => [

View File

@ -9,6 +9,11 @@ Currently supported "targets":
Currently supported pride flags: Currently supported pride flags:
- Original 6 color rainbow pride flag - Original 6 color rainbow pride flag
- Trans pride flag - Trans pride flag
- Pansexual pride flag
- Non-binary pride flag
- Bisexual pride flag
- Asexual pride flag
- Lesbian pride flag
more flags to follow soon!", more flags to follow soon!",
"license": "GPL-3.0-or-later", "license": "GPL-3.0-or-later",

View File

@ -14,11 +14,10 @@
fill: var(--image-background-pride-button-gradient); fill: var(--image-background-pride-button-gradient);
} }
/* #app-navigation ul > li.active .material-design-icon__svg,
body { .button-vue--vue-primary .material-design-icon__svg,
--image-background-pride-button: var(--image-background-pride-trans); .preview-card__header .material-design-icon__svg,
--image-background-pride-folder: var(--image-background-pride-pride); .profile__primary-action-button .material-design-icon__svg,
--image-background-pride-button-gradient: var(--image-background-pride-gradient-pride); .app-navigation-entry.active .material-design-icon__svg {
--image-background-pride-folder-gradient: var(--image-background-pride-gradient-trans); fill: var(--color-primary-element-text);
} }
*/

BIN
img/pride_flag_variants.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

View File

@ -7,6 +7,27 @@ const flags = [
id: 'trans', id: 'trans',
colors: ['#55CDFC', '#F7A8B8', '#FFFFFF', '#F7A8B8', '#55CDFC'], colors: ['#55CDFC', '#F7A8B8', '#FFFFFF', '#F7A8B8', '#55CDFC'],
transform: 'rotate(90)' transform: 'rotate(90)'
}, {
id: 'pan',
colors: ['#FE218C', '#FFD800', '#21B1FF'],
transform: 'rotate(90)'
}, {
id: 'nonbinary',
colors: ['#FCF434', '#FFFFFF', '#9C59D1', '#2C2C2C'],
transform: 'rotate(90)'
}, {
id: 'bi',
// colors: ['#C42A6F', '#915392', '#1437A1'],
colors: ['#D60270', '#9B4F96', '#0038A8'],
transform: 'rotate(90)'
}, {
id: 'asexual',
colors: ['#000000', '#9F9F9F', '#FFFFFF', '#5E1984'],
transform: 'rotate(90)'
}, {
id: 'lesbian',
colors: ['#D52D00', '#EF7627', '#FF9A56', '#FFFFFF', '#D162A4', '#B55690', '#A30262'],
transform: 'rotate(90)'
} }
]; ];

View File

@ -1,4 +1,4 @@
<? <?php
namespace OCA\PrideFlags\Settings; namespace OCA\PrideFlags\Settings;

View File

@ -1,6 +1,6 @@
{ {
"name": "pride_flags", "name": "pride_flags",
"version": "0.1.0", "version": "1.0.0",
"license": "GPL-3.0-or-later", "license": "GPL-3.0-or-later",
"engines": { "engines": {
"node": "^20.0.0", "node": "^20.0.0",

View File

@ -9,6 +9,11 @@
<select id="user-settings-folder-flavour-select" style="display: flex; width: 200px;"> <select id="user-settings-folder-flavour-select" style="display: flex; width: 200px;">
<option value='pride'>Pride</option> <option value='pride'>Pride</option>
<option value='trans'>Trans Pride</option> <option value='trans'>Trans Pride</option>
<option value='pan'>Pansexual Pride</option>
<option value='nonbinary'>Non-binary Pride</option>
<option value='bi'>Bisexual Pride</option>
<option value='asexual'>Asexual Pride</option>
<option value='lesbian'>Lesbian Pride</option>
</select> </select>
</div> </div>
<div class="user-settings button-flavour" style="margin-left: 40px; display: flex;"> <div class="user-settings button-flavour" style="margin-left: 40px; display: flex;">
@ -16,6 +21,11 @@
<select id="user-settings-button-flavour-select" style="display: flex; width: 200px;"> <select id="user-settings-button-flavour-select" style="display: flex; width: 200px;">
<option value='pride'>Pride</option> <option value='pride'>Pride</option>
<option value='trans'>Trans Pride</option> <option value='trans'>Trans Pride</option>
<option value='pan'>Pansexual Pride</option>
<option value='nonbinary'>Non-binary Pride</option>
<option value='bi'>Bisexual Pride</option>
<option value='asexual'>Asexual Pride</option>
<option value='lesbian'>Lesbian Pride</option>
</select> </select>
</div> </div>
<button class="settings-pride-submit button primary" style="margin-left: 40px; display: flex; width: 80px; text-align: center;">Save</button> <button class="settings-pride-submit button primary" style="margin-left: 40px; display: flex; width: 80px; text-align: center;">Save</button>