Skip to content

Commit

Permalink
style: update templating to wrap 050 values in single-quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
kajabi-bot committed Oct 1, 2024
1 parent a1f53b0 commit b4cdd08
Show file tree
Hide file tree
Showing 6 changed files with 244 additions and 237 deletions.
112 changes: 56 additions & 56 deletions docs/lib/sage_rails/app/sage_tokens/sage_dictionary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ module SageDictionary
#
# Static vars for COLOR BASE
#
SD_SAGE_COLOR_BASE_BLUE_50_HEX = "#fafcff"
SD_SAGE_COLOR_BASE_BLUE_50_CODE = "blue-50"
SD_SAGE_COLOR_BASE_BLUE_50_CLASSNAME = "t-sage--color-blue-50"
SD_SAGE_COLOR_BASE_BLUE_100_HEX = "#eff6ff"
SD_SAGE_COLOR_BASE_BLUE_100_CODE = "blue-100"
SD_SAGE_COLOR_BASE_BLUE_100_CLASSNAME = "t-sage--color-blue-100"
Expand Down Expand Up @@ -57,9 +54,9 @@ module SageDictionary
SD_SAGE_COLOR_BASE_BLUE_950_HEX = "#172554"
SD_SAGE_COLOR_BASE_BLUE_950_CODE = "blue-950"
SD_SAGE_COLOR_BASE_BLUE_950_CLASSNAME = "t-sage--color-blue-950"
SD_SAGE_COLOR_BASE_GREEN_50_HEX = "#fbfefc"
SD_SAGE_COLOR_BASE_GREEN_50_CODE = "green-50"
SD_SAGE_COLOR_BASE_GREEN_50_CLASSNAME = "t-sage--color-green-50"
SD_SAGE_COLOR_BASE_BLUE_050_HEX = "#fafcff"
SD_SAGE_COLOR_BASE_BLUE_050_CODE = "blue-050"
SD_SAGE_COLOR_BASE_BLUE_050_CLASSNAME = "t-sage--color-blue-050"
SD_SAGE_COLOR_BASE_GREEN_100_HEX = "#edfcf2"
SD_SAGE_COLOR_BASE_GREEN_100_CODE = "green-100"
SD_SAGE_COLOR_BASE_GREEN_100_CLASSNAME = "t-sage--color-green-100"
Expand Down Expand Up @@ -93,9 +90,9 @@ module SageDictionary
SD_SAGE_COLOR_BASE_GREEN_950_HEX = "#052e1c"
SD_SAGE_COLOR_BASE_GREEN_950_CODE = "green-950"
SD_SAGE_COLOR_BASE_GREEN_950_CLASSNAME = "t-sage--color-green-950"
SD_SAGE_COLOR_BASE_MERCURY_50_HEX = "#fffcfa"
SD_SAGE_COLOR_BASE_MERCURY_50_CODE = "mercury-50"
SD_SAGE_COLOR_BASE_MERCURY_50_CLASSNAME = "t-sage--color-mercury-50"
SD_SAGE_COLOR_BASE_GREEN_050_HEX = "#fbfefc"
SD_SAGE_COLOR_BASE_GREEN_050_CODE = "green-050"
SD_SAGE_COLOR_BASE_GREEN_050_CLASSNAME = "t-sage--color-green-050"
SD_SAGE_COLOR_BASE_MERCURY_100_HEX = "#fff3ed"
SD_SAGE_COLOR_BASE_MERCURY_100_CODE = "mercury-100"
SD_SAGE_COLOR_BASE_MERCURY_100_CLASSNAME = "t-sage--color-mercury-100"
Expand Down Expand Up @@ -129,6 +126,9 @@ module SageDictionary
SD_SAGE_COLOR_BASE_MERCURY_950_HEX = "#450506"
SD_SAGE_COLOR_BASE_MERCURY_950_CODE = "mercury-950"
SD_SAGE_COLOR_BASE_MERCURY_950_CLASSNAME = "t-sage--color-mercury-950"
SD_SAGE_COLOR_BASE_MERCURY_050_HEX = "#fffcfa"
SD_SAGE_COLOR_BASE_MERCURY_050_CODE = "mercury-050"
SD_SAGE_COLOR_BASE_MERCURY_050_CLASSNAME = "t-sage--color-mercury-050"
SD_SAGE_COLOR_BASE_PRIMARY_100_HEX = "#dbe9fe"
SD_SAGE_COLOR_BASE_PRIMARY_100_CODE = "primary-100"
SD_SAGE_COLOR_BASE_PRIMARY_100_CLASSNAME = "t-sage--color-primary-100"
Expand Down Expand Up @@ -159,9 +159,6 @@ module SageDictionary
SD_SAGE_COLOR_BASE_SAGE_500_HEX = "#052e1c"
SD_SAGE_COLOR_BASE_SAGE_500_CODE = "sage-500"
SD_SAGE_COLOR_BASE_SAGE_500_CLASSNAME = "t-sage--color-sage-500"
SD_SAGE_COLOR_BASE_YELLOW_50_HEX = "#fffefa"
SD_SAGE_COLOR_BASE_YELLOW_50_CODE = "yellow-50"
SD_SAGE_COLOR_BASE_YELLOW_50_CLASSNAME = "t-sage--color-yellow-50"
SD_SAGE_COLOR_BASE_YELLOW_100_HEX = "#fffbeb"
SD_SAGE_COLOR_BASE_YELLOW_100_CODE = "yellow-100"
SD_SAGE_COLOR_BASE_YELLOW_100_CLASSNAME = "t-sage--color-yellow-100"
Expand Down Expand Up @@ -195,9 +192,9 @@ module SageDictionary
SD_SAGE_COLOR_BASE_YELLOW_950_HEX = "#451902"
SD_SAGE_COLOR_BASE_YELLOW_950_CODE = "yellow-950"
SD_SAGE_COLOR_BASE_YELLOW_950_CLASSNAME = "t-sage--color-yellow-950"
SD_SAGE_COLOR_BASE_RED_50_HEX = "#fffafa"
SD_SAGE_COLOR_BASE_RED_50_CODE = "red-50"
SD_SAGE_COLOR_BASE_RED_50_CLASSNAME = "t-sage--color-red-50"
SD_SAGE_COLOR_BASE_YELLOW_050_HEX = "#fffefa"
SD_SAGE_COLOR_BASE_YELLOW_050_CODE = "yellow-050"
SD_SAGE_COLOR_BASE_YELLOW_050_CLASSNAME = "t-sage--color-yellow-050"
SD_SAGE_COLOR_BASE_RED_100_HEX = "#fef2f2"
SD_SAGE_COLOR_BASE_RED_100_CODE = "red-100"
SD_SAGE_COLOR_BASE_RED_100_CLASSNAME = "t-sage--color-red-100"
Expand Down Expand Up @@ -231,6 +228,9 @@ module SageDictionary
SD_SAGE_COLOR_BASE_RED_950_HEX = "#572627"
SD_SAGE_COLOR_BASE_RED_950_CODE = "red-950"
SD_SAGE_COLOR_BASE_RED_950_CLASSNAME = "t-sage--color-red-950"
SD_SAGE_COLOR_BASE_RED_050_HEX = "#fffafa"
SD_SAGE_COLOR_BASE_RED_050_CODE = "red-050"
SD_SAGE_COLOR_BASE_RED_050_CLASSNAME = "t-sage--color-red-050"
SD_SAGE_COLOR_BASE_ORANGE_100_HEX = "#ffe3d4"
SD_SAGE_COLOR_BASE_ORANGE_100_CODE = "orange-100"
SD_SAGE_COLOR_BASE_ORANGE_100_CLASSNAME = "t-sage--color-orange-100"
Expand All @@ -246,9 +246,6 @@ module SageDictionary
SD_SAGE_COLOR_BASE_ORANGE_500_HEX = "#450506"
SD_SAGE_COLOR_BASE_ORANGE_500_CODE = "orange-500"
SD_SAGE_COLOR_BASE_ORANGE_500_CLASSNAME = "t-sage--color-orange-500"
SD_SAGE_COLOR_BASE_PURPLE_50_HEX = "#fafbff"
SD_SAGE_COLOR_BASE_PURPLE_50_CODE = "purple-50"
SD_SAGE_COLOR_BASE_PURPLE_50_CLASSNAME = "t-sage--color-purple-50"
SD_SAGE_COLOR_BASE_PURPLE_100_HEX = "#edf1ff"
SD_SAGE_COLOR_BASE_PURPLE_100_CODE = "purple-100"
SD_SAGE_COLOR_BASE_PURPLE_100_CLASSNAME = "t-sage--color-purple-100"
Expand Down Expand Up @@ -282,6 +279,9 @@ module SageDictionary
SD_SAGE_COLOR_BASE_PURPLE_950_HEX = "#221b4b"
SD_SAGE_COLOR_BASE_PURPLE_950_CODE = "purple-950"
SD_SAGE_COLOR_BASE_PURPLE_950_CLASSNAME = "t-sage--color-purple-950"
SD_SAGE_COLOR_BASE_PURPLE_050_HEX = "#fafbff"
SD_SAGE_COLOR_BASE_PURPLE_050_CODE = "purple-050"
SD_SAGE_COLOR_BASE_PURPLE_050_CLASSNAME = "t-sage--color-purple-050"
SD_SAGE_COLOR_BASE_CHARCOAL_100_HEX = "#828180"
SD_SAGE_COLOR_BASE_CHARCOAL_100_CODE = "charcoal-100"
SD_SAGE_COLOR_BASE_CHARCOAL_100_CLASSNAME = "t-sage--color-charcoal-100"
Expand All @@ -297,9 +297,6 @@ module SageDictionary
SD_SAGE_COLOR_BASE_CHARCOAL_500_HEX = "#1a1a19"
SD_SAGE_COLOR_BASE_CHARCOAL_500_CODE = "charcoal-500"
SD_SAGE_COLOR_BASE_CHARCOAL_500_CLASSNAME = "t-sage--color-charcoal-500"
SD_SAGE_COLOR_BASE_GREY_50_HEX = "#fcfcfc"
SD_SAGE_COLOR_BASE_GREY_50_CODE = "grey-50"
SD_SAGE_COLOR_BASE_GREY_50_CLASSNAME = "t-sage--color-grey-50"
SD_SAGE_COLOR_BASE_GREY_100_HEX = "#f8f8f8"
SD_SAGE_COLOR_BASE_GREY_100_CODE = "grey-100"
SD_SAGE_COLOR_BASE_GREY_100_CLASSNAME = "t-sage--color-grey-100"
Expand Down Expand Up @@ -333,6 +330,9 @@ module SageDictionary
SD_SAGE_COLOR_BASE_GREY_950_HEX = "#1a1a19"
SD_SAGE_COLOR_BASE_GREY_950_CODE = "grey-950"
SD_SAGE_COLOR_BASE_GREY_950_CLASSNAME = "t-sage--color-grey-950"
SD_SAGE_COLOR_BASE_GREY_050_HEX = "#fcfcfc"
SD_SAGE_COLOR_BASE_GREY_050_CODE = "grey-050"
SD_SAGE_COLOR_BASE_GREY_050_CLASSNAME = "t-sage--color-grey-050"
SD_SAGE_COLOR_BASE_WHITE_100_HEX = "#fff"
SD_SAGE_COLOR_BASE_WHITE_100_CODE = "white-100"
SD_SAGE_COLOR_BASE_WHITE_100_CLASSNAME = "t-sage--color-white-100"
Expand Down Expand Up @@ -369,11 +369,6 @@ module SageDictionary
#
SD_SAGE_COLOR = {
"BLUE": {
"50": {
"HEX": SD_SAGE_COLOR_BASE_BLUE_50_HEX,
"CODE": SD_SAGE_COLOR_BASE_BLUE_50_CODE,
"CLASSNAME": SD_SAGE_COLOR_BASE_BLUE_50_CLASSNAME,
},
"100": {
"HEX": SD_SAGE_COLOR_BASE_BLUE_100_HEX,
"CODE": SD_SAGE_COLOR_BASE_BLUE_100_CODE,
Expand Down Expand Up @@ -429,13 +424,13 @@ module SageDictionary
"CODE": SD_SAGE_COLOR_BASE_BLUE_950_CODE,
"CLASSNAME": SD_SAGE_COLOR_BASE_BLUE_950_CLASSNAME,
},
"050": {
"HEX": SD_SAGE_COLOR_BASE_BLUE_050_HEX,
"CODE": SD_SAGE_COLOR_BASE_BLUE_050_CODE,
"CLASSNAME": SD_SAGE_COLOR_BASE_BLUE_050_CLASSNAME,
},
},
"GREEN": {
"50": {
"HEX": SD_SAGE_COLOR_BASE_GREEN_50_HEX,
"CODE": SD_SAGE_COLOR_BASE_GREEN_50_CODE,
"CLASSNAME": SD_SAGE_COLOR_BASE_GREEN_50_CLASSNAME,
},
"100": {
"HEX": SD_SAGE_COLOR_BASE_GREEN_100_HEX,
"CODE": SD_SAGE_COLOR_BASE_GREEN_100_CODE,
Expand Down Expand Up @@ -491,13 +486,13 @@ module SageDictionary
"CODE": SD_SAGE_COLOR_BASE_GREEN_950_CODE,
"CLASSNAME": SD_SAGE_COLOR_BASE_GREEN_950_CLASSNAME,
},
"050": {
"HEX": SD_SAGE_COLOR_BASE_GREEN_050_HEX,
"CODE": SD_SAGE_COLOR_BASE_GREEN_050_CODE,
"CLASSNAME": SD_SAGE_COLOR_BASE_GREEN_050_CLASSNAME,
},
},
"MERCURY": {
"50": {
"HEX": SD_SAGE_COLOR_BASE_MERCURY_50_HEX,
"CODE": SD_SAGE_COLOR_BASE_MERCURY_50_CODE,
"CLASSNAME": SD_SAGE_COLOR_BASE_MERCURY_50_CLASSNAME,
},
"100": {
"HEX": SD_SAGE_COLOR_BASE_MERCURY_100_HEX,
"CODE": SD_SAGE_COLOR_BASE_MERCURY_100_CODE,
Expand Down Expand Up @@ -553,6 +548,11 @@ module SageDictionary
"CODE": SD_SAGE_COLOR_BASE_MERCURY_950_CODE,
"CLASSNAME": SD_SAGE_COLOR_BASE_MERCURY_950_CLASSNAME,
},
"050": {
"HEX": SD_SAGE_COLOR_BASE_MERCURY_050_HEX,
"CODE": SD_SAGE_COLOR_BASE_MERCURY_050_CODE,
"CLASSNAME": SD_SAGE_COLOR_BASE_MERCURY_050_CLASSNAME,
},
},
"PRIMARY": {
"100": {
Expand Down Expand Up @@ -609,11 +609,6 @@ module SageDictionary
},
},
"YELLOW": {
"50": {
"HEX": SD_SAGE_COLOR_BASE_YELLOW_50_HEX,
"CODE": SD_SAGE_COLOR_BASE_YELLOW_50_CODE,
"CLASSNAME": SD_SAGE_COLOR_BASE_YELLOW_50_CLASSNAME,
},
"100": {
"HEX": SD_SAGE_COLOR_BASE_YELLOW_100_HEX,
"CODE": SD_SAGE_COLOR_BASE_YELLOW_100_CODE,
Expand Down Expand Up @@ -669,13 +664,13 @@ module SageDictionary
"CODE": SD_SAGE_COLOR_BASE_YELLOW_950_CODE,
"CLASSNAME": SD_SAGE_COLOR_BASE_YELLOW_950_CLASSNAME,
},
"050": {
"HEX": SD_SAGE_COLOR_BASE_YELLOW_050_HEX,
"CODE": SD_SAGE_COLOR_BASE_YELLOW_050_CODE,
"CLASSNAME": SD_SAGE_COLOR_BASE_YELLOW_050_CLASSNAME,
},
},
"RED": {
"50": {
"HEX": SD_SAGE_COLOR_BASE_RED_50_HEX,
"CODE": SD_SAGE_COLOR_BASE_RED_50_CODE,
"CLASSNAME": SD_SAGE_COLOR_BASE_RED_50_CLASSNAME,
},
"100": {
"HEX": SD_SAGE_COLOR_BASE_RED_100_HEX,
"CODE": SD_SAGE_COLOR_BASE_RED_100_CODE,
Expand Down Expand Up @@ -731,6 +726,11 @@ module SageDictionary
"CODE": SD_SAGE_COLOR_BASE_RED_950_CODE,
"CLASSNAME": SD_SAGE_COLOR_BASE_RED_950_CLASSNAME,
},
"050": {
"HEX": SD_SAGE_COLOR_BASE_RED_050_HEX,
"CODE": SD_SAGE_COLOR_BASE_RED_050_CODE,
"CLASSNAME": SD_SAGE_COLOR_BASE_RED_050_CLASSNAME,
},
},
"ORANGE": {
"100": {
Expand Down Expand Up @@ -760,11 +760,6 @@ module SageDictionary
},
},
"PURPLE": {
"50": {
"HEX": SD_SAGE_COLOR_BASE_PURPLE_50_HEX,
"CODE": SD_SAGE_COLOR_BASE_PURPLE_50_CODE,
"CLASSNAME": SD_SAGE_COLOR_BASE_PURPLE_50_CLASSNAME,
},
"100": {
"HEX": SD_SAGE_COLOR_BASE_PURPLE_100_HEX,
"CODE": SD_SAGE_COLOR_BASE_PURPLE_100_CODE,
Expand Down Expand Up @@ -820,6 +815,11 @@ module SageDictionary
"CODE": SD_SAGE_COLOR_BASE_PURPLE_950_CODE,
"CLASSNAME": SD_SAGE_COLOR_BASE_PURPLE_950_CLASSNAME,
},
"050": {
"HEX": SD_SAGE_COLOR_BASE_PURPLE_050_HEX,
"CODE": SD_SAGE_COLOR_BASE_PURPLE_050_CODE,
"CLASSNAME": SD_SAGE_COLOR_BASE_PURPLE_050_CLASSNAME,
},
},
"CHARCOAL": {
"100": {
Expand Down Expand Up @@ -849,11 +849,6 @@ module SageDictionary
},
},
"GREY": {
"50": {
"HEX": SD_SAGE_COLOR_BASE_GREY_50_HEX,
"CODE": SD_SAGE_COLOR_BASE_GREY_50_CODE,
"CLASSNAME": SD_SAGE_COLOR_BASE_GREY_50_CLASSNAME,
},
"100": {
"HEX": SD_SAGE_COLOR_BASE_GREY_100_HEX,
"CODE": SD_SAGE_COLOR_BASE_GREY_100_CODE,
Expand Down Expand Up @@ -909,6 +904,11 @@ module SageDictionary
"CODE": SD_SAGE_COLOR_BASE_GREY_950_CODE,
"CLASSNAME": SD_SAGE_COLOR_BASE_GREY_950_CLASSNAME,
},
"050": {
"HEX": SD_SAGE_COLOR_BASE_GREY_050_HEX,
"CODE": SD_SAGE_COLOR_BASE_GREY_050_CODE,
"CLASSNAME": SD_SAGE_COLOR_BASE_GREY_050_CLASSNAME,
},
},
"WHITE": {
"100": {
Expand Down
Loading

0 comments on commit b4cdd08

Please sign in to comment.