Almunawarah · Page colour guide · 15 / 15

Colour guide: Everyday cultural life

العربية

The colours this page uses, each as a token with its light and dark value and the class in the site code, then every component of the page with its states in both themes, and the page sections side by side.

How it works

1. The theme sits on <html>

One attribute sets the theme. Without it the device setting applies; once the visitor taps the moon / sun button the choice is saved. A link ending in ?theme=dark opens the page dark.

<html data-theme="dark">

2. Every colour comes from a token

No hex values inside components. Use the token and it resolves to the right value in each theme.

background: var(--muna-surface);

3. Fixed colours stay as they are

The dark green header and footer, brand green buttons and badges, photos and logos have one value in both themes.

--muna-fixed-003200: #003200; /* both */

Tokens

The colours of this page content (header and footer are in the general guide). Measured element by element in both themes.

TokenLightDarkUsed forClass in the code
Backgrounds
--muna-surface#ffffff
#f9fafb
#14251dcards and blocks, buttons (14)bg-white · bg-background
--muna-surface-2#efefef#1a2c23form fields, section backgrounds (3)bg-[#EFEFEF]
Text
--muna-text#303536
#000000
#e9eee9body text, links, section backgrounds (13)inherited
--muna-text-brand#003200#9fc6a9body text, headings (5)inherited
--muna-text-eaedea-a56#615f5a#eaedea8fbody text, links (2)inherited
Icons (SVG)
--muna-icon-e8ede8-a40#191e1966#e8ede866icons (1)inherited
--muna-icon-brand-2#155615#c0d9c6icons (1)inherited
Borders and lines
--muna-field-frame#155615#6b7f72form fields (2)border-input
--muna-border-5c7064-a40#191e1966#5c706466buttons (1)border-brand-gray/40
--muna-border-4f8f62#155615#4f8f62buttons (1).places-swiper-next
Fixed in both themes
--muna-fixed-e5e7eb#e5e7ebsameicons, body text (48)inherited
--muna-fixed-white#ffffffsameheadings, buttons (13)text-white! · .powermail-submit-button
--muna-fixed-brand#155615samebuttons (1).powermail-submit-button

Components and states

Real crops of each component: light on the left, dark on the right, with the state under each one.

Heading · الحياة الثقافية اليومية

الحياة الثقافية اليومية · text-3xl font-bold text-center
Light
الحياة الثقافية اليومية, Light theme
default
Dark
الحياة الثقافية اليومية, Dark theme
default
StatePartLightDark
defaulttext#003200#9fc6a9

Heading · المطاعم والمطابخ ذات الطابع الثقافي

المطاعم والمطابخ ذات الطابع الثقافي · text-2xl font-semibold text-center
Light
المطاعم والمطابخ ذات الطابع الثقافي, Light theme
default
Dark
المطاعم والمطابخ ذات الطابع الثقافي, Dark theme
default
StatePartLightDark
defaulttext#003200#9fc6a9

Heading · مطعم زمان جَدّي

المطاعم والمطابخ ذات الطابع الثقافي · text-white! font-bold! lg:text-2xl! text-xl! rtl:text-2xl! font-montserrat! rtl:font-smart-madinah-text!
Light
مطعم زمان جَدّي, Light theme
default
Dark
مطعم زمان جَدّي, Dark theme
default
StatePartLightDark
defaulttext#ffffffsame

Heading · الحيّ (حي المُغَيْسِلة)

الأماكن التراثية · lg:text-2xl! text-xl! font-bold! text-white! font-montserrat! rtl:font-smart-madinah-text! rtl:text-2xl!
Light
الحيّ (حي المُغَيْسِلة), Light theme
default
Dark
الحيّ (حي المُغَيْسِلة), Dark theme
default
StatePartLightDark
defaulttext#ffffffsame

Button · Previous slide

الأماكن التراثية · places-swiper-prev general-carousel-navigation w-12 h-10 flex justify-center items-center border rounded-sm transition-opacity bg-background border-br
Light
Previous slide, Light theme
default
Previous slide, Light theme · hover
hover
Dark
Previous slide, Dark theme
default
Previous slide, Dark theme · hover
hover
StatePartLightDark
defaultbackground#f9fafb#14251d
defaulttext#191e1966#e8ede866
defaultframe#191e1966#5c706466
defaulticon#191e1966#e8ede866

Button · Next slide

الأماكن التراثية · places-swiper-next general-carousel-navigation w-12 h-10 flex justify-center items-center border rounded-sm transition-opacity bg-background border-br
Light
Next slide, Light theme
default
Next slide, Light theme · hover
hover
Dark
Next slide, Dark theme
default
Next slide, Dark theme · hover
hover
StatePartLightDark
defaultbackground#f9fafb#14251d
defaulttext#155615#c0d9c6
defaultframe#155615#4f8f62
defaulticon#155615#c0d9c6

