Sha256: ba7f897b104386615cf18455f19735578ff0e9271d1a9f5dd797085654d3ed5a
Contents?: true
Size: 1.16 KB
Versions: 1
Compression:
Stored size: 1.16 KB
Contents
module Policygen module Css class Tailwind attr_reader :container_class, :h1_class, :h2_class, :h3_class, :section_class, :body_class, :ul_class, :ol_class, :bold_class, :link_class def initialize @container_class = "container mx-auto px-4" @h1_class = "text-4xl font-bold #{Policygen.config.get_tailwind_config(:heading_color)}" @h2_class = "text-2xl mt-4 font-bold #{Policygen.config.get_tailwind_config(:heading_color)}" @h3_class = "text-xl mt-4 font-bold #{Policygen.config.get_tailwind_config(:heading_color)}" @section_class = "mt-8" @body_class = "mt-4 #{Policygen.config.get_tailwind_config(:body_color)}" @ul_class = "list-disc list-inside #{Policygen.config.get_tailwind_config(:body_color)}" @ol_class = "list-decimal list-inside #{Policygen.config.get_tailwind_config(:body_color)}" @bold_class = "font-bold" @link_class = "underline #{Policygen.config.get_tailwind_config(:link_color)}" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
policygen-0.1.0 | lib/policygen/css/tailwind.rb |