diff --git a/themes/Compact/Makefile.am b/themes/Compact/Makefile.am index 815f6a50e3..8c70304dbf 100644 --- a/themes/Compact/Makefile.am +++ b/themes/Compact/Makefile.am @@ -2,6 +2,6 @@ themedatadir = $(gimpdatadir)/themes/Compact -themedata_DATA = gimp.css gimp-dark.css +themedata_DATA = gimp.css gimp-dark.css compact.css EXTRA_DIST = $(themedata_DATA) diff --git a/themes/Compact/compact.css b/themes/Compact/compact.css new file mode 100644 index 0000000000..04fb68612c --- /dev/null +++ b/themes/Compact/compact.css @@ -0,0 +1,17 @@ +/* Set of common styles for the Compact theme for GIMP 3.0 */ + +* { + -GimpToolPalette-tool-icon-size: small-toolbar; +} + +toolpalette button { + padding: 0px; +} + +button, tab { + padding: 0px; +} + +paned separator { + padding: 1px; +} diff --git a/themes/Compact/gimp-dark.css b/themes/Compact/gimp-dark.css index ebf56ec09c..9e271dd887 100644 --- a/themes/Compact/gimp-dark.css +++ b/themes/Compact/gimp-dark.css @@ -1,16 +1,4 @@ /* Dark variant for the Compact theme for GIMP 3.0 */ @import url("../Default/gimp-dark.css"); - -* { - -GimpToolPalette-tool-icon-size: small-toolbar; -} - -toolpalette button { - padding: 0px; -} - -button, tab { - padding: 0px; -} - +@import url("compact.css"); diff --git a/themes/Compact/gimp.css b/themes/Compact/gimp.css index 8e63af5dcb..502cfec9c2 100644 --- a/themes/Compact/gimp.css +++ b/themes/Compact/gimp.css @@ -1,15 +1,4 @@ /* Light variant for the Compact theme for GIMP 3.0 */ @import url("../Default/gimp.css"); - -* { - -GimpToolPalette-tool-icon-size: small-toolbar; -} - -toolpalette button { - padding: 0px; -} - -button, tab { - padding: 0px; -} +@import url("compact.css"); diff --git a/themes/Compact/meson.build b/themes/Compact/meson.build index 69ca467f5f..96cd3a40d0 100644 --- a/themes/Compact/meson.build +++ b/themes/Compact/meson.build @@ -1,3 +1,3 @@ -install_data([ 'gimp.css', 'gimp-dark.css' ], +install_data([ 'gimp.css', 'gimp-dark.css', 'compact.css' ], install_dir: gimpdatadir / 'themes' / 'Compact')