diff --git a/Language/Haskell/HsColour/Anchors.hs b/Language/Haskell/HsColour/Anchors.hs
--- a/Language/Haskell/HsColour/Anchors.hs
+++ b/Language/Haskell/HsColour/Anchors.hs
@@ -82,6 +82,8 @@
 identifier st t@((Keyword,"newtype"):stream) = getConid stream
 identifier st t@((Keyword,"type"):(Space,_):(Keyword,"family"):stream)
                                              = getConid stream
+identifier st t@((Keyword,"type"):(Space,_):(Keyword,"data"):stream)
+                                             = getConid stream
 identifier st t@((Keyword,"type"):stream)    = getConid stream
 identifier st t@((Keyword,"class"):stream)   = getConid stream
 identifier st t@((Keyword,"instance"):stream)= getInstance stream
diff --git a/hscolour.cabal b/hscolour.cabal
--- a/hscolour.cabal
+++ b/hscolour.cabal
@@ -1,6 +1,6 @@
 Name: hscolour
-Version: 1.24.4
-Copyright: 2003-2017 Malcolm Wallace; 2006 Bjorn Bringert
+Version: 1.25
+Copyright: 2003-2023 Malcolm Wallace; 2006 Bjorn Bringert
 Maintainer: Malcolm Wallace
 Author: Malcolm Wallace
 Homepage: http://code.haskell.org/~malcolm/hscolour/
@@ -20,11 +20,12 @@
 Category: Language
 Build-Type: Simple
 Data-files: hscolour.css, data/rgb24-example-.hscolour
-Cabal-version: >=1.6
+Cabal-version: >=1.10
 
 
 Library
   Build-depends: base < 10, containers
+  Default-Language: Haskell98
   Exposed-Modules: 
     Language.Haskell.HsColour
     Language.Haskell.HsColour.ANSI
@@ -43,15 +44,16 @@
     Language.Haskell.HsColour.Output
     Language.Haskell.HsColour.TTY
   --ghc-options: -O -W
-  Extensions: 
+  Default-Extensions: 
 
 
 Executable HsColour
   Build-depends: base < 10, containers
+  Default-Language: Haskell98
   Main-is: HsColour.hs
   --ghc-options: -O -W
-  Extensions: CPP
-  cpp-options: -DMAJOR=1 -DMINOR=24
+  Default-Extensions: CPP
+  cpp-options: -DMAJOR=1 -DMINOR=25
 
 
 
