;;; kkk-font.el --- Setting Fonts                    -*- lexical-binding: t; -*-

;; Copyright (C) 2023  Vinicius Teshima <vini.tes@pm.me>

;; Author: Vinicius Teshima <vini.tes@pm.me>

;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.

;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with this program.  If not, see <https://www.gnu.org/licenses/>.

;;; Commentary:

;; Setting My Fonts Config

;;; Code:

(defconst kkk-font-default-font
  "Fantasque Sans Mono"
  "Default Font.")

(defconst kkk-font-default-font-size
  100
  "Default Font.")

(defconst kkk-font-fixed-font
  "Fantasque Sans Mono"
  "Monospaced Font.")

(defconst kkk-font-fixed-font-size
  100
  "Monospaced Font.")

(defconst kkk-font-variable-font
  "Cantarell"
  "Variable spaced Font.")

(defconst kkk-font-variable-font-size
  100
  "Variable spaced Font Size.")

(defun kkk-font-set ()
  "Set my prefered fonts."
  (interactive)
  ;; Set default Font
  (set-face-attribute 'default nil
                      :font kkk-font-default-font
                      :height kkk-font-default-font-size)
  ;; (set-face-attribute 'default nil :font "Fira Code" :height 150)

  ;; Set monospaced Font
  (set-face-attribute 'fixed-pitch nil
                      :font kkk-font-fixed-font
                      :height kkk-font-fixed-font-size)
  ;; (set-face-attribute 'fixed-pitch nil :font "Fira Code" :height 120)

  ;; Set variable Font
  (set-face-attribute 'variable-pitch nil
                      :font kkk-font-variable-font
                      :weight 'bold
                      :height kkk-font-variable-font-size)

  (set-face-attribute 'mode-line nil :height 80)
  (set-face-attribute 'mode-line-inactive nil :height 60 :slant 'oblique))

(provide 'kkk-font)
;;; kkk-font.el ends here
