Skip to content

Commit

Permalink
feat: integrate the Nord Theme
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorin committed Dec 7, 2020
1 parent 7e9a6d5 commit ffdfa60
Show file tree
Hide file tree
Showing 91 changed files with 75 additions and 10 deletions.
Binary file modified dist/homecloud/Brand/Backup.card.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 modified dist/homecloud/Brand/Backup.element.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 modified dist/homecloud/Brand/Backup.group.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 modified dist/homecloud/Brand/Calibreweb.card.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 modified dist/homecloud/Brand/Calibreweb.element.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 modified dist/homecloud/Brand/Calibreweb.group.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 modified dist/homecloud/Brand/Ceph.card.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 modified dist/homecloud/Brand/Ceph.element.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 modified dist/homecloud/Brand/Ceph.group.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 modified dist/homecloud/Brand/Dnas.card.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 modified dist/homecloud/Brand/Dnas.element.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 modified dist/homecloud/Brand/Dnas.group.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 modified dist/homecloud/Brand/Docker.card.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 modified dist/homecloud/Brand/Docker.element.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 modified dist/homecloud/Brand/Docker.group.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 modified dist/homecloud/Brand/DockerSwarm.card.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 modified dist/homecloud/Brand/DockerSwarm.element.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 modified dist/homecloud/Brand/DockerSwarm.group.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 modified dist/homecloud/Brand/Influxdata.card.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 modified dist/homecloud/Brand/Influxdata.element.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 modified dist/homecloud/Brand/Influxdata.group.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 modified dist/homecloud/Brand/Keepalived.card.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 modified dist/homecloud/Brand/Keepalived.element.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 modified dist/homecloud/Brand/Keepalived.group.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 modified dist/homecloud/Brand/Nextcloud.card.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 modified dist/homecloud/Brand/Nextcloud.element.png
Binary file modified dist/homecloud/Brand/Nextcloud.group.png
Binary file modified dist/homecloud/Brand/Portainer.card.png
Binary file modified dist/homecloud/Brand/Portainer.element.png
Binary file modified dist/homecloud/Brand/Portainer.group.png
Binary file modified dist/homecloud/Brand/Samba.card.png
Binary file modified dist/homecloud/Brand/Samba.element.png
Binary file modified dist/homecloud/Brand/Samba.group.png
Binary file modified dist/homecloud/Brand/Syncthing.card.png
Binary file modified dist/homecloud/Brand/Syncthing.element.png
Binary file modified dist/homecloud/Brand/Syncthing.group.png
Binary file modified dist/homecloud/Brand/Traefik.card.png
Binary file modified dist/homecloud/Brand/Traefik.element.png
Binary file modified dist/homecloud/Brand/Traefik.group.png
Binary file modified dist/homecloud/Container/Container.card.png
Binary file modified dist/homecloud/Container/Container.element.png
Binary file modified dist/homecloud/Container/Container.group.png
Binary file modified dist/homecloud/Container/Registry.card.png
Binary file modified dist/homecloud/Container/Registry.element.png
Binary file modified dist/homecloud/Container/Registry.group.png
Binary file modified dist/homecloud/Container/Service.card.png
Binary file modified dist/homecloud/Container/Service.element.png
Binary file modified dist/homecloud/Container/Service.group.png
Binary file modified dist/homecloud/Container/Stack.card.png
Binary file modified dist/homecloud/Container/Stack.element.png
Binary file modified dist/homecloud/Container/Stack.group.png
Binary file modified dist/homecloud/Container/Volume.card.png
Binary file modified dist/homecloud/Container/Volume.element.png
Binary file modified dist/homecloud/Container/Volume.group.png
Binary file modified dist/homecloud/Hardware/Board.card.png
Binary file modified dist/homecloud/Hardware/Board.element.png
Binary file modified dist/homecloud/Hardware/Board.group.png
Binary file modified dist/homecloud/Hardware/Hdd.card.png
Binary file modified dist/homecloud/Hardware/Hdd.element.png
Binary file modified dist/homecloud/Hardware/Hdd.group.png
Binary file modified dist/homecloud/Hardware/Laptop.card.png
Binary file modified dist/homecloud/Hardware/Laptop.element.png
Binary file modified dist/homecloud/Hardware/Laptop.group.png
Binary file modified dist/homecloud/Hardware/SdCard.card.png
Binary file modified dist/homecloud/Hardware/SdCard.element.png
Binary file modified dist/homecloud/Hardware/SdCard.group.png
Binary file modified dist/homecloud/Hardware/Smartphone.card.png
Binary file modified dist/homecloud/Hardware/Smartphone.element.png
Binary file modified dist/homecloud/Hardware/Smartphone.group.png
Binary file modified dist/homecloud/Hardware/Usb.card.png
Binary file modified dist/homecloud/Hardware/Usb.element.png
Binary file modified dist/homecloud/Hardware/Usb.group.png
Binary file modified dist/homecloud/Network/Dns.card.png
Binary file modified dist/homecloud/Network/Dns.element.png
Binary file modified dist/homecloud/Network/Dns.group.png
Binary file modified dist/homecloud/Network/Internet.card.png
Binary file modified dist/homecloud/Network/Internet.element.png
Binary file modified dist/homecloud/Network/Internet.group.png
Binary file modified dist/homecloud/Network/LocalNetwork.card.png
Binary file modified dist/homecloud/Network/LocalNetwork.element.png
Binary file modified dist/homecloud/Network/LocalNetwork.group.png
Binary file modified dist/homecloud/Network/Router.card.png
Binary file modified dist/homecloud/Network/Router.element.png
Binary file modified dist/homecloud/Network/Router.group.png
1 change: 1 addition & 0 deletions dist/homecloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ It implements elements based on :
- [Material Design Icons](https://github.com/google/material-design-icons)
- [Font Awesome](https://fontawesome.com)

Provide the color schemes of [](https://www.nordtheme.com)



Expand Down
Binary file modified dist/homecloud/examples/simple.png
4 changes: 1 addition & 3 deletions dist/homecloud/examples/simple.puml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
' loads the homecloud bootstrap
include('homecloud/bootstrap')

Title("Overview of the homecloud infrastructure")
Title("Overview of infrastructure", "The homecloud project", "1.0.0")

include('homecloud/Network/Internet')
include('homecloud/Network/Router')
Expand All @@ -19,8 +19,6 @@ include('homecloud/Brand/Syncthing')
include('homecloud/Network/LocalNetwork')
include('homecloud/Hardware/Hdd')

'left to right direction

Internet('internet', 'Internet')
LocalNetworkGroup('home', 'Home Network') {
Router('router', 'Router', 'Gateway')
Expand Down
37 changes: 35 additions & 2 deletions dist/homecloud/style.puml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,55 @@ skinparam defaultTextAlignment center
skinparam wrapWidth 200
skinparam maxMessageSize 150

' Polar Night
!global $HOMECLOUD_NORD_0="#2e3440"
!global $HOMECLOUD_NORD_1="#3b4252"
!global $HOMECLOUD_NORD_2="#434c5e"
!global $HOMECLOUD_NORD_3="#4c566a"
' Snow Storm
!global $HOMECLOUD_NORD_4="#d8dee9"
!global $HOMECLOUD_NORD_5="#e5e9f0"
!global $HOMECLOUD_NORD_6="#eceff4"
' Frost
!global $HOMECLOUD_NORD_7="#8fbcbb"
!global $HOMECLOUD_NORD_8="#88c0d0"
!global $HOMECLOUD_NORD_9="#81a1c1"
!global $HOMECLOUD_NORD_10="#5e81ac"
' Aurora
!global $HOMECLOUD_NORD_10="#bf616a"
!global $HOMECLOUD_NORD_11="#d08770"
!global $HOMECLOUD_NORD_12="#ebcb8b"
!global $HOMECLOUD_NORD_13="#a3be8c"
!global $HOMECLOUD_NORD_14="#b48ead"

!global $FONT_COLOR=$HOMECLOUD_NORD_2
!global $FONT_COLOR_LIGHT=$HOMECLOUD_NORD_3

skinparam Arrow {
FontColor $FONT_COLOR
Color $FONT_COLOR_LIGHT
Thickness 1
}

skinparam Note {
BorderThickness 1
BorderColor $FONT_COLOR
BackgroundColor transparent
FontColor $FONT_COLOR
shadowing true
}

skinparam Card<<IconElement>> {
BorderThickness 0
BorderColor none
BackgroundColor none
FontColor $FONT_COLOR
shadowing false
}

skinparam Rectangle<<IconCard>> {
BorderThickness 1
BorderColor $FONT_COLOR_LIGHT
BorderColor $FONT_COLOR
BackgroundColor #FFFFFF
FontColor $FONT_COLOR_LIGHT
shadowing true
Expand All @@ -30,7 +63,7 @@ skinparam Rectangle<<IconCard>> {
skinparam Rectangle<<IconGroup>> {
StereotypeFontColor $FONT_COLOR_LIGHT
BorderThickness 1
BorderColor $FONT_COLOR_LIGHT
BorderColor $FONT_COLOR
BorderStyle solid
FontStyle none
FontColor $FONT_COLOR
Expand Down
2 changes: 2 additions & 0 deletions lib/homecloud/template/presentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ It implements elements based on :

- [Material Design Icons](https://github.com/google/material-design-icons)
- [Font Awesome](https://fontawesome.com)

Provide the colors and palettes of [Nord Theme](https://www.nordtheme.com).
4 changes: 1 addition & 3 deletions lib/homecloud/template/simple.puml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
' loads the {{= it.config.pkgName }} bootstrap
include('{{= it.config.pkgName }}/bootstrap')

Title("Overview of the homecloud infrastructure")
Title("Overview of infrastructure", "The homecloud project", "1.0.0")

include('homecloud/Network/Internet')
include('homecloud/Network/Router')
Expand All @@ -19,8 +19,6 @@ include('homecloud/Brand/Syncthing')
include('homecloud/Network/LocalNetwork')
include('homecloud/Hardware/Hdd')

'left to right direction

Internet('internet', 'Internet')
LocalNetworkGroup('home', 'Home Network') {
Router('router', 'Router', 'Gateway')
Expand Down
37 changes: 35 additions & 2 deletions lib/homecloud/template/style.puml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,55 @@ skinparam defaultTextAlignment center
skinparam wrapWidth 200
skinparam maxMessageSize 150

' Polar Night
!global $HOMECLOUD_NORD_0="#2e3440"
!global $HOMECLOUD_NORD_1="#3b4252"
!global $HOMECLOUD_NORD_2="#434c5e"
!global $HOMECLOUD_NORD_3="#4c566a"
' Snow Storm
!global $HOMECLOUD_NORD_4="#d8dee9"
!global $HOMECLOUD_NORD_5="#e5e9f0"
!global $HOMECLOUD_NORD_6="#eceff4"
' Frost
!global $HOMECLOUD_NORD_7="#8fbcbb"
!global $HOMECLOUD_NORD_8="#88c0d0"
!global $HOMECLOUD_NORD_9="#81a1c1"
!global $HOMECLOUD_NORD_10="#5e81ac"
' Aurora
!global $HOMECLOUD_NORD_10="#bf616a"
!global $HOMECLOUD_NORD_11="#d08770"
!global $HOMECLOUD_NORD_12="#ebcb8b"
!global $HOMECLOUD_NORD_13="#a3be8c"
!global $HOMECLOUD_NORD_14="#b48ead"

!global $FONT_COLOR=$HOMECLOUD_NORD_2
!global $FONT_COLOR_LIGHT=$HOMECLOUD_NORD_3

skinparam Arrow {
FontColor $FONT_COLOR
Color $FONT_COLOR_LIGHT
Thickness 1
}

skinparam Note {
BorderThickness 1
BorderColor $FONT_COLOR
BackgroundColor transparent
FontColor $FONT_COLOR
shadowing true
}

skinparam Card<<IconElement>> {
BorderThickness 0
BorderColor none
BackgroundColor none
FontColor $FONT_COLOR
shadowing false
}

skinparam Rectangle<<IconCard>> {
BorderThickness 1
BorderColor $FONT_COLOR_LIGHT
BorderColor $FONT_COLOR
BackgroundColor #FFFFFF
FontColor $FONT_COLOR_LIGHT
shadowing true
Expand All @@ -30,7 +63,7 @@ skinparam Rectangle<<IconCard>> {
skinparam Rectangle<<IconGroup>> {
StereotypeFontColor $FONT_COLOR_LIGHT
BorderThickness 1
BorderColor $FONT_COLOR_LIGHT
BorderColor $FONT_COLOR
BorderStyle solid
FontStyle none
FontColor $FONT_COLOR
Expand Down

0 comments on commit ffdfa60

Please sign in to comment.