Source File
native_style.go
Belonging Package
github.com/pancsta/d2/d2renderers/d2isometric/d2isometricimg
package d2isometricimgimport ()// Theme-default bodies use the classic study's restrained ink palette.// Authored colors and theme overrides retain their resolved source values.func nativeClassicNode( d2isometric.Node) d2isometric.Node {if .Type == d2target.ShapeClass || .Type == d2target.ShapeSQLTable {return // Structured documents own their header/body color contract.}if !.StrokeExplicit && nativeToken(.Metadata.Original.Stroke) {.Stroke = "#263c4e"}return}
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |