Skip to content

Commit

Permalink
feat(main): added new catppuccin macchiato theme
Browse files Browse the repository at this point in the history
  • Loading branch information
ncosta-ic committed Feb 27, 2024
1 parent b5a670d commit af1c109
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 2,277 deletions.
31 changes: 2 additions & 29 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 1.0.0 - 2023-10-11
## [1.0.0](https://github.com/ncosta-ic/catppuccin-macchiato-plantuml-theme/releases/tag/v1.0.0) - 2024-02-27

### Added

- Set "Fira Mono" as the default font.
- Added colors: `!$color_comment`, `!$color_selection`, `!$color_pink`, and `!$color_orange`.

### Changed

- All colors have been modified: `!$color_bg`, `!$color_bg_light`, `!$color_fg`, `!$color_red`, `!$color_green`, `!$color_yellow`, `!$color_blue`, `!$color_purple`, and `!$color_primary`.
- Moved the order of default font definitions to the beginning of `skinparam`.
### Fixed

- Resolved an issue with the monospaced font rendering.

### Removed

- Color `!$color_teal = "#56b6c2"`.
## [1.0.1](https://github.com/patrik-csak/one-dark-plantuml-theme/compare/v1.0.0...v1.0.1) - 2022-11-29

### Added

- Changelog

### Changed

- Updated readme with new screenshots

### Fixed

- Minor theme issues
- Catppuccin Macchiato theme
Binary file added docs/ide-screenshots/jetbrains.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 removed docs/ide-screenshots/vs-code.png
Binary file not shown.
249 changes: 1 addition & 248 deletions examples/activity.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
294 changes: 1 addition & 293 deletions examples/class.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
291 changes: 1 addition & 290 deletions examples/component.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
326 changes: 1 addition & 325 deletions examples/deployment.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
292 changes: 1 addition & 291 deletions examples/object.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
251 changes: 1 addition & 250 deletions examples/sequence.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
263 changes: 1 addition & 262 deletions examples/state.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
261 changes: 1 addition & 260 deletions examples/use-case.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# [Dracula](https://github.com/atom/atom/tree/v1.53.0/packages/one-dark-ui) [PlantUML](https://plantuml.com) theme
# [Catppuccin (Macchiato)](https://catppuccin.com/) [PlantUML](https://plantuml.com) theme

Based on [Dracula](https://github.com/atom/atom/tree/v1.53.0/packages/one-dark-ui) [PlantUML](https://plantuml.com) theme
and
[Dracula Theme](https://draculatheme.com/)
Based on the [Catppuccin (Macchiato)](https://github.com/catppuccin/catppuccin) palette and the [Dracula PlantUML
theme](https://github.com/guipatriota/dracula-plantuml-theme).

## Screenshots

<!-- JetBrains:
JetBrains:

![Screenshot of WebStorm with PlantUML diagram code in left pane and diagram preview with Dracula PlantUML theme in right pane](docs/ide-screenshots/jetbrains.png) -->
![Screenshot of WebStorm with PlantUML diagram code in left pane and diagram preview with Dracula PlantUML theme in right pane](docs/ide-screenshots/jetbrains.png)

Visual Studio Code:
<!-- Visual Studio Code:
![Screenshot of Visual Studio Code with PlantUML diagram code in left pane and diagram preview with Dracula PlantUML theme in right pane](docs/ide-screenshots/vs-code.png)
![Screenshot of Visual Studio Code with PlantUML diagram code in left pane and diagram preview with Dracula PlantUML
theme in right pane](docs/ide-screenshots/vs-code.png)-->

## Usage

Expand All @@ -21,7 +21,7 @@ Visual Studio Code:
```puml
@startuml
!include https://raw.githubusercontent.com/guipatriota/dracula-plantuml-theme/v1.0.0/theme.puml
!include https://raw.githubusercontent.com/ncosta-ic/catppuccin-macchiato-plantuml-theme/main/theme.puml
Bob->Alice : hello
Expand Down
40 changes: 20 additions & 20 deletions theme.puml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
@startuml dracula_theme

'
' Dracula Dark theme
' Catppuccin Macchiato Theme
'
' Colors
'
' Foreground
!$color_bg = "#22212C"
!$color_bg_light = "#454158"
!$color_bg = "#24273A"
!$color_bg_light = "#363A4F"

' Background
!$color_fg = "#F8F8F2"
!$color_comment = "#7970A9"
!$color_fg = "#CAD3F5"
!$color_comment = "#6E738D"
!$color_selection = $color_bg_light

!$color_red = "#FF9580"
!$color_green = "#8AFF80"
!$color_yellow = "#FFFF80"
!$color_blue = "#80FFEA"
!$color_purple = "#9580FF"
!$color_pink = "#FF80BF"
!$color_orange = "#FFCA80"
!$color_red = "#ED8796"
!$color_green = "#A6DA95"
!$color_yellow = "#EED49F"
!$color_blue = "#8AADF4"
!$color_purple = "#C6A0F6"
!$color_pink = "#F5BDE6"
!$color_orange = "#F5A97F"

!$color_primary = $color_green
!$color_primary = "#B7BDF8"

skinparam backgroundColor $color_bg
' <style>
Expand All @@ -35,12 +35,12 @@ skinparam {
'
' Default font styles
'
DefaultFontColor $color_pink
DefaultFontName Fira Mono
DefaultFontSize 20
DefaultFontColor $color_fg
DefaultFontName Helvetica
DefaultFontSize 12

' DefaultTextAlignment


'
' Activity
Expand Down Expand Up @@ -175,7 +175,7 @@ skinparam {
'
CaptionFontColor $color_fg
' CaptionFontName
CaptionFontSize 15
CaptionFontSize 14
' CaptionFontStyle

'
Expand Down Expand Up @@ -220,7 +220,7 @@ skinparam {
ClassArrowColor $color_pink
ClassFontColor $color_green
' ClassFontName
ClassFontSize 20
ClassFontSize 16
' ClassFontStyle

'
Expand Down Expand Up @@ -678,7 +678,7 @@ skinparam {
'
' ResponseMessageBelowArrow

RoundCorner 20
RoundCorner 3

' SameClassWidth
'
Expand Down

0 comments on commit af1c109

Please sign in to comment.