Button · اشترك الآن

نشراتنا المتنوعة · powermail-submit-button
Light
اشترك الآن, Light theme
default
اشترك الآن, Light theme · hover
hover
Dark
اشترك الآن, Dark theme
default
اشترك الآن, Dark theme · hover
hover
StatePartLightDark
defaultbackground#155615same
defaulttext#ffffffsame
hoverbackground#003200same

Field · اسم

نشراتنا المتنوعة · file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w
Light
اسم, Light theme
default
اسم, Light theme · hover
hover
Dark
اسم, Dark theme
default
اسم, Dark theme · hover
hover
StatePartLightDark
defaultbackground#efefef#1a2c23
defaulttext#101828#e9eee9
defaultframe#155615#6b7f72

Card · مطعم زمان جَدّي حي مهزور,المدينة المُنوَ

المطاعم والمطابخ ذات الطابع الثقافي · flex flex-col sm:w-full w-[317px] md:h-[467px] h-[412px] rounded-t-[15px] bg-white shadow hover:shadow-lg transition group relative font-montserrat! r
Light
مطعم زمان جَدّي حي مهزور,المدينة المُنوَّرة, Light theme
default
Dark
مطعم زمان جَدّي حي مهزور,المدينة المُنوَّرة, Dark theme
default
StatePartLightDark
defaultbackground#ffffff#14251d
defaulttext#ffffffsame
defaulticon#e5e7ebsame

Card · الحيّ (حي المُغَيْسِلة) المغيسيلة، المدي

الأماكن التراثية · flex flex-col md:w-full sm:w-[467px] w-[317px] md:h-[467px] h-[412px] rounded-t-[15px] bg-white shadow hover:shadow-lg transition group relative font-
Light
الحيّ (حي المُغَيْسِلة) المغيسيلة، المدينة المُنوّ, Light theme
default
Dark
الحيّ (حي المُغَيْسِلة) المغيسيلة، المدينة المُنوّ, Dark theme
default
StatePartLightDark
defaultbackground#ffffff#14251d
defaulttext#ffffffsame
defaulticon#e5e7ebsame

Icons

Light
Icons, Light theme
Dark
Icons, Dark theme
StatePartLightDark
defaulticon#e5e7ebsame

Sections

Screenshots of the page itself, light then dark. The site content is in Arabic.

الحياة الثقافية اليومية

الحياة الثقافية اليومية, Light themeالحياة الثقافية اليومية, Dark theme

المطاعم والمطابخ ذات الطابع الثقافي

المطاعم والمطابخ ذات الطابع الثقافي, Light themeالمطاعم والمطابخ ذات الطابع الثقافي, Dark theme

الأسواق التقليدية والشعبية

الأسواق التقليدية والشعبية, Light themeالأسواق التقليدية والشعبية, Dark theme

الأماكن التراثية

الأماكن التراثية, Light themeالأماكن التراثية, Dark theme

نشراتنا المتنوعة

نشراتنا المتنوعة, Light themeنشراتنا المتنوعة, Dark theme

Code

The tokens as CSS variables for both themes. They also work as Figma variables with two modes, Light and Dark.

/* Almunawarah · Everyday cultural life — colour tokens */
:root {
  --muna-surface:         #ffffff;  /* also #f9fafb */
  --muna-surface-2:       #efefef;
  --muna-text:            #303536;  /* also #000000 */
  --muna-text-brand:      #003200;
  --muna-text-eaedea-a56: #615f5a;
  --muna-icon-e8ede8-a40: #191e1966;
  --muna-icon-brand-2:    #155615;
  --muna-field-frame:     #155615;
  --muna-border-5c7064-a40: #191e1966;
  --muna-border-4f8f62:   #155615;
  --muna-fixed-e5e7eb:    #e5e7eb;
  --muna-fixed-white:     #ffffff;
  --muna-fixed-brand:     #155615;
}

:root[data-theme="dark"] {
  --muna-surface:         #14251d;
  --muna-surface-2:       #1a2c23;
  --muna-text:            #e9eee9;
  --muna-text-brand:      #9fc6a9;
  --muna-text-eaedea-a56: #eaedea8f;
  --muna-icon-e8ede8-a40: #e8ede866;
  --muna-icon-brand-2:    #c0d9c6;
  --muna-field-frame:     #6b7f72;
  --muna-border-5c7064-a40: #5c706466;
  --muna-border-4f8f62:   #4f8f62;
}