'modern', 'use_theme_css' => false, 'title_color' => '#1e293b', 'text_color' => '#334155', 'bg_color' => '#f8fafc', 'bg_color_end' => '#ffffff', 'accent_color' => '#3b82f6', 'bullet_color' => '', 'stripe_color' => '', 'border_radius' => 8, 'font_family' => 'sans-serif', 'enable_schema' => true, 'schema_type' => 'CreativeWork', 'custom_css_class' => '', 'hover_effect' => true, ); } return self::$defaults; } public static function get_option( $key ) { $defaults = self::get_defaults(); $options = get_option( 'abstract_box_options', array() ); return isset( $options[ $key ] ) ? $options[ $key ] : ( isset( $defaults[ $key ] ) ? $defaults[ $key ] : null ); } public static function get_options() { return wp_parse_args( get_option( 'abstract_box_options', array() ), self::get_defaults() ); } public static function font_stack( $key = 'sans-serif' ) { $stacks = array( 'sans-serif' => "'Helvetica Neue', Helvetica, Arial, sans-serif", 'serif' => "Georgia, 'Times New Roman', Times, serif", 'humanist' => "'Gill Sans', 'Gill Sans MT', Calibri, Optima, Candara, 'Segoe UI', sans-serif", 'monospace' => "'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', 'Courier New', monospace", 'slab' => "Rockwell, 'Rockwell Nova', 'Roboto Slab', 'DejaVu Serif', Georgia, serif", 'system' => "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif", ); return $stacks[ $key ] ?? $stacks['sans-serif']; } }