branch: externals/standard-themes
commit 1610307283c6c32f83fbb60a639030027952640b
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Reinstate the theme-autoload cookie with the deftheme in place
We need this because otherwise the autolaods are not generated
properly, which can cause problems for other packages that need to
read the theme data.
---
standard-adwaita-theme.el | 9 ++++++++-
standard-dark-theme.el | 7 +++++++
standard-dark-tinted-theme.el | 7 +++++++
standard-light-theme.el | 7 +++++++
standard-light-tinted-theme.el | 7 +++++++
standard-wombat-theme.el | 9 ++++++++-
6 files changed, 44 insertions(+), 2 deletions(-)
diff --git a/standard-adwaita-theme.el b/standard-adwaita-theme.el
index bbad5b06ea..f0ee5b441b 100644
--- a/standard-adwaita-theme.el
+++ b/standard-adwaita-theme.el
@@ -1,4 +1,4 @@
-;;; standard-adwaita-theme.el --- Like the built-in adwaita theme, but more
consistent -*- lexical-binding: t; -*-
+;;; standard-adwaita-theme.el --- Like the built-in adwaita theme, but more
consistent -*- lexical-binding: t; -*-
;; Copyright (C) 2026 Free Software Foundation, Inc.
@@ -37,6 +37,13 @@
(require 'standard-themes)
+;;;###theme-autoload
+(deftheme standard-adwaita
+ "Like the built-in adwaita theme, but more consistent."
+ :background-mode 'light
+ :kind 'color-scheme
+ :family 'standard)
+
(defcustom standard-adwaita-palette-overrides nil
"Overrides for `adwaita-palette'."
:type '(repeat (list symbol (choice symbol string)))
diff --git a/standard-dark-theme.el b/standard-dark-theme.el
index 7d88942be1..c85126d09a 100644
--- a/standard-dark-theme.el
+++ b/standard-dark-theme.el
@@ -40,6 +40,13 @@
(require 'standard-themes)
+;;;###theme-autoload
+(deftheme standard-dark
+ "Like the unthemed dark Emacs, but more consistent."
+ :background-mode 'dark
+ :kind 'color-scheme
+ :family 'standard)
+
(defconst standard-dark-palette
(modus-themes-generate-palette
'((bg-main "#000000")
diff --git a/standard-dark-tinted-theme.el b/standard-dark-tinted-theme.el
index f77797796c..4fbf6abf67 100644
--- a/standard-dark-tinted-theme.el
+++ b/standard-dark-tinted-theme.el
@@ -40,6 +40,13 @@
(require 'standard-themes)
+;;;###theme-autoload
+(deftheme standard-dark-tinted
+ "Night sky variant of standard-dark theme."
+ :background-mode 'dark
+ :kind 'color-scheme
+ :family 'standard)
+
(defconst standard-dark-tinted-palette
(modus-themes-generate-palette
'((bg-main "#182440")
diff --git a/standard-light-theme.el b/standard-light-theme.el
index ce90b16dd0..807f1bd3ba 100644
--- a/standard-light-theme.el
+++ b/standard-light-theme.el
@@ -40,6 +40,13 @@
(require 'standard-themes)
+;;;###theme-autoload
+(deftheme standard-light
+ "Like the unthemed light Emacs, but more consistent."
+ :background-mode 'light
+ :kind 'color-scheme
+ :family 'standard)
+
(defconst standard-light-palette
(modus-themes-generate-palette
'((bg-main "#ffffff")
diff --git a/standard-light-tinted-theme.el b/standard-light-tinted-theme.el
index a6aa7c868c..6eacce74b6 100644
--- a/standard-light-tinted-theme.el
+++ b/standard-light-tinted-theme.el
@@ -40,6 +40,13 @@
(require 'standard-themes)
+;;;###theme-autoload
+(deftheme standard-light-tinted
+ "Light ochre variant of the standard-light theme."
+ :background-mode 'light
+ :kind 'color-scheme
+ :family 'standard)
+
(defconst standard-light-tinted-palette
(modus-themes-generate-palette
'((bg-main "#eeecd9")
diff --git a/standard-wombat-theme.el b/standard-wombat-theme.el
index 858d2162a6..170bc0aac3 100644
--- a/standard-wombat-theme.el
+++ b/standard-wombat-theme.el
@@ -1,4 +1,4 @@
-;;; standard-wombat-theme.el --- Like the built-in wombat theme, but more
consistent -*- lexical-binding: t; -*-
+;;; standard-wombat-theme.el --- Like the built-in wombat theme, but more
consistent -*- lexical-binding: t; -*-
;; Copyright (C) 2026 Free Software Foundation, Inc.
@@ -38,6 +38,13 @@
(require 'standard-themes)
+;;;###theme-autoload
+(deftheme standard-wombat
+ "Like the built-in wombat theme, but more consistent."
+ :background-mode 'dark
+ :kind 'color-scheme
+ :family 'standard)
+
(defconst standard-wombat-palette
(modus-themes-generate-palette
'((bg-main "#242424")