mirror of
https://github.com/alecthomas/chroma.git
synced 2025-02-15 13:33:12 +02:00
Remove unused dark/light style type.
This commit is contained in:
parent
19d5d708ad
commit
c8636118d5
@ -7,8 +7,8 @@ import (
|
||||
)
|
||||
|
||||
func TestCompressStyle(t *testing.T) {
|
||||
style := "color: #888888; background-color: #ffffff"
|
||||
style := "color: #888888; background-color: #faffff"
|
||||
actual := compressStyle(style)
|
||||
expected := "color:#888;background-color:#fff"
|
||||
expected := "color:#888;background-color:#faffff"
|
||||
require.Equal(t, expected, actual)
|
||||
}
|
||||
|
1
style.go
1
style.go
@ -86,7 +86,6 @@ func NewStyle(name string, entries StyleEntries) *Style {
|
||||
// See http://pygments.org/docs/styles/ for details. Semantics are intended to be identical.
|
||||
type Style struct {
|
||||
Name string
|
||||
Scheme Scheme
|
||||
Entries map[TokenType]*StyleEntry
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user