customize colors, bleed into sign up page

This commit is contained in:
drusepth 2022-02-05 18:25:15 -08:00
parent 880bace73d
commit 5ef75c4b59
4 changed files with 18 additions and 2 deletions

View File

@ -5,6 +5,8 @@ class RegistrationsController < Devise::RegistrationsController
before_action :set_navbar_actions, only: [:edit, :preferences, :more_actions]
before_action :set_navbar_color, only: [:edit, :preferences, :more_actions]
layout 'tailwind/landing', only: [:new]
def new
super
if params[:referral]

View File

@ -1,5 +1,5 @@
<div class="bg-blue-400 text-white w-full flex justify-between sticky top-0 z-50">
<div class="relative block lg:ml-8 text-xl border-transparent border-b-2 hover:border-white text-sm">
<div class="bg-notebook-blue text-white w-full flex justify-between sticky top-0 z-50 shadow-lg">
<div class="relative block lg:ml-8 text-xl border-transparent border-b-2 border-red hover:border-white text-sm">
<%= link_to 'Notebook.ai', root_path, class: 'block p-3 mt-1 tracking-wider hover:shadow-lg' %>
</div>

View File

@ -1,6 +1,20 @@
const colors = require('tailwindcss/colors');
module.exports = {
content: [],
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
black: colors.black,
white: colors.white,
gray: colors.gray,
emerald: colors.emerald,
indigo: colors.indigo,
yellow: colors.yellow,
'notebook-blue': '#2196F3'
},
extend: {},
},
plugins: [],